From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756140AbcIMKeC (ORCPT ); Tue, 13 Sep 2016 06:34:02 -0400 Received: from mail-db5eur01on0070.outbound.protection.outlook.com ([104.47.2.70]:24416 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755794AbcIMKeA (ORCPT ); Tue, 13 Sep 2016 06:34:00 -0400 From: Po Liu To: Bjorn Helgaas CC: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , Bjorn Helgaas , Shawn Guo , Marc Zyngier , Rob Herring , Roy Zang , Vincent Hu , Stuart Yoder , Leo Li , Arnd Bergmann , "M.H. Lian" , Murali Karicheri Subject: RE: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts Thread-Topic: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts Thread-Index: AQHSA1PJBOe63KnFs0WFewMcsNR64aB2f0IAgABO26A= Date: Tue, 13 Sep 2016 03:02:05 +0000 Message-ID: References: <1465892645-32381-2-git-send-email-po.liu@nxp.com> <1472625442-23309-1-git-send-email-po.liu@nxp.com> <20160912221358.GI23532@localhost> In-Reply-To: <20160912221358.GI23532@localhost> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=po.liu@nxp.com; x-originating-ip: [199.59.225.131] x-ms-office365-filtering-correlation-id: 8cdce959-3b97-4151-53bc-08d3db825870 x-microsoft-exchange-diagnostics: 1;VI1PR0401MB2638;6:Jsyz44+csVeScFojU4vtByM0BTl4W5PdfH4Dh5uiKvEFs6equvZs+BAwcDkOpDyIbyqyqVYUHLd4TRDgs5ZXwTl3vR9RrDVrPuEWeXaCLzzknqdSKk/1zGXqNj2SbO9DN8hjMGxPRrmr10h/jOD7kM7KFBp562dHHV6LPsFTRLos5YbuoKsyBdKxKoRh0D5ZgWPAhtmHEmT0Nv6lcz6xTeZ7eTECWJtYD/4UVK0o2vjJNc9lr1K1rvd0UeGuZzz6XqmdfcmiCHzTGeng1EOFBFqMM1yyoSyRHORpYCjgklJuMiAUDxsiJiHjJmSZzwSTl3ORFwfh878clyYRVP9ZhA==;5:IjHeXP09LjZn6ZNuk9kPw210ullS8RXibgMhf+XCeIXLKGSmEPa/KCgwuEtH2nvCBzbp6us4CofnpJW3zX4FOuqrCuXKH4EZwdg1qHwQQ+jL+KRxM0rwx18Y78tf9Jl1gdvBr83mMsYvx19TOy4KDQ==;24:w/fCjC1AsC7Ul+i3rtWJBWUPqg2kUupegq/xqztKkNPiT5O2sFh70hAQzpNYxjpyi2HskMcADVaJq4A0VFBJCIKsrpgYjkxmK4wfO2OlUE4=;7:tP+BcoRcbUi3CVg6KurPTceCd5/0qtdvfRdvrkee5GhnPW2v4zUOEJ0es6jNPmZWei7UHq65OtNy+aMF9if4xaiBqc3F6aVls+IXVrLG0dy9KYCVINZuKveAmERG1g3s4f/kAAUk04S5XpC1+7zKw7tlSqnLB7iz0x9Z21JEwe/Ojvz1sGn3uDmfISJEUlmsoXeb/4MLGZAHz35LE6UaW+BG+seGQaNHWIu4Ife4gFYKtPVXkBybVZkC+O3CauVN x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0401MB2638; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197)(788757137089)(258649278758335); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026);SRVR:VI1PR0401MB2638;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0401MB2638; x-forefront-prvs: 0064B3273C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(377454003)(189002)(199003)(24454002)(13464003)(33656002)(6116002)(102836003)(5660300001)(5002640100001)(586003)(3846002)(11100500001)(87936001)(7416002)(77096005)(110136003)(15975445007)(97736004)(122556002)(2950100001)(92566002)(2900100001)(54356999)(10400500002)(2906002)(50986999)(106116001)(101416001)(86362001)(76176999)(76576001)(68736007)(189998001)(106356001)(7846002)(81166006)(81156014)(19580395003)(3280700002)(74316002)(4326007)(7736002)(66066001)(9686002)(3660700001)(19580405001)(305945005)(7696004)(8936002)(8676002)(105586002)(422495003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB2638;H:VI1PR0401MB1709.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2016 03:02:05.9595 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2638 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u8DAY7RN022146 Hi Bjorn, Shawn, Rob, Thanks for reply. I'll upload new patches: - separate the patches with arm and arm64 dts for new version. - Modify the binding comments to make it clear for explain the 'aer' property. Best regards, Liu Po -----Original Message----- From: Bjorn Helgaas [mailto:helgaas@kernel.org] Sent: Tuesday, September 13, 2016 6:14 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; Bjorn Helgaas; Shawn Guo; Marc Zyngier; Rob Herring; Roy Zang; Vincent Hu; Stuart Yoder; Leo Li; Arnd Bergmann; M.H. Lian; Murali Karicheri Subject: Re: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts On Wed, Aug 31, 2016 at 02:37:21PM +0800, Po Liu wrote: > NXP some platforms aer interrupt was not MSI/MSI-X/INTx but using > interrupt line independently. This patch add a "aer" > interrupt-names for aer interrupt. > With the interrupt-names "aer", code could probe aer interrupt line > for pcie root port, replace the aer interrupt service irq. > This is intend to fixup the Layerscape platforms which aer interrupt > was not MSI/MSI-X/INTx, but using interrupt line independently. > > Signed-off-by: Po Liu Rob and Shawn had comments here, and I'm not sure they ever got resolved. > --- > changes for V4: > - Add comments explain why to add this patch > - Move the binding changes to pci code patch > > arch/arm/boot/dts/ls1021a.dtsi | 6 ++++-- > arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 18 > +++++++++--------- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | > 16 ++++++++-------- > 3 files changed, 21 insertions(+), 19 deletions(-) > > diff --git a/arch/arm/boot/dts/ls1021a.dtsi > b/arch/arm/boot/dts/ls1021a.dtsi index 368e219..443e50b 100644 > --- a/arch/arm/boot/dts/ls1021a.dtsi > +++ b/arch/arm/boot/dts/ls1021a.dtsi > @@ -634,7 +634,8 @@ > reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */ > 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = ; /* controller interrupt */ > + interrupts = ; /* aer interrupt */ > + interrupt-names = "aer"; > fsl,pcie-scfg = <&scfg 0>; > #address-cells = <3>; > #size-cells = <2>; > @@ -657,7 +658,8 @@ > reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */ > 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = ; > + interrupts = ; /* aer interrupt */ > + interrupt-names = "aer"; > fsl,pcie-scfg = <&scfg 1>; > #address-cells = <3>; > #size-cells = <2>; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > index e669fbd..654071d 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > @@ -527,9 +527,9 @@ > reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ > 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 118 0x4>, /* controller interrupt */ > - <0 117 0x4>; /* PME interrupt */ > - interrupt-names = "intr", "pme"; > + interrupts = <0 117 0x4>, /* PME interrupt */ > + <0 118 0x4>; /* aer interrupt */ > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -552,9 +552,9 @@ > reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ > 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 128 0x4>, > - <0 127 0x4>; > - interrupt-names = "intr", "pme"; > + interrupts = <0 127 0x4>, > + <0 128 0x4>; > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -577,9 +577,9 @@ > reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ > 0x50 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 162 0x4>, > - <0 161 0x4>; > - interrupt-names = "intr", "pme"; > + interrupts = <0 161 0x4>, > + <0 162 0x4>; > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > index 21023a3..58844e8 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > @@ -583,8 +583,8 @@ > reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ > 0x10 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 108 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 108 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -607,8 +607,8 @@ > reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ > 0x12 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 113 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 113 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -631,8 +631,8 @@ > reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ > 0x14 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 118 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 118 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -655,8 +655,8 @@ > reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */ > 0x16 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 123 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 123 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > -- > 2.1.0.27.g96db324 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" > in the body of a message to majordomo@vger.kernel.org More majordomo > info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: Po Liu Subject: RE: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts Date: Tue, 13 Sep 2016 03:02:05 +0000 Message-ID: References: <1465892645-32381-2-git-send-email-po.liu@nxp.com> <1472625442-23309-1-git-send-email-po.liu@nxp.com> <20160912221358.GI23532@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160912221358.GI23532@localhost> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Bjorn Helgaas Cc: "devicetree@vger.kernel.org" , Arnd Bergmann , Marc Zyngier , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Stuart Yoder , "M.H. Lian" , Murali Karicheri , Vincent Hu , Roy Zang , Bjorn Helgaas , Leo Li , Shawn Guo , "linux-arm-kernel@lists.infradead.org" List-Id: devicetree@vger.kernel.org Hi Bjorn, Shawn, Rob, Thanks for reply. I'll upload new patches: - separate the patches with arm and arm64 dts for new version. - Modify the binding comments to make it clear for explain the 'aer' property. Best regards, Liu Po -----Original Message----- From: Bjorn Helgaas [mailto:helgaas@kernel.org] Sent: Tuesday, September 13, 2016 6:14 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; Bjorn Helgaas; Shawn Guo; Marc Zyngier; Rob Herring; Roy Zang; Vincent Hu; Stuart Yoder; Leo Li; Arnd Bergmann; M.H. Lian; Murali Karicheri Subject: Re: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts On Wed, Aug 31, 2016 at 02:37:21PM +0800, Po Liu wrote: > NXP some platforms aer interrupt was not MSI/MSI-X/INTx but using > interrupt line independently. This patch add a "aer" > interrupt-names for aer interrupt. > With the interrupt-names "aer", code could probe aer interrupt line > for pcie root port, replace the aer interrupt service irq. > This is intend to fixup the Layerscape platforms which aer interrupt > was not MSI/MSI-X/INTx, but using interrupt line independently. > > Signed-off-by: Po Liu Rob and Shawn had comments here, and I'm not sure they ever got resolved. > --- > changes for V4: > - Add comments explain why to add this patch > - Move the binding changes to pci code patch > > arch/arm/boot/dts/ls1021a.dtsi | 6 ++++-- > arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 18 > +++++++++--------- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | > 16 ++++++++-------- > 3 files changed, 21 insertions(+), 19 deletions(-) > > diff --git a/arch/arm/boot/dts/ls1021a.dtsi > b/arch/arm/boot/dts/ls1021a.dtsi index 368e219..443e50b 100644 > --- a/arch/arm/boot/dts/ls1021a.dtsi > +++ b/arch/arm/boot/dts/ls1021a.dtsi > @@ -634,7 +634,8 @@ > reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */ > 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = ; /* controller interrupt */ > + interrupts = ; /* aer interrupt */ > + interrupt-names = "aer"; > fsl,pcie-scfg = <&scfg 0>; > #address-cells = <3>; > #size-cells = <2>; > @@ -657,7 +658,8 @@ > reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */ > 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = ; > + interrupts = ; /* aer interrupt */ > + interrupt-names = "aer"; > fsl,pcie-scfg = <&scfg 1>; > #address-cells = <3>; > #size-cells = <2>; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > index e669fbd..654071d 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > @@ -527,9 +527,9 @@ > reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ > 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 118 0x4>, /* controller interrupt */ > - <0 117 0x4>; /* PME interrupt */ > - interrupt-names = "intr", "pme"; > + interrupts = <0 117 0x4>, /* PME interrupt */ > + <0 118 0x4>; /* aer interrupt */ > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -552,9 +552,9 @@ > reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ > 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 128 0x4>, > - <0 127 0x4>; > - interrupt-names = "intr", "pme"; > + interrupts = <0 127 0x4>, > + <0 128 0x4>; > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -577,9 +577,9 @@ > reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ > 0x50 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 162 0x4>, > - <0 161 0x4>; > - interrupt-names = "intr", "pme"; > + interrupts = <0 161 0x4>, > + <0 162 0x4>; > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > index 21023a3..58844e8 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > @@ -583,8 +583,8 @@ > reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ > 0x10 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 108 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 108 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -607,8 +607,8 @@ > reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ > 0x12 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 113 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 113 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -631,8 +631,8 @@ > reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ > 0x14 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 118 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 118 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -655,8 +655,8 @@ > reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */ > 0x16 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 123 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 123 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > -- > 2.1.0.27.g96db324 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" > in the body of a message to majordomo@vger.kernel.org More majordomo > info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: From: Po Liu To: Bjorn Helgaas Subject: RE: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts Date: Tue, 13 Sep 2016 03:02:05 +0000 Message-ID: References: <1465892645-32381-2-git-send-email-po.liu@nxp.com> <1472625442-23309-1-git-send-email-po.liu@nxp.com> <20160912221358.GI23532@localhost> In-Reply-To: <20160912221358.GI23532@localhost> MIME-Version: 1.0 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "devicetree@vger.kernel.org" , Arnd Bergmann , Marc Zyngier , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Stuart Yoder , "M.H. Lian" , Murali Karicheri , Vincent Hu , Roy Zang , Bjorn Helgaas , Leo Li , Shawn Guo , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+bjorn=helgaas.com@lists.infradead.org List-ID: Hi Bjorn, Shawn, Rob, Thanks for reply. I'll upload new patches: - separate the patches with arm and arm64 dts for new version. - Modify the binding comments to make it clear for explain the 'aer' property. Best regards, Liu Po -----Original Message----- From: Bjorn Helgaas [mailto:helgaas@kernel.org] Sent: Tuesday, September 13, 2016 6:14 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; Bjorn Helgaas; Shawn Guo; Marc Zyngier; Rob Herring; Roy Zang; Vincent Hu; Stuart Yoder; Leo Li; Arnd Bergmann; M.H. Lian; Murali Karicheri Subject: Re: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts On Wed, Aug 31, 2016 at 02:37:21PM +0800, Po Liu wrote: > NXP some platforms aer interrupt was not MSI/MSI-X/INTx but using > interrupt line independently. This patch add a "aer" > interrupt-names for aer interrupt. > With the interrupt-names "aer", code could probe aer interrupt line > for pcie root port, replace the aer interrupt service irq. > This is intend to fixup the Layerscape platforms which aer interrupt > was not MSI/MSI-X/INTx, but using interrupt line independently. > > Signed-off-by: Po Liu Rob and Shawn had comments here, and I'm not sure they ever got resolved. > --- > changes for V4: > - Add comments explain why to add this patch > - Move the binding changes to pci code patch > > arch/arm/boot/dts/ls1021a.dtsi | 6 ++++-- > arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 18 > +++++++++--------- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | > 16 ++++++++-------- > 3 files changed, 21 insertions(+), 19 deletions(-) > > diff --git a/arch/arm/boot/dts/ls1021a.dtsi > b/arch/arm/boot/dts/ls1021a.dtsi index 368e219..443e50b 100644 > --- a/arch/arm/boot/dts/ls1021a.dtsi > +++ b/arch/arm/boot/dts/ls1021a.dtsi > @@ -634,7 +634,8 @@ > reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */ > 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = ; /* controller interrupt */ > + interrupts = ; /* aer interrupt */ > + interrupt-names = "aer"; > fsl,pcie-scfg = <&scfg 0>; > #address-cells = <3>; > #size-cells = <2>; > @@ -657,7 +658,8 @@ > reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */ > 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = ; > + interrupts = ; /* aer interrupt */ > + interrupt-names = "aer"; > fsl,pcie-scfg = <&scfg 1>; > #address-cells = <3>; > #size-cells = <2>; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > index e669fbd..654071d 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > @@ -527,9 +527,9 @@ > reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ > 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 118 0x4>, /* controller interrupt */ > - <0 117 0x4>; /* PME interrupt */ > - interrupt-names = "intr", "pme"; > + interrupts = <0 117 0x4>, /* PME interrupt */ > + <0 118 0x4>; /* aer interrupt */ > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -552,9 +552,9 @@ > reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ > 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 128 0x4>, > - <0 127 0x4>; > - interrupt-names = "intr", "pme"; > + interrupts = <0 127 0x4>, > + <0 128 0x4>; > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -577,9 +577,9 @@ > reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ > 0x50 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 162 0x4>, > - <0 161 0x4>; > - interrupt-names = "intr", "pme"; > + interrupts = <0 161 0x4>, > + <0 162 0x4>; > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > index 21023a3..58844e8 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > @@ -583,8 +583,8 @@ > reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ > 0x10 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 108 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 108 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -607,8 +607,8 @@ > reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ > 0x12 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 113 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 113 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -631,8 +631,8 @@ > reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ > 0x14 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 118 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 118 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -655,8 +655,8 @@ > reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */ > 0x16 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 123 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 123 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > -- > 2.1.0.27.g96db324 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" > in the body of a message to majordomo@vger.kernel.org More majordomo > info at http://vger.kernel.org/majordomo-info.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: po.liu@nxp.com (Po Liu) Date: Tue, 13 Sep 2016 03:02:05 +0000 Subject: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts In-Reply-To: <20160912221358.GI23532@localhost> References: <1465892645-32381-2-git-send-email-po.liu@nxp.com> <1472625442-23309-1-git-send-email-po.liu@nxp.com> <20160912221358.GI23532@localhost> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Bjorn, Shawn, Rob, Thanks for reply. I'll upload new patches: - separate the patches with arm and arm64 dts for new version. - Modify the binding comments to make it clear for explain the 'aer' property. Best regards, Liu Po -----Original Message----- From: Bjorn Helgaas [mailto:helgaas at kernel.org] Sent: Tuesday, September 13, 2016 6:14 AM To: Po Liu Cc: linux-pci at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-kernel at vger.kernel.org; devicetree at vger.kernel.org; Bjorn Helgaas; Shawn Guo; Marc Zyngier; Rob Herring; Roy Zang; Vincent Hu; Stuart Yoder; Leo Li; Arnd Bergmann; M.H. Lian; Murali Karicheri Subject: Re: [PATCH v4 1/2] nxp/dts: add pcie aer interrupt-name property in the dts On Wed, Aug 31, 2016 at 02:37:21PM +0800, Po Liu wrote: > NXP some platforms aer interrupt was not MSI/MSI-X/INTx but using > interrupt line independently. This patch add a "aer" > interrupt-names for aer interrupt. > With the interrupt-names "aer", code could probe aer interrupt line > for pcie root port, replace the aer interrupt service irq. > This is intend to fixup the Layerscape platforms which aer interrupt > was not MSI/MSI-X/INTx, but using interrupt line independently. > > Signed-off-by: Po Liu Rob and Shawn had comments here, and I'm not sure they ever got resolved. > --- > changes for V4: > - Add comments explain why to add this patch > - Move the binding changes to pci code patch > > arch/arm/boot/dts/ls1021a.dtsi | 6 ++++-- > arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 18 > +++++++++--------- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | > 16 ++++++++-------- > 3 files changed, 21 insertions(+), 19 deletions(-) > > diff --git a/arch/arm/boot/dts/ls1021a.dtsi > b/arch/arm/boot/dts/ls1021a.dtsi index 368e219..443e50b 100644 > --- a/arch/arm/boot/dts/ls1021a.dtsi > +++ b/arch/arm/boot/dts/ls1021a.dtsi > @@ -634,7 +634,8 @@ > reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */ > 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = ; /* controller interrupt */ > + interrupts = ; /* aer interrupt */ > + interrupt-names = "aer"; > fsl,pcie-scfg = <&scfg 0>; > #address-cells = <3>; > #size-cells = <2>; > @@ -657,7 +658,8 @@ > reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */ > 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = ; > + interrupts = ; /* aer interrupt */ > + interrupt-names = "aer"; > fsl,pcie-scfg = <&scfg 1>; > #address-cells = <3>; > #size-cells = <2>; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > index e669fbd..654071d 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > @@ -527,9 +527,9 @@ > reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ > 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 118 0x4>, /* controller interrupt */ > - <0 117 0x4>; /* PME interrupt */ > - interrupt-names = "intr", "pme"; > + interrupts = <0 117 0x4>, /* PME interrupt */ > + <0 118 0x4>; /* aer interrupt */ > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -552,9 +552,9 @@ > reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ > 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 128 0x4>, > - <0 127 0x4>; > - interrupt-names = "intr", "pme"; > + interrupts = <0 127 0x4>, > + <0 128 0x4>; > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -577,9 +577,9 @@ > reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ > 0x50 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 162 0x4>, > - <0 161 0x4>; > - interrupt-names = "intr", "pme"; > + interrupts = <0 161 0x4>, > + <0 162 0x4>; > + interrupt-names = "pme", "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > index 21023a3..58844e8 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > @@ -583,8 +583,8 @@ > reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ > 0x10 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 108 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 108 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -607,8 +607,8 @@ > reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ > 0x12 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 113 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 113 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -631,8 +631,8 @@ > reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ > 0x14 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 118 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 118 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > @@ -655,8 +655,8 @@ > reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */ > 0x16 0x00000000 0x0 0x00002000>; /* configuration space */ > reg-names = "regs", "config"; > - interrupts = <0 123 0x4>; /* Level high type */ > - interrupt-names = "intr"; > + interrupts = <0 123 0x4>; /* aer interrupt */ > + interrupt-names = "aer"; > #address-cells = <3>; > #size-cells = <2>; > device_type = "pci"; > -- > 2.1.0.27.g96db324 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" > in the body of a message to majordomo at vger.kernel.org More majordomo > info at http://vger.kernel.org/majordomo-info.html