Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2070099rwb; Thu, 27 Jul 2023 01:16:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlHXOiSIym9ax6iaUVVoeixY8/qBGtQIqh/HlCtcVDFuIK7YckBhOlzLwKO415B3clUcYWJd X-Received: by 2002:a19:7b02:0:b0:4fb:8fde:f60d with SMTP id w2-20020a197b02000000b004fb8fdef60dmr1026474lfc.22.1690445806017; Thu, 27 Jul 2023 01:16:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690445805; cv=none; d=google.com; s=arc-20160816; b=CV09JDLLqIfobe/mHTnauoAuExINs+Qosrpz+39YVJ5BJeYEaY9x7hGRT2hfcTQNxb Z31JPM8/zaLBxecUtxbUiNMm7uv6CXObghTTfuUZLVejrszRAnVh9MdApgP0O6HnK+5L Xd3OmUe+v/Um7cXbV/5o4FhXLnN1kCi1sMbYgGSJG8u9cb4c4kfYoQ/7ssXf4YCnw8/6 Up1zQaTl8x2v/PFeQfJ/Dkwf6MzPl6C6Pyt2ciqVkiEcfZO+ag7gySv7ZA7AmimjooKL BWEGYNzHcOCz+HLzMOwNasRTdhdvHcHlmU+WZLDl2bjDgO2ViQgcS4ENZCRnoW3OmV/C 60RQ== 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=nEbzbcF7gypFzUzdAgAZZ0jdqmhRM/OF6sAE061BMNw=; fh=dCuhN2WtZzy0rUQ+AeVVI4jzQHHl1RvTejWe4+0kZAs=; b=PTDK+swumn9f5pdyYHDHQJ/HKDpTxJbIAckDnWOnURro11jcwMMvQynMJUHfOQLpc/ X43XGza5GD2+XWMoJYejUDBsynPTQsF05ZAiklZQkV8JnxvWUgsNkpvnwjStj4OtJ05p aclI+UbpAAyWaTddId/kCWITkGIL4RIv/RCkuB8OyD7rpZ79ve5eIOMo7qeBbmyGOapW 4lo6e4LSEFGADUCCa3gMKH06Fq0NF/pgA/IJfIzIBMwIck/CMsOGjEgxs+usqalGAa51 MJUrzoqYtFYhK6vX92Ah0ARfjfdLPH+LJQnMuQ5gNdojNhqcec/O/iDg9V2xKs6BjSV1 opLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=FnczHI2l; 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 i13-20020a056402054d00b005221eb09887si566286edx.86.2023.07.27.01.16.21; Thu, 27 Jul 2023 01:16:45 -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=FnczHI2l; 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 S233779AbjG0IEC (ORCPT + 99 others); Thu, 27 Jul 2023 04:04:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232112AbjG0ICr (ORCPT ); Thu, 27 Jul 2023 04:02:47 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C98D32D57; Thu, 27 Jul 2023 01:00:20 -0700 (PDT) X-UUID: 9e472b482c5311eeb20a276fd37b9834-20230727 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=nEbzbcF7gypFzUzdAgAZZ0jdqmhRM/OF6sAE061BMNw=; b=FnczHI2lpsLd6O1qyBo4bzHQJyJtLZKqeU+tBo1N2YyRf9zfZ44LrX7Y+jFec5DwoxvB11e/SNz9QKVK7D2Tnmic9DDHAGCFDQqjQh+azR2gZPCbdQcru2H10kQEsPesdDtcGJPXkg+eI9Uzc+yb9pX/x92paaNp4Gv1xrMRWT8=; X-CID-P-RULE: Spam_GS6885AD X-CID-O-INFO: VERSION:1.1.29,REQID:1157ea3f-fbbe-45a9-9256-cfc0494cd7d4,IP:0,U RL:25,TC:0,Content:100,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS6885AD,A CTION:quarantine,TS:220 X-CID-INFO: VERSION:1.1.29,REQID:1157ea3f-fbbe-45a9-9256-cfc0494cd7d4,IP:0,URL :25,TC:0,Content:100,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_PHI4A2D0,ACT ION:quarantine,TS:220 X-CID-META: VersionHash:e7562a7,CLOUDID:571e97a0-0933-4333-8d4f-6c3c53ebd55b,B ulkID:2307271600159D93WHH9,BulkQuantity:0,Recheck:0,SF:38|29|28|17|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,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_ULN,TF_CID_SPAM_SNR,TF_CID_SPAM_SDM,TF_CID_SPAM_APC, TF_CID_SPAM_FAS,TF_CID_SPAM_FSD X-UUID: 9e472b482c5311eeb20a276fd37b9834-20230727 Received: from mtkmbs14n2.mediatek.inc [(172.21.101.76)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 694640665; Thu, 27 Jul 2023 16:00:14 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 27 Jul 2023 16:00:13 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 27 Jul 2023 16:00:13 +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: , , , , , , "David Bradil" , Trilok Soni , "Ivan Tseng" , Jade Shih , "My Chuang" , Shawn Hsiao , PeiLun Suei , Liju Chen , Willix Yeh Subject: [PATCH v5 02/12] dt-bindings: hypervisor: Add MediaTek GenieZone hypervisor Date: Thu, 27 Jul 2023 15:59:55 +0800 Message-ID: <20230727080005.14474-3-yi-de.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230727080005.14474-1-yi-de.wu@mediatek.com> References: <20230727080005.14474-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_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY 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: Liju Chen 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 a81903c029f2..bfbfdb790446 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8745,6 +8745,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