Commit 938a79d0 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

KVM: arm64: Validate FGT register descriptions against RES0 masks



In order to point out to the unsuspecting KVM hacker that they
are missing something somewhere, validate that the known FGT bits
do not intersect with the corresponding RES0 mask, as computed at
boot time.

THis check is also performed at boot time, ensuring that there is
no runtime overhead.

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