From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bl2on0080.outbound.protection.outlook.com ([65.55.169.80]:28896 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751005AbbIOSZd (ORCPT ); Tue, 15 Sep 2015 14:25:33 -0400 Message-ID: <55F86295.9030409@caviumnetworks.com> Date: Tue, 15 Sep 2015 11:25:25 -0700 From: David Daney MIME-Version: 1.0 To: Will Deacon CC: David Daney , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Rob Herring , Frank Rowand , "grant.likely@linaro.org" , Bjorn Helgaas , "linux-pci@vger.kernel.org" , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "linux-arm-kernel@lists.infradead.org" , David Daney , , Subject: Re: [PATCH 6/6] PCI: generic: Allow bus default MSI controller to be specified. References: <1442013719-5001-1-git-send-email-ddaney.cavm@gmail.com> <1442013719-5001-7-git-send-email-ddaney.cavm@gmail.com> <20150915175327.GM31157@arm.com> In-Reply-To: <20150915175327.GM31157@arm.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Sender: linux-pci-owner@vger.kernel.org List-ID: On 09/15/2015 10:53 AM, Will Deacon wrote: > On Sat, Sep 12, 2015 at 12:21:59AM +0100, David Daney wrote: >> From: David Daney >> >> If the device tree node for the bus has a "msi-parent" property, use >> that as the default MSI controller for devices on the bus. Add device >> tree binding documentation describing the new property. >> >> This allows the pci-host-generic driver to be used in systems with >> multiple MSI controllers. >> >> Signed-off-by: David Daney >> --- >> .../devicetree/bindings/pci/host-generic-pci.txt | 5 +++++ >> drivers/pci/host/pci-host-generic.c | 15 +++++++++++++-- >> 2 files changed, 18 insertions(+), 2 deletions(-) > > I don't think you need this anymore with 4.3-rc1. The core IRQ subsystem > should take care of parsing and configuring the MSI parents. I will re-test and see if I can make it work. David Daney > > Will > From mboxrd@z Thu Jan 1 00:00:00 1970 From: ddaney@caviumnetworks.com (David Daney) Date: Tue, 15 Sep 2015 11:25:25 -0700 Subject: [PATCH 6/6] PCI: generic: Allow bus default MSI controller to be specified. In-Reply-To: <20150915175327.GM31157@arm.com> References: <1442013719-5001-1-git-send-email-ddaney.cavm@gmail.com> <1442013719-5001-7-git-send-email-ddaney.cavm@gmail.com> <20150915175327.GM31157@arm.com> Message-ID: <55F86295.9030409@caviumnetworks.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 09/15/2015 10:53 AM, Will Deacon wrote: > On Sat, Sep 12, 2015 at 12:21:59AM +0100, David Daney wrote: >> From: David Daney >> >> If the device tree node for the bus has a "msi-parent" property, use >> that as the default MSI controller for devices on the bus. Add device >> tree binding documentation describing the new property. >> >> This allows the pci-host-generic driver to be used in systems with >> multiple MSI controllers. >> >> Signed-off-by: David Daney >> --- >> .../devicetree/bindings/pci/host-generic-pci.txt | 5 +++++ >> drivers/pci/host/pci-host-generic.c | 15 +++++++++++++-- >> 2 files changed, 18 insertions(+), 2 deletions(-) > > I don't think you need this anymore with 4.3-rc1. The core IRQ subsystem > should take care of parsing and configuring the MSI parents. I will re-test and see if I can make it work. David Daney > > Will > From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Daney Subject: Re: [PATCH 6/6] PCI: generic: Allow bus default MSI controller to be specified. Date: Tue, 15 Sep 2015 11:25:25 -0700 Message-ID: <55F86295.9030409@caviumnetworks.com> References: <1442013719-5001-1-git-send-email-ddaney.cavm@gmail.com> <1442013719-5001-7-git-send-email-ddaney.cavm@gmail.com> <20150915175327.GM31157@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150915175327.GM31157@arm.com> Sender: linux-pci-owner@vger.kernel.org To: Will Deacon Cc: David Daney , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Rob Herring , Frank Rowand , "grant.likely@linaro.org" , Bjorn Helgaas , "linux-pci@vger.kernel.org" , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "linux-arm-kernel@lists.infradead.org" , David Daney , lorenzo.pieralisi@arm.com, marc.zyngier@arm.com List-Id: devicetree@vger.kernel.org On 09/15/2015 10:53 AM, Will Deacon wrote: > On Sat, Sep 12, 2015 at 12:21:59AM +0100, David Daney wrote: >> From: David Daney >> >> If the device tree node for the bus has a "msi-parent" property, use >> that as the default MSI controller for devices on the bus. Add device >> tree binding documentation describing the new property. >> >> This allows the pci-host-generic driver to be used in systems with >> multiple MSI controllers. >> >> Signed-off-by: David Daney >> --- >> .../devicetree/bindings/pci/host-generic-pci.txt | 5 +++++ >> drivers/pci/host/pci-host-generic.c | 15 +++++++++++++-- >> 2 files changed, 18 insertions(+), 2 deletions(-) > > I don't think you need this anymore with 4.3-rc1. The core IRQ subsystem > should take care of parsing and configuring the MSI parents. I will re-test and see if I can make it work. David Daney > > Will >