devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/6] GenieZone hypervisor drivers
@ 2023-04-13  9:07 Yi-De Wu
  2023-04-13  9:07 ` [PATCH v1 1/6] docs: geniezone: Introduce GenieZone hypervisor Yi-De Wu
                   ` (5 more replies)
  0 siblings, 6 replies; 27+ messages in thread
From: Yi-De Wu @ 2023-04-13  9:07 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Jonathan Corbet,
	Catalin Marinas, Will Deacon, Matthias Brugger,
	AngeloGioacchino Del Regno, Yingshiuan Pan
  Cc: devicetree, linux-kernel, linux-doc, linux-arm-kernel,
	linux-mediatek, Jades Shih, Miles Chen, Ivan Tseng, My Chuang,
	Shawn Hsiao, PeiLun Suei, Ze-Yu Wang, Liju Chen, Yi-De Wu

This series is based on linux-next, tag: next-20230412.

GenieZone is MediaTek proprietary hypervisor solution, and it is running
in EL2 stand alone as a type-I hypervisor. It is a pure EL2
implementation which implies it does not rely any specific host VM, and
this behavior improves GenieZone's security as it limits its interface.

To enable guest VMs running, a driver (gzvm) is provided for VMM (virtual
machine monitor) to operate. Currently, the gzvm driver supports only
crosvm.

This series supports ioctl interfaces for userspace VMM(eg., crosvm) to
operate guest VMs lifecycle, irqchip for virtual interrupt handling,
asynchronous notifcation mechanism for VMM.

Yi-De Wu (6):
  docs: geniezone: Introduce GenieZone hypervisor
  dt-bindings: hypervisor: Add binding for MediaTek GenieZone hypervisor
  soc: mediatek: virt: geniezone: Introduce GenieZone hypervisor support
  soc: mediatek: virt: geniezone: Introduce irqchip for virtual
    interrupt injection
  soc: mediatek: virt: geniezone: Add ioeventfd support
  soc: mediatek: virt: geniezone: Add irqfd support

 .../bindings/hypervisor/mediatek,gzvm.yaml    |  30 +
 Documentation/virt/geniezone/introduction.rst |  34 +
 arch/arm64/include/uapi/asm/gzvm_arch.h       |  79 ++
 drivers/soc/mediatek/Kconfig                  |   2 +
 drivers/soc/mediatek/Makefile                 |   1 +
 drivers/soc/mediatek/virt/geniezone/Kconfig   |  17 +
 drivers/soc/mediatek/virt/geniezone/Makefile  |   5 +
 drivers/soc/mediatek/virt/geniezone/gzvm.h    | 126 +++
 .../mediatek/virt/geniezone/gzvm_eventfd.c    | 749 ++++++++++++++++++
 .../soc/mediatek/virt/geniezone/gzvm_hyp.h    |  72 ++
 .../mediatek/virt/geniezone/gzvm_irqchip.c    | 107 +++
 .../soc/mediatek/virt/geniezone/gzvm_main.c   | 233 ++++++
 .../soc/mediatek/virt/geniezone/gzvm_vcpu.c   | 296 +++++++
 drivers/soc/mediatek/virt/geniezone/gzvm_vm.c | 551 +++++++++++++
 include/uapi/linux/gzvm_common.h              | 291 +++++++
 15 files changed, 2593 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hypervisor/mediatek,gzvm.yaml
 create mode 100644 Documentation/virt/geniezone/introduction.rst
 create mode 100644 arch/arm64/include/uapi/asm/gzvm_arch.h
 create mode 100644 drivers/soc/mediatek/virt/geniezone/Kconfig
 create mode 100644 drivers/soc/mediatek/virt/geniezone/Makefile
 create mode 100644 drivers/soc/mediatek/virt/geniezone/gzvm.h
 create mode 100644 drivers/soc/mediatek/virt/geniezone/gzvm_eventfd.c
 create mode 100644 drivers/soc/mediatek/virt/geniezone/gzvm_hyp.h
 create mode 100644 drivers/soc/mediatek/virt/geniezone/gzvm_irqchip.c
 create mode 100644 drivers/soc/mediatek/virt/geniezone/gzvm_main.c
 create mode 100644 drivers/soc/mediatek/virt/geniezone/gzvm_vcpu.c
 create mode 100644 drivers/soc/mediatek/virt/geniezone/gzvm_vm.c
 create mode 100644 include/uapi/linux/gzvm_common.h

-- 
2.18.0


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2023-05-12  7:55 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-13  9:07 [PATCH v1 0/6] GenieZone hypervisor drivers Yi-De Wu
2023-04-13  9:07 ` [PATCH v1 1/6] docs: geniezone: Introduce GenieZone hypervisor Yi-De Wu
2023-04-13  9:07 ` [PATCH v1 2/6] dt-bindings: hypervisor: Add binding for MediaTek " Yi-De Wu
2023-04-13 13:05   ` Krzysztof Kozlowski
2023-04-14  8:35     ` Yi-De Wu (吳一德)
2023-04-14  8:42       ` Krzysztof Kozlowski
2023-05-12  7:52         ` Yi-De Wu (吳一德)
2023-04-14 15:29       ` Matthias Brugger
2023-05-12  7:52         ` Yi-De Wu (吳一德)
2023-04-13  9:07 ` [PATCH v1 3/6] soc: mediatek: virt: geniezone: Introduce GenieZone hypervisor support Yi-De Wu
2023-04-13 10:37   ` kernel test robot
2023-04-13 12:42   ` kernel test robot
2023-04-13 12:53   ` kernel test robot
2023-04-13 12:55   ` Krzysztof Kozlowski
2023-04-13 17:08     ` Matthias Brugger
2023-04-14  8:43       ` Yi-De Wu (吳一德)
2023-04-14  8:51         ` Krzysztof Kozlowski
2023-04-14 17:17           ` Trilok Soni
2023-05-12  7:29             ` Yi-De Wu (吳一德)
2023-05-12  7:29           ` Yi-De Wu (吳一德)
2023-04-14 10:48         ` AngeloGioacchino Del Regno
2023-05-12  7:53           ` Yi-De Wu (吳一德)
2023-04-14 11:53   ` AngeloGioacchino Del Regno
2023-04-13  9:07 ` [PATCH v1 4/6] soc: mediatek: virt: geniezone: Introduce irqchip for virtual interrupt injection Yi-De Wu
2023-04-13  9:07 ` [PATCH v1 5/6] soc: mediatek: virt: geniezone: Add ioeventfd support Yi-De Wu
2023-04-13  9:07 ` [PATCH v1 6/6] soc: mediatek: virt: geniezone: Add irqfd support Yi-De Wu
2023-04-13 13:34   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).