KVM: arm64: Expose KVM_ARM_CAP_MTE
authorSteven Price <steven.price@arm.com>
Mon, 21 Jun 2021 11:17:14 +0000 (12:17 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 22 Jun 2021 13:08:06 +0000 (14:08 +0100)
commit673638f434ee4a00319e254ade338c57618d6f7e
treeab92e5e123706b8fb12e9fb5f4cd26c0dc3ee487
parente1f358b5046479d2897f23b1d5b092687c6e7a67
KVM: arm64: Expose KVM_ARM_CAP_MTE

It's now safe for the VMM to enable MTE in a guest, so expose the
capability to user space.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210621111716.37157-5-steven.price@arm.com
arch/arm64/kvm/arm.c
arch/arm64/kvm/reset.c
arch/arm64/kvm/sys_regs.c