Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1909252rwr; Fri, 28 Apr 2023 03:38:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6EC6oQzrn7Q1yql4eLNmQu0KEgELA/og+zzUdB9hnfChvsl1K3eCY3h3RL9ck1Wo9AO50X X-Received: by 2002:a17:90b:1d85:b0:24b:2ef6:64d5 with SMTP id pf5-20020a17090b1d8500b0024b2ef664d5mr4930794pjb.47.1682678332291; Fri, 28 Apr 2023 03:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682678332; cv=none; d=google.com; s=arc-20160816; b=u6fZQwpFJfd6OQDBUiHoeLgvUfkfQtAjC29qrX6broqpMSHj/l7bvwpPcTXNbVObpQ z83ujdwFNJ8JPmVvJZvrbewrsGPC9WyiGKw4H344q/3HGp+nA1r9/P+bvcpF3Msj46f6 Z2RLkdsbNm/hOoGUY/b89XemIToPK9ma87Zrw0fHj1S87WNSi6Ul0V2rO1AqKL8hSBog JCnC27ijZakMfXuGqpzsSHiGCw37G5Lc9avSuUIDF13zCAllzCV629HJsmY3y3d5uKe/ HMRkIwdtz/yIfkUolXUl6x6y9VokzIsx0o+mJwXbTYx5r+606X6nM5tqn1cc9RgPTN6e n9YA== 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=VrvPzdjmykf8LV0rQWRvkadsxeoVqDc5y4VYgRUobMA=; b=kJrlyDcLFaC6JtPZI4jLEiu5a4rD0mFEBXdDwXYCH3sSn9a0q9250Zy8Wuc0DH+uSy VFc2OY/M1bfr1x8qwR+B+HuQ/amk/hdXEy7WrwE8yE6P8l2+9FyJR+B3H9PmYFo1aHxn TugNdYk3ShneVootn7E2S6ENMmOQBL4xg0xoc+5GvRdev2BFUaz/Vynbgp9M+boQsibC sdMym0KUC0TFiqWPmoULtQ/RSytOcTT+qiPHenOWAxOzpkt9ZAGQ5vOyt7swpWsXTJnY kW8pmEDEtpUFdC7e+AvEX8pIdB5itDze4Oe5UcixAx+42eJ0k314wR8x9nlJJXyGPPm6 1diw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="toQ/bRcn"; 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 gt18-20020a17090af2d200b002473f9e8a19si23376694pjb.14.2023.04.28.03.38.41; Fri, 28 Apr 2023 03:38:52 -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="toQ/bRcn"; 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 S1345685AbjD1Kgz (ORCPT + 99 others); Fri, 28 Apr 2023 06:36:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230341AbjD1Kgi (ORCPT ); Fri, 28 Apr 2023 06:36:38 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F7822D63; Fri, 28 Apr 2023 03:36:32 -0700 (PDT) X-UUID: 877a8930e5b011ed9cb5633481061a41-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=VrvPzdjmykf8LV0rQWRvkadsxeoVqDc5y4VYgRUobMA=; b=toQ/bRcn4XI3A+YzC3WoIt25El9oad8+7OxrBDqu6DIZUBnu0GRGBLEwldq28l4WSCUASX2a1ybC1s9FUXrucu8oY4Nv+FqOmeuB9WhMy6I1ZyOSFWmivyjoxIlAE+colf7/YJW6XcetcE6+tHxLTSmQ37OMzz8ITXz8M3e01QU=; X-CID-UNFAMILIAR: 1 X-CID-P-RULE: Spam_GS6885AD X-CID-O-INFO: VERSION:1.1.22,REQID:c5b30537-f9e8-48b8-8488-76e94e8215f0,IP:0,U RL:25,TC:0,Content:59,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_GS6885AD,A CTION:quarantine,TS:184 X-CID-INFO: VERSION:1.1.22,REQID:c5b30537-f9e8-48b8-8488-76e94e8215f0,IP:0,URL :25,TC:0,Content:59,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_US65DF41,ACT ION:quarantine,TS:184 X-CID-META: VersionHash:120426c,CLOUDID:8e723fbf-e32c-4c97-918d-fbb3fc224d4e,B ulkID:230428183627KXSYCWYN,BulkQuantity:0,Recheck:0,SF:48|38|29|28|16|19|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: 877a8930e5b011ed9cb5633481061a41-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 1373314300; Fri, 28 Apr 2023 18:36:26 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) 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; 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 2/7] dt-bindings: hypervisor: Add MediaTek GenieZone hypervisor Date: Fri, 28 Apr 2023 18:36:17 +0800 Message-ID: <20230428103622.18291-3-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 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..9dc0831cf175 --- /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,gzvm.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 hypercalls 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 db8915114b86..1e911d1d9741 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8698,6 +8698,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