From patchwork Fri Apr 28 10:36:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yi-De Wu X-Patchwork-Id: 677791 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72558C77B7F for ; Fri, 28 Apr 2023 10:36:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233293AbjD1Kgi (ORCPT ); Fri, 28 Apr 2023 06:36:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230159AbjD1Kgh (ORCPT ); Fri, 28 Apr 2023 06:36:37 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 679D71FD4; Fri, 28 Apr 2023 03:36:31 -0700 (PDT) X-UUID: 87030bdae5b011ed9cb5633481061a41-20230428 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=adkXrrnEZGPRbZSglcGKLdD759QITaY+HgrVCM5K9Y8=; b=HRhYoyYlFHM9xvD/rKT/KsTnGG9L1GrgxexeeCviVNkjD9rngkDausF4/Sz9+vEX4lUtSI64pAoDVszB5ajZz/5rlx6+R7JaIUoDsYiw69Y+kMFloc5m86B2FElGrbsISEg4z3wHfs7+ZwfquxEId7XYllAPvYToqo8W6sLrmRk=; X-CID-UNFAMILIAR: 1 X-CID-P-RULE: Spam_GS6885AD X-CID-O-INFO: VERSION:1.1.22, REQID:9459ec68-3204-49b8-aad8-a156337d5545, IP:0, U RL:0,TC:0,Content:100,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_GS6885AD,A CTION:quarantine,TS:200 X-CID-INFO: VERSION:1.1.22, REQID:9459ec68-3204-49b8-aad8-a156337d5545, IP:0, URL :0,TC:0,Content:100,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_HTS54396,ACT ION:quarantine,TS:200 X-CID-META: VersionHash:120426c, CLOUDID:d92d386a-2f20-4998-991c-3b78627e4938, B ulkID:230428183627VRSLIXLA,BulkQuantity:0,Recheck:0,SF:38|29|28|16|19|48|8 01,TC:nil,Content:3,EDM:-3,IP:nil,URL:11|1,File:nil,Bulk:nil,QS:nil,BEC:ni l,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 87030bdae5b011ed9cb5633481061a41-20230428 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1781620514; Fri, 28 Apr 2023 18:36:26 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 28 Apr 2023 18:36:25 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Fri, 28 Apr 2023 18:36:25 +0800 From: Yi-De Wu To: Yingshiuan Pan , Ze-Yu Wang , Yi-De Wu , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Catalin Marinas , Will Deacon , Arnd Bergmann , Matthias Brugger , AngeloGioacchino Del Regno CC: , , , , , , David Bradil , Trilok Soni , Jade Shih , Miles Chen , Ivan Tseng , My Chuang , Shawn Hsiao , PeiLun Suei , Liju Chen Subject: [PATCH v2 1/7] docs: geniezone: Introduce GenieZone hypervisor Date: Fri, 28 Apr 2023 18:36:16 +0800 Message-ID: <20230428103622.18291-2-yi-de.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230428103622.18291-1-yi-de.wu@mediatek.com> References: <20230428103622.18291-1-yi-de.wu@mediatek.com> MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: "Yingshiuan Pan" 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 Signed-off-by: Yi-De Wu --- 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 +M: Ze-Yu Wang +M: Yi-De Wu +F: Documentation/virt/geniezone/ + GENWQE (IBM Generic Workqueue Card) M: Frank Haverkamp S: Supported