Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1911081rwb; Thu, 15 Dec 2022 16:31:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf7+lYvnNqicRo83jEv5OBm+fFL+YY67gav7FRiAUJDJEH85rksM9COFBh/MSLeFCDdKuE1f X-Received: by 2002:a17:90a:dc02:b0:219:b330:7f6d with SMTP id i2-20020a17090adc0200b00219b3307f6dmr31275536pjv.24.1671150674485; Thu, 15 Dec 2022 16:31:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671150674; cv=none; d=google.com; s=arc-20160816; b=EEKHwqrSDW9UnXm9fOZ9ra2WI0U8vgEzOX/53MqX07lv/t2eZpk+mFcodgi6O4p/hz CE3h+atQMNjCUiFqAKjEkHilDo5PviKUlkTs24qHklkzOuZjrj+Yd9PrguYIqEPjJyKS zYtTISXuT9UrzFS4OPAB7VmL3MoOg4kVvsgsTyNhjWNIXVR4vCmapyAV9689/wrW6nfi msvcivBHc1zcWr1fUPu56N2BQuJUX0vLJrYSP81tw4ZPrJMWAFo9zg72kcmDOOsBwvK+ zd+VZMSHDAP/M0yqeAYNrZgSMrVkxyrz0SvKNJue8eLApbw4lLe9tj0gE5kkhfjvOyGI lgaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DdS1VBmXCCXBX8TinHnWD3eIoJeeunNj3INyqaAgzmM=; b=YTkoSnDy84AqCxXbg4m8Gdcy3MkNUZFh02FJpFX/UgfDqwPExNqSqC3wRai4xP72Ff 2umhBhUh6x3oYp23TdGW3zzCrRRh0aB/0swz4/v3qoKEz10KMNSgTZYeQj+eZZyvkUcy 4KMN/CCbvHR7v2uImCO7ofjNJA6uMuGGrl1HM9++9BbQ0yTt6c82k63jcTKLAbeJMpY5 t4VXWHycXeIHy/XAggtNI1oM+mMwgnuqQ6TzntDQujGXTV0FPXngIt3ciJJi+X08QNvk Ket06TAGLp9sJogZpYWd7h7FN0TQbF6Cr+we4w8k5ztcWdhSjNrtvJOEuyZMGAqvzq+g 921Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=pqk36VHA; 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=REJECT sp=REJECT dis=NONE) header.from=baikalelectronics.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5-20020a17090aec0500b00219feadd8a1si704922pjy.64.2022.12.15.16.31.05; Thu, 15 Dec 2022 16:31:14 -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=@baikalelectronics.ru header.s=post header.b=pqk36VHA; 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=REJECT sp=REJECT dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229680AbiLOX4Q (ORCPT + 68 others); Thu, 15 Dec 2022 18:56:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229843AbiLOX4M (ORCPT ); Thu, 15 Dec 2022 18:56:12 -0500 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C636D5E0BD; Thu, 15 Dec 2022 15:56:06 -0800 (PST) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 0AA65E0EDD; Fri, 16 Dec 2022 02:56:05 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-type:content-type:date :from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=post; bh=DdS1VBmXCCXBX8TinHnW D3eIoJeeunNj3INyqaAgzmM=; b=pqk36VHArTcUIKGkiilo7EAfp5TR3QEqbh81 IWTLBkhqDfBbbixagCo2eH4XKaDtlTH9euHoaBcaj8zN6rmT5Eu40KOS6etsULx1 JWm06gxzjlekdk1gSVSz/QI1Na92LLhPKqSB1mOix0CzAWP8OXj92dMpE5zcniHS jGW1XPA= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id B14B2E0E6B; Fri, 16 Dec 2022 02:56:04 +0300 (MSK) Received: from mobilestation (10.8.30.10) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 16 Dec 2022 02:56:04 +0300 Date: Fri, 16 Dec 2022 02:56:03 +0300 From: Serge Semin To: Thierry Reding CC: Bjorn Helgaas , Rob Herring , Vidya Sagar , Jon Hunter , Bjorn Helgaas , Olof Johansson , Arnd Bergmann , ARM , Linux Kernel Mailing List , Linux Next Mailing List , Lorenzo Pieralisi , Stephen Rothwell Subject: Re: linux-next: manual merge of the pci tree with the arm-soc tree Message-ID: <20221215235603.pwbgwarxutjq2cq7@mobilestation> References: <20221213195313.GA200257@bhelgaas> <20221213200733.GA201693@bhelgaas> <20221213233649.zmmiskezdponleuc@mobilestation> <20221214220735.5fv6agbkwamvfmbv@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.8.30.10] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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 Thu, Dec 15, 2022 at 01:06:29PM +0100, Thierry Reding wrote: > On Thu, Dec 15, 2022 at 01:07:35AM +0300, Serge Semin wrote: > > On Wed, Dec 14, 2022 at 03:37:35PM +0100, Thierry Reding wrote: > > > On Wed, Dec 14, 2022 at 02:36:49AM +0300, Serge Semin wrote: > > > > On Tue, Dec 13, 2022 at 02:07:33PM -0600, Bjorn Helgaas wrote: > > > > > On Tue, Dec 13, 2022 at 01:53:13PM -0600, Bjorn Helgaas wrote: > > > > > > On Tue, Dec 13, 2022 at 10:03:10PM +0300, Serge Semin wrote: > > > > > > > On Tue, Dec 13, 2022 at 05:48:53PM +0100, Thierry Reding wrote: > > > > > > > > On Tue, Dec 13, 2022 at 10:21:03AM -0600, Bjorn Helgaas wrote: > > > > > > > > > On Mon, Dec 05, 2022 at 09:57:38AM +1100, Stephen Rothwell wrote: > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > Today's linux-next merge of the pci tree got a conflict in: > > > > > > > > > > > > > > > > > > > > Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml > > > > > > > > > > > > > > > > > > > > between commit: > > > > > > > > > > > > > > > > > > > > 5c3741492d2e ("dt-bindings: PCI: tegra234: Add ECAM support") > > > > > > > > > > > > > > > > > > > > from the arm-soc tree and commit: > > > > > > > > > > > > > > > > > > > > 4cc13eedb892 ("dt-bindings: PCI: dwc: Add reg/reg-names common properties") > > > > > > > > > > > > > > > > > > > > from the pci tree. > > > > > > > > > > > > > > > > > > > > I didn't know how to fix this up, so I just used the latter (and so lost > > > > > > > > > > the addition of "ecam"). > > > > > > > > > > > > > > > > > > Did I miss a suggested resolution for this? > > > > > > > > > > > > > > > We had a brief discussion about this in another thread. So basically > > > > > > > > Stephen's resolution is fine here and the plan is to instead add the > > > > > > > > ECAM bits that the Tegra patch does in a separate patch on top of > > > > > > > > Serge's patch. I should get around to sending that patch tomorrow. > > > > > > > > > > > > > > Actually the discussion still goes. I haven't got a respond to my > > > > > > > last suggestion which seems to me more reasonable than extending the > > > > > > > DT-bindings with another vendor-specific reg-name. @Bjorn, please join > > > > > > > the discussion here: > > > > > > > https://lore.kernel.org/linux-pci/20221114155333.234496-2-jonathanh@nvidia.com/ > > > > > > > > > > > > > > > > Sorry, it's really too late for discussion. I need to send the v6.2 > > > > > > pull request today or at the very latest, tomorrow, so the only thing > > > > > > to decide is how to resolve the merge conflict in the simplest > > > > > > possible way. Unless there's a very compelling reason to resolve it > > > > > > differently than Stephen did, that's going to be the answer. > > > > > > > > Sigh... One more redundant vendor-specific name. I wish I was in the > > > > Cc-list of the original series. > > > > > > > > > > > > > > To be more specific, the current answer is this (which is the same as > > > > > what's in next-20221213): > > > > > > > > > > https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/tree/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml?id=f64171fdd171 > > > > > > > > Thanks. I've got it from the @Stephen message. @Thierry will submit a > > > > new patch with the same 'ecam'-names change rebased on top of the > > > > updated DT-schema. > > > > > > > > If Rob doesn't mind this being broken in linux-next for a few more days, > > > I can discuss this internally with our PCI and UEFI teams and find out > > > if your proposal could be made to work. > > > > That would be awesome if you managed to work with the already defined > > 'config' reg-name so the DT-schema would look a bit cleaner. Thanks > > in advance. > > Looks like Linus has now pulled this in and resolved the conflict > himself. I think there is some benefit in "ecam" being more specific > than "config" and with ECAM being a PCIe standard mapping, it doesn't > seem like it's worth overcomplicating things by overloading the meaning > of "config". It's vise versa actually. Adding the new name overcomplicates the DT-interface for no reason. Using the 'config' name for mapping both the unrolled and single-sided cfg-spaces would look much cleaner. -Serge(y) > > Thierry