Commit 7101bd29 authored by Fuad Tabba's avatar Fuad Tabba
Browse files

UPSTREAM: KVM: arm64: Explicitly trap unsupported HFGxTR_EL2 features



Do not rely on the value of __HFGRTR_EL2_nMASK to trap
unsupported features, since the nMASK can (and will) change as
new traps are added and as its value is updated. Instead,
explicitly specify the trap bits.

Suggested-by: default avatarJoey Gouly <joey.gouly@arm.com>
Bug: 278749606
Change-Id: Ie25a92b788afb18a67446d671dcb039ea84048ea
Signed-off-by: default avatarFuad Tabba <tabba@google.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231214100158.2305400-6-tabba@google.com
(cherry picked from commit 1565c881)
parent 29ef787e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment