aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2022-05-03 06:02:02 +0000
committerMarc Zyngier <[email protected]>2022-05-03 11:14:34 +0100
commit9369bc5c5e35985f38d04bd98c6d28a032e84b17 (patch)
tree464983c7edc9a6f52eef313cc6f8dcd313eb895d /tools
parente65197666773f39e4378161925e5a1c7771cff29 (diff)
KVM: arm64: Plumb cp10 ID traps through the AArch64 sysreg handler
In order to enable HCR_EL2.TID3 for AArch32 guests KVM needs to handle traps where ESR_EL2.EC=0x8, which corresponds to an attempted VMRS access from an ID group register. Specifically, the MVFR{0-2} registers are accessed this way from AArch32. Conveniently, these registers are architecturally mapped to MVFR{0-2}_EL1 in AArch64. Furthermore, KVM already handles reads to these aliases in AArch64. Plumb VMRS read traps through to the general AArch64 system register handler. Signed-off-by: Oliver Upton <[email protected]> Reviewed-by: Reiji Watanabe <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions