]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Fix RAS trapping in pKVM for protected VMs
authorFuad Tabba <tabba@google.com>
Mon, 16 Dec 2024 10:50:47 +0000 (10:50 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Dec 2024 13:52:58 +0000 (13:52 +0000)
commit9df9186f8df513dc9bf9f95f68525c7ebc941bcd
treebfbd8c46cf96eb10cb65aef5744e39880c10e635
parent7ba5b8f80475e48b486f095ee9fb67dc9f9d02df
KVM: arm64: Fix RAS trapping in pKVM for protected VMs

Trap RAS in pKVM if not supported at all for protected VMs. The
RAS version doesn't matter in this case.

Fixes: 2a0c343386ae ("KVM: arm64: Initialize trap registers for protected VMs")
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20241216105057.579031-8-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp/nvhe/pkvm.c