Commit 092e7b2c authored by Fuad Tabba's avatar Fuad Tabba Committed by Marc Zyngier
Browse files

KVM: arm64: Remove redundant setting of HCR_EL2 trap bit



In hVHE mode, HCR_E2H should be set for both protected and
non-protected VMs. Since commit b56680de ("KVM: arm64:
Initialize trap register values in hyp in pKVM"), this has been
fixed, and the setting of the flag here is redundant.

Signed-off-by: default avatarFuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20241216105057.579031-12-tabba@google.com


Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent 81403c8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment