[Skiboot] [PATCH v2 7/7] Add base POWER9 support

Stewart Smith stewart at linux.vnet.ibm.com
Tue May 10 16:25:17 AEST 2016


Michael Neuling <mikey at neuling.org> writes:
> Add PVR detection, chip id and other misc bits for POWER9.

I also added the PVR to hdata/test/hdat_to_dt.c as it was missing. Due
to include/processor.h not being clean to include on non-ppc64, we just
duplicate the defines there. patches welcome to make it cleaner :)

> POWER9 changes the location of the HILE and attn enable bits in the
> HID0 register, so add these definitions also.

*why* they do this is a question that can be left until later...

>
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> ---
>  asm/head.S          |  2 ++
>  core/affinity.c     |  2 ++
>  core/chip.c         | 12 +++++++++---
>  core/cpu.c          | 12 ++++++++++++
>  hdata/cpu-common.c  |  3 +++
>  hw/xscom.c          | 18 ++++++++++++++----
>  include/chip.h      | 20 ++++++++++++++++++++
>  include/processor.h |  4 ++++
>  include/skiboot.h   |  1 +
>  9 files changed, 67 insertions(+), 7 deletions(-)

Merged to master as of 591feee

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list