Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp497029lqp; Tue, 11 Jun 2024 10:13:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXy74tEIBIfOfcdOKpxp/8y6hJequyvjJKxzm2picSFcnIWJvSDFdycs3PdD+s+aq+HPUIh6Wf6qs39kbupWVgK5BHSsIaru37pQfRvVg== X-Google-Smtp-Source: AGHT+IGmcVZCrThzqV5l+ijEUhWl1Klh29fae5UOBJiPyoNs6gTOWAGzuEtiLTxKvnhhMwVbvXLF X-Received: by 2002:a05:620a:4455:b0:795:4a03:8032 with SMTP id af79cd13be357-7954a0380e9mr1407538585a.52.1718125994507; Tue, 11 Jun 2024 10:13:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718125994; cv=pass; d=google.com; s=arc-20160816; b=Um4H6u042sXXs00nlgIGB+ve8M57rtM+ofjNOWSpEsg0+IZvfQG0d6f+6hbEpN4mUN 9efME8Xzi2j5MoWhcW/mqDcqMjIK8ExcyUwyigNT1fo/LUBkYURkvKbUmAxkmkk0QEQY 1WApvQmVUetZ8ElSZzZY4QN1DViX6GbXejcLxZwEL9t+CTSwcWPSs0B9nv6+dU/iU70O E6d0DQnMqf36pGH1pRCH6fwUyuGtH2G9ja7e7PuFph1mk+2V9PelPA+b5aXZTTBOAQE9 rAsr5aeSCkyZncpKMccGxgoDqoar1K0zMEDYoMhuetQdOmEXqukSX+dQVV8wjgxG0RPZ C5Vg== 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:message-id:subject:cc:to:from :date:dkim-signature; bh=IjXq1QzmMFSs/7NcI/ZG8/Tt6wNGm5QfzE648IPmrn0=; fh=Qt6UHGkEe4BYd+bDcBQHMnrczA0KF/ZexAmeu3Upxu4=; b=UBfE1m8QV4ighHEzaQMykHI7F34AFsdo1UYQfiBHeKOBxhyURZZgy4yarwdAuD1Bg0 OgfPqbkBeLPNlKvXuzk9Sjeo17IxvVM8C7vSq3Fnsvq2ujmJcxLlXt97VHPNFxnKh5OA 2vAuw6oba8kcc3mYsgASHBN7zCE0HAzSI2txe5DyyPmeVdJCSLnFA+YyeNdSTMB7fQSq NihASWi9IvHoT4UuJbsm5invVYTCDnLbvBRPXXe2f0INewJw8ddlNZ19CxiMQrjrcr78 ggggp3aId7UwhW8ZNyY7jM5uh1I1M/XeABwcTl62XOQqBOzxkim5tSv6J5DByrEx2tI7 NFEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YYJSgajD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210311-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210311-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-795331cae26si1424045985a.272.2024.06.11.10.13.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 10:13:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210311-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YYJSgajD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210311-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210311-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2589A1C2337B for ; Tue, 11 Jun 2024 17:13:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D7FA482FA; Tue, 11 Jun 2024 17:13:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YYJSgajD" 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 64A5C4207A; Tue, 11 Jun 2024 17:13:02 +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=1718125982; cv=none; b=gfZ011fhHXxIN2Q0244ubZx+qf5BV8dy/Q4NQUQACCw5UNqHtXEYv08+98Dv+TXBgxPtw/CcXsA2k+NoKeS71tDjuWeQhKD7E228zzENCyE8VzZvBBaIV927/MBKtyRMlz+sQBNIDKnhll2/emMPrrlj394h6X5YVNnseYNbbTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718125982; c=relaxed/simple; bh=VPJiEyN1LjxU1D7rLJKPD/845LAmaZGNHNFrrRwhQ2Y=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=Rp4eC+paGV9lMqqhVdyHypTbDVngyesJ6KjpU9KcP7hv56BWVixk9tba0HD489cf1s6zUk2GiYzqvE0uRLIF8eK2FpXy54Mkt0cS61qvl3Kkc87JxmZsMEr4GNFSZNZe9c33nWBzyuknHzqtjQl+yheqPoMYDA0zBltIaLLisR0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YYJSgajD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9AE42C2BD10; Tue, 11 Jun 2024 17:13:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718125981; bh=VPJiEyN1LjxU1D7rLJKPD/845LAmaZGNHNFrrRwhQ2Y=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=YYJSgajDnEwTI9UWwe+OfG3g4ifsQqHnPYOEk/a5k078qBJvllVmjvPZqyXJMYttu NzqjT0YViP/tvdgTVpnUYtKbAgLI+DzzVg6PjJ88iELDdgdZfMwXjAE1TzzwvaTI82 4IFdoQBAdDPLzHighuW3XgN1+IL8MBr0ZGTTsfcW2JloXY7AFProGh18NIZGeTLvz6 VvyTIxb7JubsQhcQOSaqoKBH+IQZG0vX+C1UBJkVIh5SnB7lOP0vqSPx8D3jg0dlmt 2Fcc0mN9ZIsfmHmGQneiIjejDxwnEZ8kENbGn/ex+jQigrQabi04W3a/f65I+f/jNn duZZGW7RwJ5Mw== Date: Tue, 11 Jun 2024 12:13:00 -0500 From: Bjorn Helgaas To: Rob Herring 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: <20240611171300.GA990134@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: <20240610213735.GA3112053-robh@kernel.org> On Mon, Jun 10, 2024 at 03:37:35PM -0600, Rob Herring wrote: > 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? Sure. There's very little PCI content here, so I didn't plan to take them; I just thought this needed at least your ack :) Acked-by: Bjorn Helgaas