]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: pkvm: Disable GICv2 support
authorQuentin Perret <qperret@google.com>
Wed, 8 Dec 2021 15:22:55 +0000 (15:22 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 15 Dec 2021 14:16:28 +0000 (14:16 +0000)
commit4182bf4b7c756f2c65d419b488f2995e26eba41c
tree56d2799f8eff3cfeb2e27e7c3f2403fc2d9a598f
parentca679d51664f855cb0f7c0b43e0bc20b42b9b931
KVM: arm64: pkvm: Disable GICv2 support

GICv2 requires having device mappings in guests and the hypervisor,
which is incompatible with the current pKVM EL2 page ownership model
which only covers memory. While it would be desirable to support pKVM
with GICv2, this will require a lot more work, so let's make the
current assumption clear until then.

Co-developed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20211208152300.2478542-3-qperret@google.com
arch/arm64/kvm/vgic/vgic-v2.c
arch/arm64/kvm/vgic/vgic-v3.c