diff options
author | Aditya Gupta <adityag@linux.ibm.com> | 2024-07-31 11:20:19 +0530 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2024-11-04 09:10:39 +1000 |
commit | c0b2f0dd6ba71cc4e31d92eb0f8571a4b37d3853 (patch) | |
tree | 7cc08d4ea047d62a566d5a9fc46dc58b65829920 /target/ppc/cpu-models.c | |
parent | f41e7f7694b34e710b4d78947825734f0727683a (diff) | |
download | qemu-c0b2f0dd6ba71cc4e31d92eb0f8571a4b37d3853.zip qemu-c0b2f0dd6ba71cc4e31d92eb0f8571a4b37d3853.tar.gz qemu-c0b2f0dd6ba71cc4e31d92eb0f8571a4b37d3853.tar.bz2 |
target/ppc: Introduce 'PowerPCCPUClass::spapr_logical_pvr'
Introduce 'PnvChipClass::spapr_logical_pvr' to know corresponding logical
PVR of a PowerPC CPU.
This helps to have a one-to-one mapping between PVR and logical PVR for
a CPU, and used in a later commit to handle cases where PCR of two
generations of Power chip is same, which causes regressions with
compat-mode.
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Aditya Gupta <adityag@linux.ibm.com>
Tested-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'target/ppc/cpu-models.c')
0 files changed, 0 insertions, 0 deletions