Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3414565pxb; Mon, 4 Oct 2021 01:42:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxETznOdeeojmRY+oTLNe/dllP/gaZf1OPqg6V6GwOLL74p8ehBFYA6YJPngCY/ISxZoWZ X-Received: by 2002:a17:906:2887:: with SMTP id o7mr15513795ejd.425.1633336974793; Mon, 04 Oct 2021 01:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633336974; cv=none; d=google.com; s=arc-20160816; b=YNy+jm/voGOqFZB8pO1FAVUtjKgmb9Z8FiELKBl+ldHJsRDanBkXzc9glkDD8SwF4t dh9+5irM5Os+rYGuvw5G+n/S65SPv69sYBEEUjgkwJCXK3b/E/KLLk/Nfx0gt4XQTu2l SCE7xbFIh+L0zwErLM6u2+HdN1dWNToLGOXkc3okdROxGtIQVKsEAf5WlgbFnhfa0j6/ rTpOfT+NYP9GNi0ifrvVPjZ/Q3aR5SMGUWeJWAAIsnOg7LtFH7BITRblha+0GN7r5J/b QpsLdlrZbr25hwAEEfkbexYqgvLyeAImOurkaW3QS8Lil+RxxUz0Q/ICXSq6dd/Tw1xt WcDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=7FDWh4rFG+KGyXRPUUpA8hFKZAqPXems/+dX3C+LGDU=; b=zkMt440WOqUY3BDi0hGAi/A7tKRV5CYDcrprnc1YRSRRX56WpnF77mfKAjp1dUHV5p JSSdiuMmRn7XB1xK3LOEnG24PCwF7mAwGGGZJPOJObSOdgaBwdFOmLk7SNDZh1o+VjKJ vfHaViH9nmmmb7zs468da5Dd08mxe05hu1UIZi+2LzURNsqFJkug6EsyAcXsXs+ZWNqp G3A2rO8+ylyM199IDSBD3sC7WiThiR1t5+FK0c1x0hCCYonamqDU3gtyaEyvIhRdvz4w lCpch5t0xrVWIj3MnV3tk2fAmwAdobP5Zi9PZ5/MayUFjBxCHzPHWHamVB4mVJ5LUaak B6Fg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si19151713edb.603.2021.10.04.01.42.31; Mon, 04 Oct 2021 01:42:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231546AbhJDIkm (ORCPT + 99 others); Mon, 4 Oct 2021 04:40:42 -0400 Received: from foss.arm.com ([217.140.110.172]:49040 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbhJDIkl (ORCPT ); Mon, 4 Oct 2021 04:40:41 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 66FA71FB; Mon, 4 Oct 2021 01:38:52 -0700 (PDT) Received: from lpieralisi (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6ABC93F66F; Mon, 4 Oct 2021 01:38:50 -0700 (PDT) Date: Mon, 4 Oct 2021 09:38:45 +0100 From: Lorenzo Pieralisi To: Marc Zyngier Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Bjorn Helgaas , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Alyssa Rosenzweig , Stan Skowronek , Mark Kettenis , Sven Peter , Hector Martin , Robin Murphy , Joey Gouly , Joerg Roedel , kernel-team@android.com Subject: Re: [PATCH v5 00/14] PCI: Add support for Apple M1 Message-ID: <20211004083845.GA22336@lpieralisi> References: <20210929163847.2807812-1-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210929163847.2807812-1-maz@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 05:38:33PM +0100, Marc Zyngier wrote: > This is v5 of the series adding PCIe support for the M1 SoC. Not a lot > has changed this time around, and most of what I was saying in [1] is > still valid. > > Very little has changed code wise (a couple of bug fixes). The series > however now carries a bunch of DT updates so that people can actually > make use of PCIe on an M1 box (OK, not quite, you will still need [2], > or whatever version replaces it). The corresponding bindings are > either already merged, or queued for 5.16 (this is the case for the > PCI binding). > > It all should be in a state that makes it mergeable (yeah, I said that > last time... I mean it this time! ;-). > > As always, comments welcome. > > M. > > [1] https://lore.kernel.org/r/20210922205458.358517-1-maz@kernel.org > [2] https://lore.kernel.org/r/20210921222956.40719-2-joey.gouly@arm.com > > Alyssa Rosenzweig (2): > PCI: apple: Add initial hardware bring-up > PCI: apple: Set up reference clocks when probing > > Marc Zyngier (10): > irqdomain: Make of_phandle_args_to_fwspec generally available > of/irq: Allow matching of an interrupt-map local to an interrupt > controller > PCI: of: Allow matching of an interrupt-map local to a PCI device > PCI: apple: Add INTx and per-port interrupt support > PCI: apple: Implement MSI support > iommu/dart: Exclude MSI doorbell from PCIe device IOVA range > PCI: apple: Configure RID to SID mapper on device addition > arm64: dts: apple: t8103: Add PCIe DARTs > arm64: dts: apple: t8103: Add root port interrupt routing > arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC address > > Mark Kettenis (2): > arm64: apple: Add pinctrl nodes > arm64: apple: Add PCIe node > > MAINTAINERS | 7 + > arch/arm64/boot/dts/apple/t8103-j274.dts | 23 + > arch/arm64/boot/dts/apple/t8103.dtsi | 203 ++++++ > drivers/iommu/apple-dart.c | 27 + > drivers/of/irq.c | 17 +- > drivers/pci/controller/Kconfig | 17 + > drivers/pci/controller/Makefile | 1 + > drivers/pci/controller/pcie-apple.c | 822 +++++++++++++++++++++++ > drivers/pci/of.c | 10 +- > include/linux/irqdomain.h | 4 + > kernel/irq/irqdomain.c | 6 +- > 11 files changed, 1127 insertions(+), 10 deletions(-) > create mode 100644 drivers/pci/controller/pcie-apple.c I have applied (with very minor log changes) patches [1-9] to pci/apple for v5.16, I expect the dts changes to go via the arm-soc tree separately, please let me know if that works for you. Thanks, Lorenzo