Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2401457rwl; Thu, 13 Apr 2023 06:07:46 -0700 (PDT) X-Google-Smtp-Source: AKy350Z32GJQHbRqE8hzqqPKRBXprBeL9NmaVh1QNK686ctogcK3pzpeoewXHQffIhiGYrxZgVCI X-Received: by 2002:a67:e959:0:b0:42c:8e38:b996 with SMTP id p25-20020a67e959000000b0042c8e38b996mr715286vso.30.1681391266350; Thu, 13 Apr 2023 06:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681391266; cv=none; d=google.com; s=arc-20160816; b=OWAZaSuDsuF8Vlgonlo2lYkJVlLnPaTMaZPl9UNjc/XARCz0j5vr9lB9nIfSzetbGU LsE5gLJy4XMJuxrcfCMDXgc5R0yrePkHwUiEIK6oGVbV3NE69PjBn/Ny0XSzlaAf1vi2 l5JLnZ7UVoZl8Bj6xkpYdvH51/SFEA1Smk2JirG0ti1H6zcSfRbDeOJu93yI58yf5Emq KpyBbtEeMNUgvSMjNPjztDLoIYFBvj59kxqN8j7PB1a7W7zXQiIoel9Nru92kEX8tI+6 9Hg+Rw8YEuT7iYqKl8VN5SKD3Soq593aeNYUwmW19n1tOfvsQ7mUWKI9dbZDiCI9FiTj tn9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=RhPvah70z+eyBLakI2k2O3UgMIi0l1eU1A4H/8LZsnA=; b=JqSKv5QopUspj+x3vP7Gi27bOFYITRNuV6IeV4kST+Z8Ws0UmbR4AVDQzO8ltxrJsy MDC8hCnfZ9grmK0VEmqSRfdLpw/pyKoUv2KdAIiZ3FvXqSyq59eMuxwYtMnZ3YHQxD9D 1tmh0vkt4cCT1Sog7/W6p/9ovVMbWzLeqUv3dqDB3Ks+XIy2z7WVo8YPvI4zdhbyOS4v Y3tjqfHJ59sDtIawVKEuHDqvELspT6cKjMQtQ9asW7cw7YwWkk/qQDBECamEvzKvf5u0 1MfS0rCa6dCGdjnCzUqO1bSZ0tWXYOynQ6ZTlV+LalTMidxDIX9jWOfE6W3xVhHY7gM4 6NQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R6uaPIXf; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020a05610232d100b004251748f44dsi382532vss.577.2023.04.13.06.07.31; Thu, 13 Apr 2023 06:07:46 -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=@linaro.org header.s=google header.b=R6uaPIXf; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229685AbjDMNFL (ORCPT + 99 others); Thu, 13 Apr 2023 09:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbjDMNFK (ORCPT ); Thu, 13 Apr 2023 09:05:10 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E62221704 for ; Thu, 13 Apr 2023 06:05:08 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id ga37so37599327ejc.0 for ; Thu, 13 Apr 2023 06:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681391107; x=1683983107; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=RhPvah70z+eyBLakI2k2O3UgMIi0l1eU1A4H/8LZsnA=; b=R6uaPIXfQmx43NMsDubyle99U+EyV+YjY87xPwBNOdey4pJBwhd0txY8DmmFSQK0D7 xL8sivpMkCNP/Dye01gKxrxiFCRxuEz0iuF0f/W6IsgXwOvLSW8xN3PUW1A5du/CIAYp JawQyJYNyKzY/Dorli9ESJfplmIOT3eCgPZh12+Q7zuJkesXGQpshX/izNukldebWA8n zmNfloppsDQQDVfgMbvONeP17r2ciNPFb8s7g+PuYM67T5yXqe2LlZJyv9XNbVYVAjJT rkXf4Sh5P0Zt13P64vPqWXDiAGEWsrN1beNZH9DKt6zpESQ89ICXK0bfzxbY27HvgQ5p 0aYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681391107; x=1683983107; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RhPvah70z+eyBLakI2k2O3UgMIi0l1eU1A4H/8LZsnA=; b=hyT7R2upjJjh9GiK1mktqX4AIwM9I7VYMz2E/ur0Y2C8cY+SoJYTEZt3mEIrmyM/pj J3SAT7l8VVVZIBbWsT83NkEqAzdjvRl9p/wPzmQtmXaZoAWi+1N4ZaVxpl1Gop79ew7P n/xRHkMsHX9GSw2nu3DTfoXh5AnqIXCA1wEgT8KhSAv5ULL+WEZTOXd4Q4TavSEXpTs4 +NYDC8IiPdc54oTUHGtoNTWG4Run0uJSCOwmhd6kHTHTa13IjnctOcA3ll8fmic3+CWm yynuQdgCJo68irUpi6EU3zYVgO82rr4hyLxcMnptGtc+C/YOYLVi35nQlUSpn6+z5cHj tS4Q== X-Gm-Message-State: AAQBX9eudx5LcGonZ3h9K8G03iu8ZHC+qezUou5HjqAzToQpdPQ4+sLQ 3ayajczfknZcrWZDKdtXCX3mJw== X-Received: by 2002:a17:906:6096:b0:94e:b717:5e3d with SMTP id t22-20020a170906609600b0094eb7175e3dmr927133ejj.60.1681391107416; Thu, 13 Apr 2023 06:05:07 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:5032:d2d4:ece5:b035? ([2a02:810d:15c0:828:5032:d2d4:ece5:b035]) by smtp.gmail.com with ESMTPSA id k16-20020a1709067ad000b0094e6504d132sm956204ejo.167.2023.04.13.06.05.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Apr 2023 06:05:06 -0700 (PDT) Message-ID: <8ace9b0f-742a-7ebc-555f-1f8be04a5955@linaro.org> Date: Thu, 13 Apr 2023 15:05:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v1 2/6] dt-bindings: hypervisor: Add binding for MediaTek GenieZone hypervisor Content-Language: en-US To: Yi-De Wu , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Catalin Marinas , Will Deacon , Matthias Brugger , AngeloGioacchino Del Regno , Yingshiuan Pan Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Jades Shih , Miles Chen , Ivan Tseng , My Chuang , Shawn Hsiao , PeiLun Suei , Ze-Yu Wang , Liju Chen References: <20230413090735.4182-1-yi-de.wu@mediatek.com> <20230413090735.4182-3-yi-de.wu@mediatek.com> From: Krzysztof Kozlowski In-Reply-To: <20230413090735.4182-3-yi-de.wu@mediatek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 On 13/04/2023 11:07, Yi-De Wu wrote: > From: "Yingshiuan Pan" > > Add documentation for GenieZone(gzvm) node. This node informs gzvm > driver to start probing if geniezone hypervisor is available and Subject: drop second/last, redundant "binding for". The "dt-bindings" prefix is already stating that these are bindings. > able to do virtual machine operations. > > Signed-off-by: Yingshiuan Pan > Signed-off-by: Yi-De Wu > --- > .../bindings/hypervisor/mediatek,gzvm.yaml | 30 +++++++++++++++++++ > 1 file changed, 30 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hypervisor/mediatek,gzvm.yaml > > diff --git a/Documentation/devicetree/bindings/hypervisor/mediatek,gzvm.yaml b/Documentation/devicetree/bindings/hypervisor/mediatek,gzvm.yaml > new file mode 100644 > index 000000000000..35e1e5b18e47 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hypervisor/mediatek,gzvm.yaml > @@ -0,0 +1,30 @@ > +# 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: > + GenieZone is MediaTek proprietary hypervisor. This device node informs its > + driver, gzvm, to probe if platform supports running virtual machines. Do not describe Linux, we all know how driver binding works, but hardware/firmware/hypervisor. I don't know if we actually want to support proprietary hypervisors. There can be hundreds of them, one per each SoC manufacturer, and they can come with many ridiculous ideas. > + > +properties: > + compatible: > + const: mediatek,gzvm > + > +required: > + - compatible > + > +additionalProperties: false > + > +examples: > + - | > + hypervisor { > + compatible = "mediatek,gzvm"; > + status = "okay"; Drop status. Best regards, Krzysztof