Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4477800rwb; Sat, 21 Jan 2023 12:49:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXui+Cgo08gxPnmi97oLz874gN6wIhmEgzS8YyWza5qD8GfeGmGS2wA20EwNxGvo0UokIAph X-Received: by 2002:a05:6a20:65a3:b0:b3:4044:1503 with SMTP id p35-20020a056a2065a300b000b340441503mr19720480pzh.52.1674334198436; Sat, 21 Jan 2023 12:49:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674334198; cv=none; d=google.com; s=arc-20160816; b=ifbMUR86nGC7gUvu4Cc7FzMrhtJ7ppVnhwaxkW32uHXN3qhLRsAqooE40emdVZynT1 Ckx5I4hc84VnjWMQ6mwpy78DmCB737N8BqCVDKU3oiFdiZgcsjFeUCILaxXZK9zyhzqC 2Udh3v+UrIBkDE4PdNcxqaOd3wmPC2ccJtKYPecBoW3Jx1rsHaj9zsOFUwAjI/X+Nl7S DCik/sE903CVxbLa4kodAvv/6kO9FS+4H9WMV6lrlxIVHdf+PGZqrJ4rKs580pj1QgS0 rVl9uM/Y0nwxhp1XQIoVHSiOWppOxENl1VyPdv2uBLTJrxg1mb7UHbJCM5s8iB5TpGlo 64NA== 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=rXSfSoA8G8fh3ZYndfS49CGjjHb1kadUkMCLnVlHiAw=; b=e0RG7uR2bFaiRyL8Pk48Nrbbg/GsrdozYXs60uN49NIl6gLni+8nwskP9vqZmU+ZcH uwKT6aYT2rMB7lHx5KXLBxZ3v/K2EkDcSlpk9kBX01kaIJfXC+q8M+LITM8bDrkm059k r0spvosh+zBikvC9fBaomh38ftPxXIuR2yz5fZGG1A9rw9dr0KUWoKZAY4V5aSciRYXm 6bewTsEwA1a4i6p1PLruZgdXrBvCV0jqkiRQgiZ/gP/6ygGlpIqkOFfDPYiZzTqhooTK 0+S269EvAkg4Xx8IRPCBjsloGqkwcGiP7MtyRDz6L/mL/XvCwtLJjgSDKSjpHTvEygPn 8/2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BTYRh803; 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 o26-20020a65615a000000b004777f68f798si46129235pgv.814.2023.01.21.12.49.49; Sat, 21 Jan 2023 12:49:58 -0800 (PST) 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=BTYRh803; 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 S229831AbjAUU3H (ORCPT + 52 others); Sat, 21 Jan 2023 15:29:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjAUU3G (ORCPT ); Sat, 21 Jan 2023 15:29:06 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8090E25299 for ; Sat, 21 Jan 2023 12:29:04 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id e3so7571513wru.13 for ; Sat, 21 Jan 2023 12:29:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=rXSfSoA8G8fh3ZYndfS49CGjjHb1kadUkMCLnVlHiAw=; b=BTYRh803+TdBAlKTGNO8XogbyXQyH1nKKXPHvfBBzs8HXPIEktk2MgfHI63agXEwta fNlKZ4mfwJFwaHFv+foB6WKQsvCI6T30Oap/lj6xIAsPSEyvRVZ/0c+58werKzGOTxUs qU+OGOhjpJvK7vb7B5zmSXklvpx02+wOk1VjVv+9RxtVrvPPirIgIF+7OyiD0lWBdw73 MogHja8t6mVK+PYHp4NDIXCdDUliSAwPFaqLbTeZ4CJYTitl4utfYrWtnW7kRxH1koPC ZoPD+nwuKBXtRp0ViP2TLbjEVF4pTpwZgAU/klrGwdEJtXnjSwKk4hwYF/n1s2EztjtF 7JJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=rXSfSoA8G8fh3ZYndfS49CGjjHb1kadUkMCLnVlHiAw=; b=OAjddH6Sjx9pqqIuZ7RG6B08wLpqn/uEQGL0H1Uv+vJwXzcjuGbqnaYCni6pg0z5bm 2MxJhZRrQbqDXdTyT9oxX5Ls4Xk2X6QtygpXKcCr1GZg+of4FSyZkp6QvKZjysMaNF6Z VRAChWCeTiP1MT/GIaelQStmqpPy0qRRgTXehl96rpgs7G4hy/nNeuA3sDg4SL+aOnDe FIGEB6B52bNgnO/HhjzyxptdDv8tpePcmuGVqCTphBCceh24Sl57SGL0k0tILYwMWdOo 0k4STs7wStF9lk4LQ4mN3CZzMNPO3TUPNgWeXPvFZc1yihsnSMEW/brj2UeI35wI4aPO 04DA== X-Gm-Message-State: AFqh2krqpPvCx3ItaR7CqCQFngw7UQEhpyhM0SMnWwgNqtur0toHrHTU tG5iP2U99BvgiUGIhrA9fXfi1w== X-Received: by 2002:adf:f0c1:0:b0:2bc:67d:c018 with SMTP id x1-20020adff0c1000000b002bc067dc018mr17857786wro.48.1674332943079; Sat, 21 Jan 2023 12:29:03 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id b16-20020adff910000000b002bdf8dd6a8bsm16829383wrr.80.2023.01.21.12.29.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Jan 2023 12:29:02 -0800 (PST) Message-ID: Date: Sat, 21 Jan 2023 21:28:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH 4/4] dt-bindings: hv: Add dt-bindings for VMBus Content-Language: en-US To: Saurabh Singh Sengar Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, daniel.lezcano@linaro.org, tglx@linutronix.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, mikelley@microsoft.com, ssengar@microsoft.com References: <1673887688-19151-1-git-send-email-ssengar@linux.microsoft.com> <1673887688-19151-5-git-send-email-ssengar@linux.microsoft.com> <31d78b4c-1416-d8cb-a187-bf924168ee1e@linaro.org> <20230117151325.GA9806@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <23a7ae1d-cd49-8c78-5284-4134755ea19a@linaro.org> <20230117155258.GA14857@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20230120125143.GA20797@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> From: Krzysztof Kozlowski In-Reply-To: <20230120125143.GA20797@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.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=unavailable 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 20/01/2023 13:51, Saurabh Singh Sengar wrote: > On Fri, Jan 20, 2023 at 12:43:40PM +0100, Krzysztof Kozlowski wrote: >> On 17/01/2023 16:52, Saurabh Singh Sengar wrote: >>> On Tue, Jan 17, 2023 at 04:41:22PM +0100, Krzysztof Kozlowski wrote: >>>> On 17/01/2023 16:13, Saurabh Singh Sengar wrote: >>>>> On Mon, Jan 16, 2023 at 07:55:13PM +0100, Krzysztof Kozlowski wrote: >>>>>> On 16/01/2023 17:48, Saurabh Sengar wrote: >>>>>>> Add dt-bindings for Hyper-V VMBus >>>>>>> >>>>>>> Signed-off-by: Saurabh Sengar >>>>>>> --- >>>>>>> .../devicetree/bindings/hv/msft,vmbus.yaml | 34 ++++++++++++++++++++++ >>>>>> >>>>>> Also, there is no "hv" hardware, so that's not correct location. If your >>>>>> bindings describe firmware, this should go to firmware. Otherwise, this >>>>>> does not look like suitable for DT. We do not describe software stuff in DT. >>>>> >>>>> VMBus is a virtual device this is simmilar to virtio. I can rename this folder to vmbus. >>>>> >>>> >>>> Then virtio directory. The directories are per subsystems (hardware >>>> classes). >>> >>> Apologies if I was not clear, I meant to say this is a device conceptually >>> similar to virtio. But this driver has nothing to do with virtio, we should >> >> Bindings are for hardware, not drivers, so if the device serves the same >> purpose, it's driver differences do not matter. >> >>> be creating a new folder for it OR I am fine moving it under bus if that's >>> okay. >> >> Since you do not have children here, it's not really a bus to fit under >> bus directory... >> >> Probably this should go together with virtio bindings to dedicated >> hypervisor interfaces directory. We do not create directories for >> specific solutions (implementations) with only one or few bindings. >> Directories are for entire classes. > > I am OK to keep it anywhere, but I believe virtio is not its correct place. I am also > concern how will the virtio maintainers will perceive it. Ideally we should be renaming > virtio to virtualization OR hypervisor OR something more generic where both virtio and > VMBus can co-exist. Please let me know if renaming virtio is acceptable. Yes, that's what I was thinking about. I think all of these should be in one place, but named differently (with updates to MAINTAINERS place). Best regards, Krzysztof