Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp395483lqs; Thu, 13 Jun 2024 13:13:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYnsegtRBkGYM8zYOUgAWCq3HDcKyLFY7KwvXoLkYytctk+4RDniKRyihVkeYpUafXLXwRvTJZOO1MdQjqcjW1rLwlAvCfuwZWXLgnkw== X-Google-Smtp-Source: AGHT+IHQ5kJK05RHP72Otu+bWs9OQb8mxFoa9LyXWz8q4OIK28qeVU/01ypYIYUaASNh2JYzQvXZ X-Received: by 2002:a17:907:6b86:b0:a6f:62ba:9d36 with SMTP id a640c23a62f3a-a6f62ba9fe9mr25545966b.5.1718309620113; Thu, 13 Jun 2024 13:13:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718309620; cv=pass; d=google.com; s=arc-20160816; b=fuRWgiCXaE8SSXfFhX7feQ+RCDbziulFrvsbRbnOy5+eoO8JQr4Fptkjks94riWKFO BtzxOtCQZPiYmyREdd+ZuCvguOiUzb2axVSeub1DEl4fpi6W7/XS0/+Ddn6wqhdDoEga XB/9Mit0Zv4OYgPnohNAALbUjeIPeICpMux5zgIITRJqV87EDX+Q2mmDuvyBwT5RiUjt gaDATL0d1ZPQikciMz3M06D1cfzFRKJ2l4XM5r0xEDsPF4L+xVVflrn67exqTO2XuuDD spqV+DD5FlbC8GpvOJyZVxO8ilYHgi/ToVnnXleXT/ZUsYSjzlXd/qSSQ10u2XMMcS4W tuIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=mk+g9xfTX1y8ydAd/9q/Wve105ATtPnkkH1Zzk/M+Lc=; fh=5cdEyGy/oYuNkC4AmV0KQlDnSQk1zJyOl7AYU1s/mfQ=; b=hz9GdBOPmd5UBoh3CY+b5Z5yHVz8p72E7/IqI3npAjmkVVxKeknT104QAK0C1Zh6ma MBrhqMX66HO/SpwHDcqr0OHBeBq1T1JeTCiRoDMYwCnpxc/JitwrgcDWBZPXJmWyfSir s8oBOtYPsdYgEKocVAwM0uGxjWFf92gW3opn1e8qyK9+XntKQw6DvgetmUs+pnMJue9z iut2cy+sSvId5HBcid/enu8E4zAkok2KblcY/0h0AyTv6R0PGehR17RZaeicZrQxFjH0 nZV+lWNqCTuqmrjNYi6vqHS+Zp9MIUZdLxbQG5O1bDuH0GWjOhQR7f3kZv1VMES/I3hy NjfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F+NGYBMf; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-213971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56e820easi103717366b.995.2024.06.13.13.13.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 13:13:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F+NGYBMf; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-213971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CDF061F23B36 for ; Thu, 13 Jun 2024 20:13:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85CF4139CF2; Thu, 13 Jun 2024 20:13:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="F+NGYBMf" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BACD078C80; Thu, 13 Jun 2024 20:13:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718309609; cv=none; b=QkmiTzfx0pnKvCycg2lM8UWIUcdITLInB8liTcfxgSt5QGYi4EKfDdYaYuliy0zN51zosqvo6KOT4o9jtcuYt7jM5VrGbvJvsyB7m0d2M1m/FrUSDCY0AVAt24+JKzZA9xJYwmuStWLRH+yn2dLCyG/gK/zRGV5fe6PlnXuvlTg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718309609; c=relaxed/simple; bh=G6I+tiBGGMSLsR0tz+OV9tBUoiDJ7Ijy7tbjP5zhCsY=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=FP9S9o87jpRG3gkmEbkjI4Jy3PI46k0mCGPy5/b9+6OTIiIJLoMpk1GEutqJp8irwaRgPKZ1rbgUm182Ti3oirIMfC4s43uF32oG7KdJgPwaBQVS5qACPoyrRDXYTWElFpKksmDi3WwyMIGq5GIhdkJuchxyA5rItdb47oleBvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=F+NGYBMf; arc=none smtp.client-ip=192.198.163.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718309608; x=1749845608; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=G6I+tiBGGMSLsR0tz+OV9tBUoiDJ7Ijy7tbjP5zhCsY=; b=F+NGYBMfZwS6M5uttcSQdQxppDHsC0iUrL98nGewldXlFp6gUMoEI6Sz N//OKKDUG2roFeL7bTV5P7ZEwL1BRVdjNKzvbRKXYrwWaIsAe2kS6UrzH 8zj2YNpL6/NQywvFGInHfnAsd9/wmEODnJZ3AZCkZaGx0+P9BKsFTuTIT jaT5sup9ab1hU2cTba3T3qRcnUq2Zb37fS+33AkBr1h8XbAoxU2/+FB+K TSwDKTRMBoJ81jrqDJI8zt5s5UjPR/KMaXIOaOlNRCVh3hIhfgK3MxTjq Mu0vq+/Ie/OBsLzt7OxwoL9x7N6QXSAnRc9Jwhe1jq/KXVzgNzrHURd0B g==; X-CSE-ConnectionGUID: atiIDKjMTfSUWIZ5FqsJLA== X-CSE-MsgGUID: Gfq791A4QK6E8nSrMxNkpA== X-IronPort-AV: E=McAfee;i="6700,10204,11102"; a="25841053" X-IronPort-AV: E=Sophos;i="6.08,236,1712646000"; d="scan'208";a="25841053" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2024 13:13:27 -0700 X-CSE-ConnectionGUID: aP4YqvWsSXCVaXYJEkhp+w== X-CSE-MsgGUID: EkxNsMyxQXSHzqF/O/96+A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,236,1712646000"; d="scan'208";a="40926394" Received: from sj-4150-psse-sw-opae-dev2.sj.intel.com ([10.233.115.162]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2024 13:13:26 -0700 Date: Thu, 13 Jun 2024 13:13:26 -0700 (PDT) From: matthew.gerlach@linux.intel.com X-X-Sender: mgerlach@sj-4150-psse-sw-opae-dev2 To: Rob Herring cc: Bjorn Helgaas , lpieralisi@kernel.org, kw@linux.com, bhelgaas@google.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joyce.ooi@intel.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 2/2] PCI: altera: support dt binding update In-Reply-To: <20240613175131.GA2070202-robh@kernel.org> Message-ID: References: <20240611170410.GA989554@bhelgaas> <20240613175131.GA2070202-robh@kernel.org> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed On Thu, 13 Jun 2024, Rob Herring wrote: > On Wed, Jun 12, 2024 at 08:12:05AM -0700, matthew.gerlach@linux.intel.com wrote: >> >> >> On Tue, 11 Jun 2024, Bjorn Helgaas wrote: >> >>> On Tue, Jun 11, 2024 at 11:35:25AM -0500, matthew.gerlach@linux.intel.com wrote: >>>> From: Matthew Gerlach >>>> >>>> Add support for the device tree binding update. As part of >>>> converting the binding document from text to yaml, with schema >>>> validation, a device tree subnode was added to properly map >>>> legacy interrupts. Maintain backward compatibility with previous binding. >>> >>> If something was *added* to the binding, I think it would be helpful >>> to split that into two patches: (1) convert to YAML with zero >>> functional changes, (2) add the new stuff. Adding something at the >>> same time as changing the format makes it hard to review. > > The policy for conversions is changes to match reality are fine, just > need to be noted in the commit message. That generally implies no driver > or dts changes which is not the case here. > >> Thanks for feedback. It was during the conversion to YAML that a problem >> with the original binding was discovered. As Rob Herring pointed out in >> https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240513205913.313592-1-matthew.gerlach@linux.intel.com/ >> >> "Making the PCI host the interrupt parent didn't even work in the kernel >> until somewhat recently (maybe a few years now). That's why a bunch of PCI >> hosts have an interrupt-controller child node." >> >> This was an attempt to fix the problem. I can resubmit a conversion to YAML >> with zero functional changes. > > I wasn't suggesting you fix it. Just something I noticed looking at > the other issue. If no one noticed or cared, why bother? It should work > fine for recent kernels. Thanks for the feedback. I can resubmit a single conversion commit that passes the schema check by adding 3 address fields as you suggested. I will also mention this slight modification in the commit message. Matthew > > Rob >