diff options
author | Marc Zyngier <maz@kernel.org> | 2022-05-04 10:42:45 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-05-04 10:42:45 +0200 |
commit | d25f30fe41ee70c38b75067936cdcbe0b3a2b6ec (patch) | |
tree | e4889909d89fbef053ae9b112616f1a37c685090 /arch/arm64/kvm/handle_exit.c | |
parent | Merge branch kvm-arm64/hyp-stack-guard into kvmarm-master/next (diff) | |
parent | KVM: arm64: Fix new instances of 32bit ESRs (diff) | |
download | linux-d25f30fe41ee70c38b75067936cdcbe0b3a2b6ec.tar.xz linux-d25f30fe41ee70c38b75067936cdcbe0b3a2b6ec.zip |
Merge branch kvm-arm64/aarch32-idreg-trap into kvmarm-master/next
* kvm-arm64/aarch32-idreg-trap:
: .
: Add trapping/sanitising infrastructure for AArch32 systen registers,
: allowing more control over what we actually expose (such as the PMU).
:
: Patches courtesy of Oliver and Alexandru.
: .
KVM: arm64: Fix new instances of 32bit ESRs
KVM: arm64: Hide AArch32 PMU registers when not available
KVM: arm64: Start trapping ID registers for 32 bit guests
KVM: arm64: Plumb cp10 ID traps through the AArch64 sysreg handler
KVM: arm64: Wire up CP15 feature registers to their AArch64 equivalents
KVM: arm64: Don't write to Rt unless sys_reg emulation succeeds
KVM: arm64: Return a bool from emulate_cp()
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/handle_exit.c')
-rw-r--r-- | arch/arm64/kvm/handle_exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kvm/handle_exit.c b/arch/arm64/kvm/handle_exit.c index c9f1310e2e5f..2ebebd3efaee 100644 --- a/arch/arm64/kvm/handle_exit.c +++ b/arch/arm64/kvm/handle_exit.c @@ -194,6 +194,7 @@ static exit_handle_fn arm_exit_handlers[] = { [ESR_ELx_EC_CP15_64] = kvm_handle_cp15_64, [ESR_ELx_EC_CP14_MR] = kvm_handle_cp14_32, [ESR_ELx_EC_CP14_LS] = kvm_handle_cp14_load_store, + [ESR_ELx_EC_CP10_ID] = kvm_handle_cp10_id, [ESR_ELx_EC_CP14_64] = kvm_handle_cp14_64, [ESR_ELx_EC_HVC32] = handle_hvc, [ESR_ELx_EC_SMC32] = handle_smc, |