ppc/pnv: Extend chip_pir class method to TIR as well
authorNicholas Piggin <npiggin@gmail.com>
Fri, 24 May 2024 01:54:09 +0000 (11:54 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:21:06 +0000 (09:21 +1000)
commit25de28220cedadac15021ec40047785f30e153fe
treed5df6273656edf57518654d9e261a0650a5f0f58
parentd76cb5a53b04d52db1500e83bd6bdfbfeca44e4d
ppc/pnv: Extend chip_pir class method to TIR as well

The chip_pir chip class method allows the platform to set the PIR
processor identification register. Extend this to a more general
ID function which also allows the TIR to be set. This is in
preparation for "big core", which is a more complicated topology
of cores and threads.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/pnv.c
hw/ppc/pnv_core.c
include/hw/ppc/pnv_chip.h