]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drivers/virt: pkvm: Add Kconfig dependency on DMA_RESTRICTED_POOL
authorWill Deacon <will@kernel.org>
Mon, 30 Mar 2026 14:48:39 +0000 (15:48 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 30 Mar 2026 15:58:09 +0000 (16:58 +0100)
commit61135967fa76d37883d90ccccc5a1cb73e90b94d
tree4e5209726548e1ec840e6c0705d21dfe13997fda
parent5bae7bc6360a7297e0be2c37017fe863b965646d
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: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Link: https://patch.msgid.link/20260330144841.26181-39-will@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
drivers/virt/coco/pkvm-guest/Kconfig