]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e5a3fbb7e41698977d865914fb5698b5a773ee1
treeb02d64bf8d454d9710e54745599aabb130e88f9b
parent2b5a1632cef4cf4ef3767804363ea569fcf63476
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