Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp110876lqm; Mon, 10 Jun 2024 14:37:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRzkLy5/i4AGza9hz6oTuZ9XV/3gQL5Ud2RzN1azFOlB/MNjEHIpUMwKvqQWqxP5YeOD7DGXCCfQWJZ3WYZ/ckscFMz/qMTc30pMiYZA== X-Google-Smtp-Source: AGHT+IHy1RQABGjW4Kkzv5Jum4We4VU2CyG3CFdobHU31I+iz7eUwevFA4W1FNhEZyNh8X8yFPW+ X-Received: by 2002:a05:6a20:7f9a:b0:1af:b0b6:a35f with SMTP id adf61e73a8af0-1b2f968da4amr12816279637.2.1718055479001; Mon, 10 Jun 2024 14:37:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718055478; cv=pass; d=google.com; s=arc-20160816; b=CdD/vZBHtkdQf+GSE78xyOExiwYB0qOXAE8wp0gcdYJ50haIs/5p8RbmVWXKb2oplh nBwb9Gdc9cerYnD064FKZCERnq0RV4172ENplai8nUJZCGfIV+Oa3UYdUfoHXzUcOipv 5NB1uThohfd2CgEyaYa+e+vko3XY5yOAi6ECbshqlL/nH91gpoypqs+m49cWjID9kTVq cZSKoGlbk8PXEyKkrFpt50KpAiO/v98m9UhT4p9I4OqLyaYPcgz9FuKa9IyNMPpGBmLO FqoBMtDfsoVaGgsOZe1mTt9juEQt6QRaLK3K3wj8w/xjseRC7iUr3TC/U1SSI23naI3M d7Ug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cs6VV9gide7ohk9FI5VnDk2EnpFc5PJZxVR0Hj1suqs=; fh=veq3zkU4kS7UFlTTi1B5XgX5lM5m/Fje1ze58mjdp+Q=; b=hGIU+59QipaF7usoo6znbVr7BHd0BMxuyVyd8bwZG0vSHl3QDHT97vjhADMRULxhBW Nn3Pkd1XWldyONLRx756dekGvxPNAj5yW378qSpqOHyj/ZHcWPA+WzBGocQ9i9+XX9e0 1ZEuFakSuoNN0sDQ3LtTNz6ziGlzYJw8muJ8Jt5hqGfFh7ik55B+iHfRsf2T0NzlyibT ERWYRKeuN4mtaDUzlTumg5GyBTZlRQ3XoZDFndCUPrOQm/+r4nha+wQI6KD5+I1qnM1Y a8ZRhNJnFbKEIsYUqB7feuAL0Px2P48kR/vJvJ9CRGtU0P2TUago504M/1XVb4/pq2Sb 9a1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eK7GeKlS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208926-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208926-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2a376948si4256621a12.808.2024.06.10.14.37.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 14:37:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208926-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eK7GeKlS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208926-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208926-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9A820282A19 for ; Mon, 10 Jun 2024 21:37:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A428A14D719; Mon, 10 Jun 2024 21:37:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eK7GeKlS" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BCB5A6F31F; Mon, 10 Jun 2024 21:37:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718055456; cv=none; b=j/jCdumX0gK+sxw8ooFh51hNEVyAJkKl0PBjfNw+RrFAPV1Qakfcq3pil6ueKiWY4iAHrmBYWuIEwn9A1u3uil6x9VqvK+i7GVQXNxppkzXYED5quxMDYC/ZInTJovZ3QuyAiM8vZqDPC9hvsBNLLjCMZQpFpcgSt412ZeEdAIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718055456; c=relaxed/simple; bh=Hu+ZYAxQIeqrj2N96pQMniXoSv97DArchied9P7Vm1k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Dr05P9TvSCXDQz4pjuvaTpTdudzWVN6Qi0qG7kQ/wq+b1x4J+7HeD9ekV8PslpCJ2hHkOD2qH3myDrKHTsTjx+BIOZm4iaOEfo2uX2UdWSwWuIYw451FvMB1Yt6KOLclyhk0OEfPrgvkFKpqA+BV688AN9rorM9+15v0wgsS7Xc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eK7GeKlS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12DF7C4AF50; Mon, 10 Jun 2024 21:37:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718055456; bh=Hu+ZYAxQIeqrj2N96pQMniXoSv97DArchied9P7Vm1k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eK7GeKlSJb8Ckg8qzh4cf2ZYk8nis9CGFj3j4T3Q4QfgbeOCCm0FV/6SFblR3J7si pxfoNeGyWC4xbIiuoMVSdGD+JZvpzwxpW7z/gnBc9Z0pgeMWs1fVZ7MIjrS/WEXRCv h61wr6uzmBp9FtmoJiwoVXPupCCZew8yrOKV5e895AMnBVJQM/eejzhmspRrRRnie6 jTv4Q78kVKB+O64bYc6jWMI/KQ5kUBVgzKZoTZT6ugNUUEmpVElHOVLtKIJfalEVXQ raIKCmtKVsjBCrb0AVnlpkB3kj6MGqvWDfiYNQorQelmaTYWDxymZSm44Hmo5gxcEW JEZh2WqqKsCLQ== Date: Mon, 10 Jun 2024 15:37:35 -0600 From: Rob Herring To: Bjorn Helgaas Cc: Herve Codina , Simon Horman , Sai Krishna Gajula , Thomas Gleixner , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lee Jones , Arnd Bergmann , Horatiu Vultur , UNGLinuxDriver@microchip.com, Andrew Lunn , Heiner Kallweit , Russell King , Saravana Kannan , Bjorn Helgaas , Philipp Zabel , Lars Povlsen , Steen Hegelund , Daniel Machon , Alexandre Belloni , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Allan Nielsen , Luca Ceresoli , Thomas Petazzoni Subject: Re: [PATCH v2 17/19] PCI: of_property: Add interrupt-controller property in PCI device nodes Message-ID: <20240610213735.GA3112053-robh@kernel.org> References: <20240527161450.326615-18-herve.codina@bootlin.com> <20240606192612.GA814032@bhelgaas> 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 Content-Disposition: inline In-Reply-To: <20240606192612.GA814032@bhelgaas> On Thu, Jun 06, 2024 at 02:26:12PM -0500, Bjorn Helgaas wrote: > On Mon, May 27, 2024 at 06:14:44PM +0200, Herve Codina wrote: > > PCI devices and bridges DT nodes created during the PCI scan are created > > with the interrupt-map property set to handle interrupts. > > > > In order to set this interrupt-map property at a specific level, a > > phandle to the parent interrupt controller is needed. On systems that > > are not fully described by a device-tree, the parent interrupt > > controller may be unavailable (i.e. not described by the device-tree). > > > > As mentioned in the [1], avoiding the use of the interrupt-map property > > and considering a PCI device as an interrupt controller itself avoid the > > use of a parent interrupt phandle. > > > > In that case, the PCI device itself as an interrupt controller is > > responsible for routing the interrupts described in the device-tree > > world (DT overlay) to the PCI interrupts. > > > > Add the 'interrupt-controller' property in the PCI device DT node. > > > > [1]: https://lore.kernel.org/lkml/CAL_Jsq+je7+9ATR=B6jXHjEJHjn24vQFs4Tvi9=vhDeK9n42Aw@mail.gmail.com/ > > > > Signed-off-by: Herve Codina > > No objection from me, but I'd like an ack/review from Rob. Given it is more DT patches in the series, how about I take them and this one with your ack instead? Rob