2023-04-28 10:37:53

by Yi-De Wu

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

From: "Yingshiuan Pan" <[email protected]>

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 <[email protected]>
Signed-off-by: Yi-De Wu <[email protected]>
---
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 <[email protected]>
+M: Ze-Yu Wang <[email protected]>
+M: Yi-De Wu <[email protected]>
+F: Documentation/virt/geniezone/
+
GENWQE (IBM Generic Workqueue Card)
M: Frank Haverkamp <[email protected]>
S: Supported
--
2.18.0


2023-05-12 17:15:52

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH v2 1/7] docs: geniezone: Introduce GenieZone hypervisor

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

--

2023-05-22 05:56:56

by Yi-De Wu

[permalink] [raw]
Subject: Re: [PATCH v2 1/7] docs: geniezone: Introduce GenieZone hypervisor

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.