KVM: arm64: Define FGT nMASK bits relative to other fields
authorFuad Tabba <tabba@google.com>
Thu, 14 Dec 2023 10:01:53 +0000 (10:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 18 Dec 2023 11:25:51 +0000 (11:25 +0000)
commit5f6bd3f3daaaab8559ad7d2266ba38345231b7ae
tree86e28287d9f4d9e0fdd17da83197c3cff32d667b
parent9ff67dd26a9eed9d73dc23aa63e87b16b3382184
KVM: arm64: Define FGT nMASK bits relative to other fields

Now that RES0 and MASK have full coverage, no need to manually
encode nMASK. Calculate it relative to the other fields.

No functional change intended.

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