ANDROID: virt: gunyah: Separate the gunyah_hypercall config symbol

Gunyah-aware confidential compute guest virtual machines don't need the
code to launch virtual machines, but still need to make hypercalls.
Split the gunyah_hypercall module into a separate Kconfig symbol which
can be selected by the guest module.

Bug: 395833312
Change-Id: Ic2ec7248bd7a85d09a4769b8d74090426b2f56b7
Signed-off-by: Elliot Berman <elliot.berman@oss.qualcomm.com>
This commit is contained in:
Elliot Berman
2025-01-24 13:51:35 -08:00
committed by Todd Kjos
parent d3c5649103
commit aecad32996
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ obj-y += kernel/ mm/ net/
obj-$(CONFIG_KVM) += kvm/
obj-$(CONFIG_XEN) += xen/
obj-$(subst m,y,$(CONFIG_HYPERV)) += hyperv/
obj-$(CONFIG_GUNYAH) += gunyah/
obj-$(CONFIG_GUNYAH_HYPERCALLS) += gunyah/
obj-$(CONFIG_CRYPTO) += crypto/
obj-$(CONFIG_MTK_GZVM) += geniezone/
+1 -1
View File
@@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_GUNYAH) += gunyah_hypercall.o
obj-$(CONFIG_GUNYAH_HYPERCALLS) += gunyah_hypercall.o
+4
View File
@@ -1,11 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-only
config GUNYAH_HYPERCALLS
tristate
config GUNYAH
tristate "Gunyah Virtualization drivers"
depends on ARM64
select GUNYAH_PLATFORM_HOOKS
select AUXILIARY_BUS
imply GUNYAH_QCOM_PLATFORM if ARCH_QCOM
select GUNYAH_HYPERCALLS
help
The Gunyah drivers are the helper interfaces that run in a guest VM
such as basic inter-VM IPC and signaling mechanisms, and higher level