Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9935254rwr; Fri, 12 May 2023 01:06:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zKctnEONvg621A8UCVA2DHJcK+DIJHAkAD3MOAwDRJZJ9sN95SEY6CoElBGrfWrjRxFwa X-Received: by 2002:a17:902:e80b:b0:1aa:ffed:652c with SMTP id u11-20020a170902e80b00b001aaffed652cmr31836231plg.64.1683878813521; Fri, 12 May 2023 01:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683878813; cv=none; d=google.com; s=arc-20160816; b=sRO7/BJczLVZWDMw9ypHykW0Yk1GnWpnNk/U5guPEbhBQm71PHtpcSEtQXVC17m1tD LnkMR0c2tfKNtlu6dQ+NqP/1gcmUXt9gNzc8YlTlGtL6qqLis57/Dqx8kL9d9Qna8Uj+ DKXjwBpO8qPwjolklqLFg8EqU0Slr+Gbc9WHveuGy1BS32h4C3dhehxncsuO0Dpn3FDD iZtiDUc42oY8QIymVzdXT13pBkv0CypcghJL4dMIBFibodiEp5YLkoxWWyC+AWJ48Ka7 MWNVBYE3pLGw1MT7YOnV2RnOyjl6k5gC91BVAe+9JBc9ix3AswQv3JRvOshC2+IdcbFt zpjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=nAUmtovh2BSgF+M7TxMbWY5EpQy5nM1PKExUhM4zzcI=; b=nhgSBBVet+0lh4x2IDi/koj8a2DdrjxUNnR1Fe91kK2RU5Gc/+DyCZj24Jmdvk87YK nW7UD5UKGH8UwOlYWbdfjij7yCnQ3zTMZztUtoRivrevxHAS1YPWtKaFa0aSlv4X3B7K pvMPtgIqq0Trt3vTwD5ILaqmIV+xN1zeLwiZ1UQ8Nt0oLl2G2S3zbQ0K1ICxzWahqcpu mV+g+gQOFjb18dTJFUjYouWumZNrEGFXjiYTi1Gp1Ad3lmq2G0waT3Oe+FV/yOjMNOfi Dgc3UYbDQBbN7Cq5+osTrDMxxRZvhdByQWM6LkR5IO4kTeNo8EbZfs91C25QPyotHt+Z w1eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WGyb10Qx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l20-20020a170903005400b001add2b13fb4si2539299pla.620.2023.05.12.01.06.38; Fri, 12 May 2023 01:06:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WGyb10Qx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240389AbjELIF2 (ORCPT + 99 others); Fri, 12 May 2023 04:05:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240398AbjELIEr (ORCPT ); Fri, 12 May 2023 04:04:47 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75E0D106C7; Fri, 12 May 2023 01:04:15 -0700 (PDT) X-UUID: 92b2b07af09b11ed9cb5633481061a41-20230512 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=nAUmtovh2BSgF+M7TxMbWY5EpQy5nM1PKExUhM4zzcI=; b=WGyb10Qxzps3F8ljlrsj47rkATsuMPV56TNIH0KxTACPv7+58i5GOjoLw37/OcfiOPrVE/Wo4zdd5hOclFX26x10ePeYzPHtwouSw14UDdUJYj7eUFHD7UB8p6u/cffDAb7nW3O78OhRCLirFUmiPYGdSyrCyXp3BJthHKoffXQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.24,REQID:777c7dcc-a9d0-42d1-8504-6a72770b2228,IP:0,U RL:0,TC:0,Content:100,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:100 X-CID-META: VersionHash:178d4d4,CLOUDID:be64f53a-de1e-4348-bc35-c96f92f1dcbb,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:801|102,TC:nil,Content:3,EDM:-3,IP:n il,URL:11|1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 92b2b07af09b11ed9cb5633481061a41-20230512 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 838509526; Fri, 12 May 2023 16:04:09 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.194) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 12 May 2023 16:04:07 +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.26 via Frontend Transport; Fri, 12 May 2023 16:04:07 +0800 From: Yi-De Wu To: Yingshiuan Pan , Ze-Yu Wang , Yi-De Wu , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Catalin Marinas , Will Deacon , Arnd Bergmann , Matthias Brugger , AngeloGioacchino Del Regno CC: , , , , , , Trilok Soni , David Bradil , Jade Shih , Miles Chen , Ivan Tseng , My Chuang , Shawn Hsiao , PeiLun Suei , Liju Chen Subject: [PATCH v3 1/7] docs: geniezone: Introduce GenieZone hypervisor Date: Fri, 12 May 2023 16:03:59 +0800 Message-ID: <20230512080405.12043-2-yi-de.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230512080405.12043-1-yi-de.wu@mediatek.com> References: <20230512080405.12043-1-yi-de.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 7a91f14cad2e..523246ff3d15 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8705,6 +8705,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 -- 2.18.0