Files
Prakruthi Deepak Heragu ca44b02c02 ANDROID: gunyah: qtvm: Support for Qualcomm Trusted Virtual Machines
Qualcomm Trusted Virtual Machine (QTVM) are VMs that are authenticated by
Qualcomm firmware before the VM starts. The firmware also defines the
VM's image layout. Additionally, each QTVM comes with a reserved VM ID.
Introduce an IOCTL to allow VMMs to configure a QTVM and this driver will
handle the setup for QTVMs.

Bug: 399219478
Change-Id: Ia3fe74a46c0e53134b9b4b10fa59bcaa8f376c87
Signed-off-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
2025-03-20 23:38:59 -07:00

63 lines
1.8 KiB
Plaintext

# 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
services such as memory/device sharing, IRQ sharing, and so on.
Say Y/M here to enable the drivers needed to interact in a Gunyah
virtual environment.
config GUNYAH_PLATFORM_HOOKS
tristate
config GUNYAH_QCOM_PLATFORM
tristate "Support for Gunyah on Qualcomm platforms"
depends on GUNYAH
select GUNYAH_PLATFORM_HOOKS
select QCOM_SCM
help
Enable support for interacting with Gunyah on Qualcomm
platforms. Interaction with Qualcomm firmware requires
extra platform-specific support.
Say Y/M here to use Gunyah on Qualcomm platforms.
config GUNYAH_IRQFD
tristate "Gunyah irqfd interface"
depends on GUNYAH
help
Enable kernel support for creating irqfds which can raise an interrupt
on Gunyah virtual machine.
Say Y/M here if unsure and you want to support Gunyah VMMs.
config GUNYAH_IOEVENTFD
tristate "Gunyah ioeventfd interface"
depends on GUNYAH
help
Enable kernel support for creating ioeventfds which can alert userspace
when a Gunyah virtual machine accesses a memory address.
Say Y/M here if unsure and you want to support Gunyah VMMs.
config GUNYAH_QCOM_TRUSTED_VM
tristate "Gunyah Qualcomm Trusted VM Support"
depends on GUNYAH
help
Enable kernel support for creating Qualcomm Trusted VMs.
They are a kind of protected VM which is authenticated by the
firmware.
Say Y/M here if unsure and you want to support QTVMs.