commit | 8a632161ba8486d8a2173d7316ba4214e5754f58 | [log] [tgz] |
---|---|---|
author | Fuad Tabba <tabba@google.com> | Wed Aug 14 13:47:39 2024 +0100 |
committer | Fuad Tabba <tabba@google.com> | Tue Oct 08 12:57:28 2024 +0100 |
tree | 35c3a898dbd52cc6b161c4c4231023915e5e4bf4 | |
parent | 992d4157b30b841d23d4d087e75a679b4e611906 [diff] |
fixup! KVM: arm64: Fix initializing traps in protected mode
diff --git a/arch/arm64/kvm/hyp/nvhe/pkvm.c b/arch/arm64/kvm/hyp/nvhe/pkvm.c index d0dd186..06649e6 100644 --- a/arch/arm64/kvm/hyp/nvhe/pkvm.c +++ b/arch/arm64/kvm/hyp/nvhe/pkvm.c
@@ -69,9 +69,6 @@ static void pvm_init_traps_hcr(struct kvm_vcpu *vcpu) hcr_set |= HCR_RW; - if (has_hvhe()) - hcr_set |= HCR_E2H; - /* * Always trap: * - Feature id registers: to control features exposed to guests