Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752562AbbGOR3l (ORCPT ); Wed, 15 Jul 2015 13:29:41 -0400 Received: from foss.arm.com ([217.140.101.70]:40192 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751969AbbGOR3k (ORCPT ); Wed, 15 Jul 2015 13:29:40 -0400 Date: Wed, 15 Jul 2015 18:29:35 +0100 From: Will Deacon To: Mark Rutland Cc: David Daney , "linux-arm-kernel@lists.infradead.org" , Catalin Marinas , Bjorn Helgaas , "linux-pci@vger.kernel.org" , Thomas Gleixner , Jason Cooper , Robert Richter , "linux-kernel@vger.kernel.org" , David Daney Subject: Re: [PATCH 0/5] arm64, pci: Add ECAM/PCIe support for Cavium ThunderX Message-ID: <20150715172935.GE17107@arm.com> References: <1436979285-8177-1-git-send-email-ddaney.cavm@gmail.com> <20150715170701.GA19480@leverpostej> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150715170701.GA19480@leverpostej> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2294 Lines: 53 On Wed, Jul 15, 2015 at 06:07:01PM +0100, Mark Rutland wrote: > On Wed, Jul 15, 2015 at 05:54:40PM +0100, David Daney wrote: > > From: David Daney > > > > The subject pretty much says it all. The first four patches tweak the > > infrastructure a little so that we can get required behavior. The > > final patch adds the drivers. > > > > David Daney (5): > > pci: Add is_pcierc element to struct pci_bus > > gic-its: Allow pci_requester_id to be overridden. > > arm64, pci: Allow RC drivers to supply pcibios_add_device() > > implementation. > > irqchip: gic-v3: Add gic_get_irq_domain() to get the irqdomain of the > > GIC. > > PCI: Add host drivers for Cavium ThunderX processors. > > > > arch/arm64/include/asm/pci.h | 3 + > > arch/arm64/kernel/pci.c | 10 + > > drivers/irqchip/irq-gic-v3-its.c | 14 +- > > drivers/irqchip/irq-gic-v3.c | 5 + > > drivers/pci/host/Kconfig | 12 + > > drivers/pci/host/Makefile | 2 + > > drivers/pci/host/pcie-thunder-pem.c | 462 ++++++++++++++++++++++++++++++++++++ > > drivers/pci/host/pcie-thunder.c | 422 ++++++++++++++++++++++++++++++++ > > drivers/pci/probe.c | 2 + > > include/linux/irqchip/arm-gic-v3.h | 3 + > > include/linux/pci.h | 1 + > > 11 files changed, 935 insertions(+), 1 deletion(-) > > I note that the driver attempts to probe with DT, yet there is no DT > binding in this patch, nor has the devicetree mailing list been placed > on Cc. > > A DT binding document is mandatory for anything probing via DT. > > Please write one, and submit it (as its own patch) with the next version > of this series as per > Documentation/devicetree/bindings/submitting-patches.txt. Furthermore, the RequesterID -> DeviceID transformation should be described in device-tree as an offset on each PCI host controller node, rather than computed dynamically by picking apart the (software-assigned) PCI domain ID. For ACPI, IORT should be used. Will -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/