]> git.ipfire.org Git - thirdparty/linux.git/commit
drivers/virt: pkvm: Add initial support for running as a protected guest
authorWill Deacon <will@kernel.org>
Fri, 30 Aug 2024 13:01:45 +0000 (14:01 +0100)
committerWill Deacon <will@kernel.org>
Fri, 30 Aug 2024 15:30:41 +0000 (16:30 +0100)
commita06c3fad49a50d5d5eb078f93e70f4d3eca5d5a5
treede34d85241d786ccefe1b4a36e87e96ee6fe5504
parent0ba5b4ba61781f1eca843d9e5d499da329a8a275
drivers/virt: pkvm: Add initial support for running as a protected guest

Implement a pKVM protected guest driver to probe the presence of pKVM
and determine the memory protection granule using the HYP_MEMINFO
hypercall.

Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240830130150.8568-3-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/virt/kvm/arm/hypercalls.rst
arch/arm64/include/asm/hypervisor.h
drivers/virt/coco/Kconfig
drivers/virt/coco/Makefile
drivers/virt/coco/pkvm-guest/Kconfig [new file with mode: 0644]
drivers/virt/coco/pkvm-guest/Makefile [new file with mode: 0644]
drivers/virt/coco/pkvm-guest/arm-pkvm-guest.c [new file with mode: 0644]
include/linux/arm-smccc.h