KVM: arm64: Trap external trace for protected VMs
authorFuad Tabba <tabba@google.com>
Thu, 14 Dec 2023 10:01:57 +0000 (10:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 18 Dec 2023 11:25:51 +0000 (11:25 +0000)
commit9d52612690985fc0ee1ae1fbad61530a4f6bbb53
tree9552fbd32c1e280bd1dc798546baed51e90fc09c
parent21de26dbc5170dde8e4dfbfa1ecb77804ed6a377
KVM: arm64: Trap external trace for protected VMs

pKVM does not support external trace for protected VMs. Trap
external trace, and add the ExtTrcBuff to make it possible to
check for the feature.

Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231214100158.2305400-18-tabba@google.com
arch/arm64/kvm/hyp/nvhe/pkvm.c