Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1490045
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode |
| Date | 2016-09-23 15:10 +0200 |
| Message-ID | <skyoN-44f-3@gated-at.bofh.it> (permalink) |
| References | <scYq5-16w-9@gated-at.bofh.it> <siyCB-17w-3@gated-at.bofh.it> <siyCB-17w-5@gated-at.bofh.it> <siyCB-17w-1@gated-at.bofh.it> <siB7r-2Pf-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Sep 18, 2016 at 03:37:27AM +0000, Po Liu wrote: > Hi Shawn, > > > > -----Original Message----- > > From: Shawn Guo [mailto:shawnguo@kernel.org] > > Sent: Sunday, September 18, 2016 8:52 AM > > To: Po Liu > > Cc: linux-pci@vger.kernel.org; linux-arm-kernel@lists.infradead.org; > > linux-kernel@vger.kernel.org; devicetree@vger.kernel.org; Roy Zang; Arnd > > Bergmann; Marc Zyngier; Stuart Yoder; Leo Li; M.H. Lian; Murali > > Karicheri; Bjorn Helgaas; Mingkai Hu > > Subject: Re: [PATCH v5 3/3] pci:aer: add support aer interrupt with none > > MSI/MSI-X/INTx mode > > > > On Tue, Sep 13, 2016 at 12:40:59PM +0800, Po Liu wrote: > > > On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. > > > When chip support the aer interrupt with none MSI/MSI-X/INTx mode, > > > maybe there is interrupt line for aer pme etc. Search the interrupt > > > number in the fdt file. Then fixup the dev->irq with it. > > > > > > Signed-off-by: Po Liu <po.liu@nxp.com> > > > > Will the new kernel work with existing/old DTB? I'm trying to > > understand the dependency between driver and DTS changes. > > Yes, We've never use name 'intr' before. So we remove it is ok. > 'aer' is a dts name for researching it's true interrupt number by > kernel. This patch is first time to use name 'aer'. So it must be > compatible with existing/old DTB. Please explain why you are not breaking compatibility in the commit message. I asked for this on v2. > > > --- > > > changes for v5: > > > - Add clear 'aer' interrup-names description > > > > > > .../devicetree/bindings/pci/layerscape-pci.txt | 11 +++++--- > > > drivers/pci/pcie/portdrv_core.c | 31 > > +++++++++++++++++++--- > > > 2 files changed, 35 insertions(+), 7 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt > > > b/Documentation/devicetree/bindings/pci/layerscape-pci.txt > > > index 41e9f55..101d0a7 100644 > > > --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt > > > +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt > > > @@ -18,8 +18,10 @@ Required properties: > > > - reg: base addresses and lengths of the PCIe controller > > > - interrupts: A list of interrupt outputs of the controller. Must > > contain an > > > entry for each entry in the interrupt-names property. > > > -- interrupt-names: Must include the following entries: > > > - "intr": The interrupt that is asserted for controller interrupts > > > +- interrupt-names: It may be include the following entries: "may be" is not okay. It should be "must" or explain when an interrupt would not be present. Really, differences in interrupts means you need different compatible strings. Rob > > > + "aer": The interrupt that is asserted for aer interrupt > > > + "pme": The interrupt that is asserted for pme interrupt > > > + ......
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode Shawn Guo <shawnguo@kernel.org> - 2016-09-18 03:00 +0200
RE: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode Po Liu <po.liu@nxp.com> - 2016-09-18 05:40 +0200
Re: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode Shawn Guo <shawnguo@kernel.org> - 2016-09-20 14:50 +0200
RE: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode Po Liu <po.liu@nxp.com> - 2016-09-21 13:30 +0200
Re: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode Shawn Guo <shawnguo@kernel.org> - 2016-10-01 00:20 +0200
Re: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode Rob Herring <robh@kernel.org> - 2016-09-23 15:10 +0200
RE: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode Po Liu <po.liu@nxp.com> - 2016-09-26 12:10 +0200
csiph-web