Commit b2a324ff authored by Marc Zyngier's avatar Marc Zyngier
Browse files

KVM: arm64: Use HCR_EL2 feature map to drive fixed-value bits



Similarly to other registers, describe which HCR_EL2 bit depends
on which feature, and use this to compute the RES0 status of these
bits.

An additional complexity stems from the status of some bits such
as E2H and RW, which do not had a RESx status, but still take
a fixed value due to implementation choices in KVM.

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