summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorSuraj Jitindar Singh2017-03-01 08:12:57 +0100
committerDavid Gibson2017-03-03 01:30:59 +0100
commit9b44c836dc37507513eb67cea862f82dafa249d8 (patch)
treef942c4afb8b3c1cc227a12e3544c5e60060c1415 /include/exec
parentMerge remote-tracking branch 'remotes/rth/tags/pull-tgt-20170302' into staging (diff)
downloadqemu-9b44c836dc37507513eb67cea862f82dafa249d8.tar.gz
qemu-9b44c836dc37507513eb67cea862f82dafa249d8.tar.xz
qemu-9b44c836dc37507513eb67cea862f82dafa249d8.zip
target/ppc: Add POWER9/ISAv3.00 to compat_table
compat_table contains the list of logical pvr compat modes which a cpu can operate in. It is a list of struct CompatInfo which contains the given pvr value for a compat mode, the pcr bits which should be set to operate in that compat mode, the pcr level which must be present in pcr_supported for a processor to support that compat mode and the max threads possible in that compat mode. Add an entry for the POWER9/ISAv3.00 logical pvr which represents a processor running with support for logical pvr 0x0f000005. A processor running in this mode should have PCR_COMPAT_3_00 set in the pcr (if available in pcr_mask) and should have PCR_COMPAT_3_00 in pcr_supported to indicate that it is capable of running in this compat mode. Also add PCR_COMPAT_3_00 to the bits which must be set for all previous compat modes. Since no processor models contain this bit yet in pcr_mask it will never be set, but this ensures we don't forget to in the future. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions