Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9935086rwr; Fri, 12 May 2023 01:06:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Jq51n+/k/XmXrlITc658vrJHGCe+rZbLAoj25NbRUwooqswzeoC/8BwdQrbAp01sHa6lS X-Received: by 2002:a17:90b:1e0c:b0:24d:e4fd:f487 with SMTP id pg12-20020a17090b1e0c00b0024de4fdf487mr22907238pjb.14.1683878803730; Fri, 12 May 2023 01:06:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683878803; cv=none; d=google.com; s=arc-20160816; b=efb6jjTR+Mk3pJzkQ9sdozviLhP+f4DI/YZg900cK0vZyV2bqNAtkPyRk9E6/60FWB Apz+kkUgKTklNjrWWy/OednBYXVEU8rlx0Dfv1ZJvGtMBfd7hVk4jRb6bbbG4cVencsj +exmOlsgMWLCJpCCG0+1lep55TixsCFWNNyyl69hwvzjOUxIMq3AQcLPOye2cXa49Io4 OgyFvxr/sWvqbXXEGO5dHBwoyIPBjnYA/l8CWNH9WKYmT19N8M/7AyLpVxG0amkYgL7B QbztH9ZEfwJZ/gkou39GVn+56FWEPrZ7qAxZYIIchWwS/bshVdZFmZs1fy/4Z6il6Mj7 mMwQ== 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=dHOFHumFnrSrz0KER+FGn5/tfxFAz3JgJ4ek49h80NQ=; b=0PVE/n6LZ+3fVazlkhWsRf4cbjDczRSx9DzTVEoX6hQThCW4IWSP8gpv1IK7rotjXg ohA5Mou0xTyRfcnc3TjbK5wxaJ5VZv0epnkMBUTenZnyR+nf9pp+Y2iehcrKBbvPn/84 DNqrp1++kO8uYNoIfw7Kbb4+F7CXrK/jEeRR+6IGjR0+9DO327iDmn6qL0IDWewEj2Mr FCyfR1YKgaNPRg3sBpe4+FlA/8FFhM3VwtSMOpk8PyC6/QT6pd8dKvStqRsWXKbPnEwg CxVKTuujunNzGAshetGhmb3B9ZyDH+iqKWIxGly7XfZlfDe38DgjaWaLbPnKDBsi1omJ xCfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=vCm2d+ri; 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 ep23-20020a17090ae65700b0024de12511casi22016479pjb.56.2023.05.12.01.06.28; Fri, 12 May 2023 01:06:43 -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=vCm2d+ri; 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 S230522AbjELIFS (ORCPT + 99 others); Fri, 12 May 2023 04:05:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240392AbjELIEq (ORCPT ); Fri, 12 May 2023 04:04:46 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8717E2711; Fri, 12 May 2023 01:04:13 -0700 (PDT) X-UUID: 927e780af09b11ed9cb5633481061a41-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=dHOFHumFnrSrz0KER+FGn5/tfxFAz3JgJ4ek49h80NQ=; b=vCm2d+riJPluxxioYplaY/BIA7Bm7YEXqRgkZEc8XRDqcAgeCLlex+KPxtSxSDLH6bgqGGr1CMLtHmEeodiuJOAWUvvyHsy1pkxD276+cR2oa8iDmtX2JxbQ9bQ9fPKDTenYV6LlYM6uWmX3FnSoI7ToR0cf7BUjV55RcuOZXHw=; X-CID-P-RULE: Spam_GS6885AD X-CID-O-INFO: VERSION:1.1.24,REQID:fcef1ffc-bba4-4e35-8604-533242491d36,IP:0,U RL:25,TC:0,Content:100,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Spam_GS6885AD,AC TION:quarantine,TS:125 X-CID-META: VersionHash:178d4d4,CLOUDID:92bca1c0-e32c-4c97-918d-fbb3fc224d4e,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:801,TC:nil,Content:3,EDM:-3,IP:nil,U RL: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: 927e780af09b11ed9cb5633481061a41-20230512 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1595457615; Fri, 12 May 2023 16:04:08 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) 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.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 2/7] dt-bindings: hypervisor: Add MediaTek GenieZone hypervisor Date: Fri, 12 May 2023 16:04:00 +0800 Message-ID: <20230512080405.12043-3-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" Add documentation for GenieZone(gzvm) node. This node informs gzvm driver to start probing if geniezone hypervisor is available and able to do virtual machine operations. Signed-off-by: Yingshiuan Pan Signed-off-by: Yi-De Wu --- .../hypervisor/mediatek,geniezone-hyp.yaml | 31 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/hypervisor/mediatek,geniezone-hyp.yaml diff --git a/Documentation/devicetree/bindings/hypervisor/mediatek,geniezone-hyp.yaml b/Documentation/devicetree/bindings/hypervisor/mediatek,geniezone-hyp.yaml new file mode 100644 index 000000000000..ab89a4c310cb --- /dev/null +++ b/Documentation/devicetree/bindings/hypervisor/mediatek,geniezone-hyp.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hypervisor/mediatek,geniezone-hyp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek GenieZone hypervisor + +maintainers: + - Yingshiuan Pan + +description: + This interface is designed for integrating GenieZone hypervisor into Android + Virtualization Framework(AVF) along with Crosvm as a VMM. + It acts like a wrapper for every hypercall to GenieZone hypervisor in + order to control guest VM lifecycles and virtual interrupt injections. + +properties: + compatible: + const: mediatek,geniezone-hyp + +required: + - compatible + +additionalProperties: false + +examples: + - | + hypervisor { + compatible = "mediatek,geniezone-hyp"; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 523246ff3d15..cdc1e1b0bbe7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8709,6 +8709,7 @@ GENIEZONE HYPERVISOR DRIVER M: Yingshiuan Pan M: Ze-Yu Wang M: Yi-De Wu +F: Documentation/devicetree/bindings/hypervisor/mediatek,geniezone-hyp.yaml F: Documentation/virt/geniezone/ GENWQE (IBM Generic Workqueue Card) -- 2.18.0