From mboxrd@z Thu Jan 1 00:00:00 1970 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 88D2449654; Thu, 12 Sep 2024 17:00:55 +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=1726160455; cv=none; b=Kt+I6RlttKVY6RBrhFvxUN0DLQmOROvgkB/DmQIw21ihsuwB1Biy06/o5t100emtKhE4PXav7Oox39malKrTffIpu4/E/EhB86e4GSzNmwU9PgMuMJ3AHera0ovQDDFCGH9PZfChIxLSW3EtBA6oFIHRQoFqqLXNobKEdC+MpmY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726160455; c=relaxed/simple; bh=UDKMDUCUwWVXn9aUo/LFf70emdXSaz9qd8L0RE6dHN4=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=hu8dQvygcCeFBu2YgzPT09172CoZ3GkWU0U7juhnOACAgeC49JabMnDnQVbfEGCmcwzhDu+ll7+bMyqq+ELPrG24p2NC10JVQDvETbFD/lmAtFO3MKwbnIytMWnBOKHfu7ElLuv+KkKe1OAct1sfEMWpbQgm6kDuNHCSWec0nek= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mDF/dz1e; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mDF/dz1e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A14CEC4CEC3; Thu, 12 Sep 2024 17:00:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726160455; bh=UDKMDUCUwWVXn9aUo/LFf70emdXSaz9qd8L0RE6dHN4=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=mDF/dz1ec0OQiVPo0b5i0DSy1dXUfD1Gg5jPKs0WrFVVfZc09uFPI1Mj14yfCInfy tiGWr3CN1aHP5AX/whkpHWZmq9iBz4pvwTUX5oxrG1X1V5Ilz5hcOeHVkkiNDoEFE8 7LXONGdrCPS1+ta3kPL8deLye8eDnGBW+kwkbvGhcwj8PK+IqxTgSUAzV95wgnE4hC PB/Pmrso03xFZsC2dVmfj9/uOd8gLUf1046rjlvdfA9ZBE/g/sWH6YXk0PmmCCEmkq b3VaDl7zEbHn1LtDCht/sYhdKbd3i6nr5DZeZdJ8OvQR4QNOGKb8Y7ZX/A/bsuhyCq 3Jwd5J6pdG6DQ== Date: Thu, 12 Sep 2024 12:00:52 -0500 From: Bjorn Helgaas To: Herve Codina Cc: Geert Uytterhoeven , Andy Shevchenko , Simon Horman , Lee Jones , Arnd Bergmann , Derek Kiernan , Dragan Cvetic , Greg Kroah-Hartman , Bjorn Helgaas , Philipp Zabel , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Rob Herring , Saravana Kannan , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Horatiu Vultur , Andrew Lunn , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Allan Nielsen , Luca Ceresoli , Thomas Petazzoni Subject: Re: [PATCH v5 1/8] misc: Add support for LAN966x PCI device Message-ID: <20240912170052.GA677163@bhelgaas> Precedence: bulk X-Mailing-List: linux-pci@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: <20240808154658.247873-2-herve.codina@bootlin.com> On Thu, Aug 08, 2024 at 05:46:50PM +0200, Herve Codina wrote: > Add a PCI driver that handles the LAN966x PCI device using a device-tree > overlay. This overlay is applied to the PCI device DT node and allows to > describe components that are present in the device. > > The memory from the device-tree is remapped to the BAR memory thanks to > "ranges" properties computed at runtime by the PCI core during the PCI > enumeration. > > The PCI device itself acts as an interrupt controller and is used as the > parent of the internal LAN966x interrupt controller to route the > interrupts to the assigned PCI INTx interrupt. > > Signed-off-by: Herve Codina > --- > drivers/misc/Kconfig | 24 ++++ > drivers/misc/Makefile | 3 + > drivers/misc/lan966x_pci.c | 215 ++++++++++++++++++++++++++++++++++ > drivers/misc/lan966x_pci.dtso | 167 ++++++++++++++++++++++++++ > drivers/pci/quirks.c | 1 + Acked-by: Bjorn Helgaas # drivers/pci/quirks.c > diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c > index a2ce4e08edf5..bae2dd99017c 100644 > --- a/drivers/pci/quirks.c > +++ b/drivers/pci/quirks.c > @@ -6245,6 +6245,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0xa76e, dpc_log_size); > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_XILINX, 0x5020, of_pci_make_dev_node); > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_XILINX, 0x5021, of_pci_make_dev_node); > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_REDHAT, 0x0005, of_pci_make_dev_node); > +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_EFAR, 0x9660, of_pci_make_dev_node); > > /* > * Devices known to require a longer delay before first config space access > -- > 2.45.0 >