]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Use KVM extension checks for allowed protected VM capabilities
authorFuad Tabba <tabba@google.com>
Mon, 16 Dec 2024 10:50:45 +0000 (10:50 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Dec 2024 13:45:25 +0000 (13:45 +0000)
commita3163dca4817e9a30b154a14c793641e39a00592
treea21fb8f953e844b2fd0d3dccd6cf34f8098aee13
parent27f5cf8ad5224033a711aef3fde90b60c9a8d7d5
KVM: arm64: Use KVM extension checks for allowed protected VM capabilities

Use KVM extension checks as the source for determining which
capabilities are allowed for protected VMs. KVM extension checks
is the natural place for this, since it is also the interface
exposed to users.

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