ppc/pnv: Implement big-core PVR for Power9/10
authorNicholas Piggin <npiggin@gmail.com>
Thu, 11 Jul 2024 08:37:25 +0000 (18:37 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:21:06 +0000 (09:21 +1000)
commit27f61d1b0b708b4659894cd0677f65ebed6eaa0b
tree1b9b85a8ff95718741994fe3cd244d7ebbd51912
parentcf0eb929e59cb9074db7b197bb6782a2a47dddda
ppc/pnv: Implement big-core PVR for Power9/10

Power9/10 CPUs have PVR[51] set in small-core mode and clear in big-core
mode. This is used by skiboot firmware.

PVR is not hypervisor-privileged but it is not so important that spapr
to implement this because it's generally masked out of PVR matching code
in kernels, and only used by firmware.

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