]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: arm64: Group setting traps for protected VMs by control register
authorFuad Tabba <tabba@google.com>
Fri, 20 Dec 2024 11:33:05 +0000 (11:33 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Dec 2024 13:45:21 +0000 (13:45 +0000)
commitf50758260bfff393f2a800469b37c45a7ef50376
tree534d1e6b7b6d46bc835ff6c0116abd1149d0cb7a
parent2589dbd72797a4163dd998b05c4663ff98bd0771
KVM: arm64: Group setting traps for protected VMs by control register

Group setting protected VM traps by control register rather than
feature id register, since some trap values (e.g., PAuth), depend
on more than one feature id register.

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