Commit 61135967 authored by Will Deacon's avatar Will Deacon Committed by Marc Zyngier
Browse files

drivers/virt: pkvm: Add Kconfig dependency on DMA_RESTRICTED_POOL



pKVM guests practically rely on CONFIG_DMA_RESTRICTED_POOL=y in order
to establish shared memory regions with the host for virtio buffers.

Make CONFIG_ARM_PKVM_GUEST depend on CONFIG_DMA_RESTRICTED_POOL to avoid
the inevitable segmentation faults experience if you have the former but
not the latter.

Reported-by: default avatarMarc Zyngier <maz@kernel.org>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
Link: https://patch.msgid.link/20260330144841.26181-39-will@kernel.org


Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent 5bae7bc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
config ARM_PKVM_GUEST
	bool "Arm pKVM protected guest driver"
	depends on ARM64
	depends on ARM64 && DMA_RESTRICTED_POOL
	help
	  Protected guests running under the pKVM hypervisor on arm64
	  are isolated from the host and must issue hypercalls to enable