Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2142777rwl; Thu, 13 Apr 2023 02:09:30 -0700 (PDT) X-Google-Smtp-Source: AKy350bT3VzBGJHes3Gg3LEZz2zbXlVO4fYF1cuOFz8vP02ccjPnbyWW1yD54oN4Os7UQnnfPPdA X-Received: by 2002:a17:906:2788:b0:94a:90e5:b2b6 with SMTP id j8-20020a170906278800b0094a90e5b2b6mr1935739ejc.58.1681376970589; Thu, 13 Apr 2023 02:09:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681376970; cv=none; d=google.com; s=arc-20160816; b=vlG0gs6VX4L4X9yQiN5qDttqfsjyhdRAhskvzN2FAPwU1VnqiJhEdl5UcpFRHsEy9H iMRq7sqxdB7pYpBFw+7yJB/7ojO20RO5QBbrfVOp5Ex8zdyaThFrBy/ctlkB3CNyRFju cU8zhajKsFD4Rv2NGLSH2K5eF+347Yp3smBTL++f131ea026H1wm4/lBxUyYgZoWZGp8 QwRKjmwAO4ZGlrTvtYuM+8S6ytz/E0xbd355iQBalIGsWcBH74YhPoLPqyiWkbgPUkLH Tt0+gDtGNjj7mqV2XTkGWAaQY96RIe4XPJPZSpsgTwSTLCQwinv3991zK+9uW++71pME wdnw== 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=6/PuYp06JANxyecmjfdkLJaYOHvRKSYhlev5QUYet24=; b=PosqsbAF3AMgi+UpY1CAOL2CsIoMMrVDzK8OCy4RT+nMIg0kJpDBhgR6axngvipPGK G9svAIZObTZoAFRvqwGaA6H1xI1bEyCNJYUThcYxi/K89xNZfuEQnwIBPYDxzdTvgEmQ Rpha2H302s4ONGFPEynuCtYt2opjmeusf9baUNnt2Xy/Q+YouavPw5YkJdPvEy7vqnaC UptMDvEVR1tbzJOu8XFlnXNAJKesxpes3aH9OhB8BUQlt6SkjNoeXWaQIZ0MslyptByW 16z5J4/X15cSOOlFqKRUdCqgYhQOZzEIF7uOtbBxjznGmyxxB52MtOjYl+c6ZTEV2EqV nSlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=i8oHJz+T; 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 d26-20020aa7d69a000000b00506733c91e4si1074982edr.597.2023.04.13.02.09.05; Thu, 13 Apr 2023 02:09:30 -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=i8oHJz+T; 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 S229516AbjDMJI1 (ORCPT + 99 others); Thu, 13 Apr 2023 05:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbjDMJIR (ORCPT ); Thu, 13 Apr 2023 05:08:17 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C2BD1FE9; Thu, 13 Apr 2023 02:08:10 -0700 (PDT) X-UUID: b2cd488ed9da11edb6b9f13eb10bd0fe-20230413 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=6/PuYp06JANxyecmjfdkLJaYOHvRKSYhlev5QUYet24=; b=i8oHJz+Tb42zhRG/Ecq97/bF4fDTQ3lZNe7weXKaGMIG6UtkqPBui+3E67lCWW13PQ1nZRPUHqj6OaOXDFNmZsjeQdITK1WD6bhF+NSsGzN0LLMmd4QvDxEL0FM2zwLwI2M+tfBzSmG+RBaAB0wOeL2b2KbvtuynZs5Pw6IAg+A=; X-CID-P-RULE: Spam_GS6885AD X-CID-O-INFO: VERSION:1.1.22,REQID:4028f8c9-7f03-4f3b-8ef4-14f6199d431d,IP:0,U RL:0,TC:0,Content:49,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_GS6885AD,AC TION:quarantine,TS:149 X-CID-INFO: VERSION:1.1.22,REQID:4028f8c9-7f03-4f3b-8ef4-14f6199d431d,IP:0,URL :0,TC:0,Content:49,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_US65DF41,ACTI ON:quarantine,TS:149 X-CID-META: VersionHash:120426c,CLOUDID:77cb34a1-8fcb-430b-954a-ba3f00fa94a5,B ulkID:230413170805VK1B60VM,BulkQuantity:0,Recheck:0,SF:48|38|29|28|17|19,T C:nil,Content:3,EDM:-3,IP:nil,URL:0,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: b2cd488ed9da11edb6b9f13eb10bd0fe-20230413 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1838058108; Thu, 13 Apr 2023 17:08:04 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Thu, 13 Apr 2023 17:08:03 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Thu, 13 Apr 2023 17:08:03 +0800 From: Yi-De Wu To: Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Catalin Marinas , Will Deacon , Matthias Brugger , AngeloGioacchino Del Regno , Yingshiuan Pan CC: , , , , , Jades Shih , Miles Chen , Ivan Tseng , My Chuang , Shawn Hsiao , PeiLun Suei , Ze-Yu Wang , Liju Chen , Yi-De Wu Subject: [PATCH v1 1/6] docs: geniezone: Introduce GenieZone hypervisor Date: Thu, 13 Apr 2023 17:07:30 +0800 Message-ID: <20230413090735.4182-2-yi-de.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230413090735.4182-1-yi-de.wu@mediatek.com> References: <20230413090735.4182-1-yi-de.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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,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 +++++++++++++++++++ 1 file changed, 34 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. + -- 2.18.0