KVM: arm64: Add build validation for FGT trap mask values
authorFuad Tabba <tabba@google.com>
Thu, 14 Dec 2023 10:01:51 +0000 (10:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 18 Dec 2023 11:25:51 +0000 (11:25 +0000)
commit6c4abbea6d9c09df448b43624074a208c38e68e0
tree39edb8b2021344ce2d8de6f7b2fb92e7804fec9e
parentfc04838f9c00fcbc90a8926bbd46928d6fb36477
KVM: arm64: Add build validation for FGT trap mask values

These checks help ensure that all the bits are accounted for,
that there hasn't been a transcribing error from the spec nor
from the generated mask values, which will be used in subsequent
patches.

Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231214100158.2305400-12-tabba@google.com
arch/arm64/kvm/hyp/include/hyp/switch.h