KVM: arm64: Simplify masking out MTE in feature id reg
authorFuad Tabba <tabba@google.com>
Sun, 10 Oct 2021 14:56:31 +0000 (15:56 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 11 Oct 2021 13:57:29 +0000 (14:57 +0100)
commit16dd1fbb12f72effcd3539561c2a94aed3ab6581
treeb02d64bf8d454d9710e54745599aabb130e88f9b
parent53868390778270f2890621f4498a53587719a3ff
KVM: arm64: Simplify masking out MTE in feature id reg

Simplify code for hiding MTE support in feature id register when
MTE is not enabled/supported by KVM.

No functional change intended.

Signed-off-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211010145636.1950948-7-tabba@google.com
arch/arm64/kvm/sys_regs.c