]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: arm64: Do not allow KVM_CAP_ARM_MTE for any guest in pKVM
authorFuad Tabba <tabba@google.com>
Thu, 11 Dec 2025 10:47:06 +0000 (10:47 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 15 Jan 2026 15:43:15 +0000 (15:43 +0000)
commitf4eee308c8f4013a52bd7d7735e64b5127c1b4a8
tree822f4824ae249c50ce0488a4b38074df97754983
parent43a21a0f0c4ab7de755f2cee2ff4700f26fe0bba
KVM: arm64: Do not allow KVM_CAP_ARM_MTE for any guest in pKVM

Supporting MTE in pKVM introduces significant complexity to the
hypervisor at EL2, even for non-protected VMs, since it would require
EL2 to handle tag management.

For now, do not allow KVM_CAP_ARM_MTE for any VM type in protected mode.

Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20251211104710.151771-7-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_pkvm.h