OSDN Git Service

target/ppc: Add POWER9 DD2.2 model
authorNicholas Piggin <npiggin@gmail.com>
Mon, 15 May 2023 16:02:01 +0000 (02:02 +1000)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Sun, 28 May 2023 16:25:11 +0000 (13:25 -0300)
commit277ee17212f0ac965d1fb7d65d8f938a790229ad
tree7372b26d266c5190a3e3d9d498f1585bafc5c066
parent03ec9d9d22bb7ec81f35c1c34249d2989e7a74b4
target/ppc: Add POWER9 DD2.2 model

POWER9 DD2.1 and earlier had significant limitations when running KVM,
including lack of "mixed mode" MMU support (ability to run HPT and RPT
mode on threads of the same core), and a translation prefetch issue
which is worked around by disabling "AIL" mode for the guest.

These processors are not widely available, and it's difficult to deal
with all these quirks in qemu +/- KVM, so create a POWER9 DD2.2 CPU
and make it the default POWER9 CPU.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-Id: <20230515160201.394587-1-npiggin@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/pnv.c
hw/ppc/pnv_core.c
hw/ppc/spapr.c
hw/ppc/spapr_cpu_core.c
include/hw/ppc/pnv.h
target/ppc/cpu-models.c
target/ppc/cpu-models.h
target/ppc/cpu_init.c
tests/qtest/device-plug-test.c