[PATCH v2 1/7] docs: geniezone: Introduce GenieZone hypervisor

Yi-De Wu posted 7 patches 2 years, 9 months ago
There is a newer version of this series
[PATCH v2 1/7] docs: geniezone: Introduce GenieZone hypervisor
Posted by Yi-De Wu 2 years, 9 months ago
From: "Yingshiuan Pan" <yingshiuan.pan@mediatek.com>

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.

Signed-off-by: Yingshiuan Pan <yingshiuan.pan@mediatek.com>
Signed-off-by: Yi-De Wu <yi-de.wu@mediatek.com>
---
 Documentation/virt/geniezone/introduction.rst | 34 +++++++++++++++++++
 MAINTAINERS                                   |  6 ++++
 2 files changed, 40 insertions(+)
 create mode 100644 Documentation/virt/geniezone/introduction.rst

diff --git a/Documentation/virt/geniezone/introduction.rst b/Documentation/virt/geniezone/introduction.rst
new file mode 100644
index 000000000000..1fffd6cbb4db
--- /dev/null
+++ b/Documentation/virt/geniezone/introduction.rst
@@ -0,0 +1,34 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+======================
+GenieZone Introduction
+======================
+
+
+Overview
+========
+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.
+
+
+Supported Architecture
+======================
+GenieZone now only supports MediaTek arm64 SoC.
+
+
+Platform Virtualization
+=======================
+We leverages arm64's timer virtualization and gic virtualization for timer and
+interrupts controller.
+
+
+Device Virtualizaton
+====================
+We adopts VMM's virtio devices emulations by passing io trap to VMM, and virtio
+is a well-known and widely used virtual device implementation.
+
diff --git a/MAINTAINERS b/MAINTAINERS
index 4b8971cba764..db8915114b86 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8694,6 +8694,12 @@ F:	include/vdso/
 F:	kernel/time/vsyscall.c
 F:	lib/vdso/
 
+GENIEZONE HYPERVISOR DRIVER
+M:	Yingshiuan Pan <yingshiuan.pan@mediatek.com>
+M:	Ze-Yu Wang <ze-yu.wang@mediatek.com>
+M:	Yi-De Wu <yi-de.wu@mediatek.com>
+F:	Documentation/virt/geniezone/
+
 GENWQE (IBM Generic Workqueue Card)
 M:	Frank Haverkamp <haver@linux.ibm.com>
 S:	Supported
-- 
2.18.0
Re: [PATCH v2 1/7] docs: geniezone: Introduce GenieZone hypervisor
Posted by Pavel Machek 2 years, 9 months ago
Hi!

> 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.

> +++ b/Documentation/virt/geniezone/introduction.rst
> @@ -0,0 +1,34 @@

> +Platform Virtualization
> +=======================
> +We leverages arm64's timer virtualization and gic virtualization for timer and
> +interrupts controller.

'interrupt'.

> +Device Virtualizaton
> +====================
> +We adopts VMM's virtio devices emulations by passing io trap to
> VMM, and virtio

'adopt', 'device emulation'

> +is a well-known and widely used virtual device implementation.
> +

Plus, I'd expect documentation to be more detailed or have pointer
where
to learn more.

BR,							Pavel

--
Re: [PATCH v2 1/7] docs: geniezone: Introduce GenieZone hypervisor
Posted by Yi-De Wu (吳一德) 2 years, 8 months ago
On Fri, 2023-05-12 at 18:51 +0200, Pavel Machek wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> Hi!
> 
> > 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.
> > +++ b/Documentation/virt/geniezone/introduction.rst
> > @@ -0,0 +1,34 @@
> > +Platform Virtualization
> > +=======================
> > +We leverages arm64's timer virtualization and gic virtualization
> > for timer and
> > +interrupts controller.
> 
> 'interrupt'.
> 
Noted.

> > +Device Virtualizaton
> > +====================
> > +We adopts VMM's virtio devices emulations by passing io trap to
> > VMM, and virtio
> 
> 'adopt', 'device emulation'
> 
Noted.

> > +is a well-known and widely used virtual device implementation.
> > +
> 
> Plus, I'd expect documentation to be more detailed or have pointer
> where
> to learn more.
> 
> BR,                                                     Pavel
> 
> --
Sure, we tend to enumerate the high-level features of GenieZone and the
design considerations of each module on the next version of our
documentation.