• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
2
3config GUNYAH
4	tristate "Gunyah Virtualization drivers"
5	depends on ARM64
6	depends on MAILBOX
7	select GUNYAH_PLATFORM_HOOKS
8	select AUXILIARY_BUS
9	imply GUNYAH_QCOM_PLATFORM if ARCH_QCOM
10	help
11	  The Gunyah drivers are the helper interfaces that run in a guest VM
12	  such as basic inter-VM IPC and signaling mechanisms, and higher level
13	  services such as memory/device sharing, IRQ sharing, and so on.
14
15	  Say Y/M here to enable the drivers needed to interact in a Gunyah
16	  virtual environment.
17
18config GUNYAH_PLATFORM_HOOKS
19	tristate
20
21config GUNYAH_QCOM_PLATFORM
22	tristate "Support for Gunyah on Qualcomm platforms"
23	depends on GUNYAH
24	select GUNYAH_PLATFORM_HOOKS
25	select QCOM_SCM
26	help
27	  Enable support for interacting with Gunyah on Qualcomm
28	  platforms. Interaction with Qualcomm firmware requires
29	  extra platform-specific support.
30
31	  Say Y/M here to use Gunyah on Qualcomm platforms.
32
33config GUNYAH_VCPU
34	tristate "Runnable Gunyah vCPUs"
35	depends on GUNYAH
36	help
37	  Enable kernel support for host-scheduled vCPUs running under Gunyah.
38	  When selecting this option, userspace virtual machine managers (VMM)
39	  can schedule the guest VM's vCPUs instead of using Gunyah's scheduler.
40	  VMMs can also handle stage 2 faults of the vCPUs.
41
42	  Say Y/M here if unsure and you want to support Gunyah VMMs.
43
44config GUNYAH_IRQFD
45	tristate "Gunyah irqfd interface"
46	depends on GUNYAH
47	help
48	  Enable kernel support for creating irqfds which can raise an interrupt
49	  on Gunyah virtual machine.
50
51	  Say Y/M here if unsure and you want to support Gunyah VMMs.
52
53config GUNYAH_IOEVENTFD
54	tristate "Gunyah ioeventfd interface"
55	depends on GUNYAH
56	help
57	  Enable kernel support for creating ioeventfds which can alert userspace
58	  when a Gunyah virtual machine accesses a memory address.
59
60	  Say Y/M here if unsure and you want to support Gunyah VMMs.
61