aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/cpu-models.c
diff options
context:
space:
mode:
authorAditya Gupta <adityag@linux.ibm.com>2024-07-31 11:20:19 +0530
committerNicholas Piggin <npiggin@gmail.com>2024-11-04 09:10:39 +1000
commitc0b2f0dd6ba71cc4e31d92eb0f8571a4b37d3853 (patch)
tree7cc08d4ea047d62a566d5a9fc46dc58b65829920 /target/ppc/cpu-models.c
parentf41e7f7694b34e710b4d78947825734f0727683a (diff)
downloadqemu-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