[Skiboot] [PATCH 0/2] improve ability to pass SPR defaults to Linux

Nicholas Piggin npiggin at gmail.com
Tue Oct 24 22:40:58 AEDT 2017


I htink we need to go in this direction to avoid putting knowledge
of implementation specific SPRs and defaults in Linux. This helps
compatibility of new hardware on older software, and also firmware
updates can adjust default SPR settings if necessary.

DSCR on POWER9 has motivated these patches, but there are other
reasons for it too. Also other registers (e.g., Linux may want to
adjust TSCR).

There is a corresponding Linux kernel patch I'll send to
linuxppc-dev.

Thanks,
Nick

Nicholas Piggin (2):
  asm/head: initialize preferred DSCR value
  cpu: Unconditionally re-initialise SPRs in opal_reinit_cpus()

 asm/head.S          | 22 +++++++++++++++++++---
 core/cpu.c          |  7 +++++++
 include/processor.h |  1 +
 3 files changed, 27 insertions(+), 3 deletions(-)

-- 
2.13.3



More information about the Skiboot mailing list