RE: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Richard Zhu
rg; > linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [v2] PCI: imx: make msi work without pcieportbus > > On Thu, Dec 13, 2018 at 08:02:11AM +, Richard Zhu wrote: > > MSI_EN of iMX PCIe RC would be asserted when PCIEPORTBUS driver is > > sel

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Bjorn Helgaas
On Thu, Dec 13, 2018 at 08:02:11AM +, Richard Zhu wrote: > MSI_EN of iMX PCIe RC would be asserted when > PCIEPORTBUS driver is selected. > Thus, the MSI works fine on iMX PCIe before. > Assert it unconditionally when MSI is supported. > Otherwise, the MSI wouldn't be triggered although > the

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Lucas Stach
om; andrew.smir...@gmail.com > > > > > > > > Cc: linux-...@vger.kernel.org; > > > > > > > > linux-arm-ker...@lists.infradead.org; > > > > > > > > linux-kernel@vger.kernel.org > > > > Subject: Re: [v2] PCI: imx: make

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Lorenzo Pieralisi
2018年12月13日 17:19 > > > > > > > To: Richard Zhu ; bhelg...@google.com; > > > lorenzo.pieral...@arm.com; andrew.smir...@gmail.com > > > > > > > Cc: linux-...@vger.kernel.org; > > > > > > > linux-arm-ker...@lists.infradead.org

RE: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Richard Zhu
rg; > linux-kernel@vger.kernel.org > Subject: Re: [v2] PCI: imx: make msi work without pcieportbus > > Am Donnerstag, den 13.12.2018, 09:57 + schrieb Richard Zhu: > > Hi Lucas: > > > > > -Original Message- > > > > > From: Lucas S

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Lucas Stach
.com; > > lorenzo.pieral...@arm.com; andrew.smir...@gmail.com > > > > > > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > > linux-kernel@vger.kernel.org > > Subject: Re: [v2] PCI: imx: make msi work without pcieportbus > > > > Hi Richa

RE: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Richard Zhu
rg; > linux-kernel@vger.kernel.org > Subject: Re: [v2] PCI: imx: make msi work without pcieportbus > > Hi Richard, > > Am Donnerstag, den 13.12.2018, 08:02 + schrieb Richard Zhu: > > MSI_EN of iMX PCIe RC would be asserted when PCIEPORTBUS driver is > > selected.

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Lucas Stach
Hi Richard, Am Donnerstag, den 13.12.2018, 08:02 + schrieb Richard Zhu: > MSI_EN of iMX PCIe RC would be asserted when > PCIEPORTBUS driver is selected. > Thus, the MSI works fine on iMX PCIe before. > Assert it unconditionally when MSI is supported. > Otherwise, the MSI wouldn't be triggered

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Baruch Siach
il.com; >> linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >> linux-arm-ker...@lists.infradead.org >> Subject: Re: [v2] PCI: imx: make msi work without pcieportbus >> >> Richard Zhu writes: >> > MSI_EN of iMX PCIe RC would be asserted when PCIEPORTBU

RE: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Richard Zhu
r.kernel.org; > linux-arm-ker...@lists.infradead.org > Subject: Re: [v2] PCI: imx: make msi work without pcieportbus > > Hi Richard, > > One more comment that occurred to me only now. > > Richard Zhu writes: > > MSI_EN of iMX PCIe RC would be asserted when PCIEPORT

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Baruch Siach
Hi Richard, One more comment that occurred to me only now. Richard Zhu writes: > MSI_EN of iMX PCIe RC would be asserted when > PCIEPORTBUS driver is selected. > Thus, the MSI works fine on iMX PCIe before. > Assert it unconditionally when MSI is supported. > Otherwise, the MSI wouldn't be

[v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Richard Zhu
MSI_EN of iMX PCIe RC would be asserted when PCIEPORTBUS driver is selected. Thus, the MSI works fine on iMX PCIe before. Assert it unconditionally when MSI is supported. Otherwise, the MSI wouldn't be triggered although the EP is present and the MSIs are assigned. Signed-off-by: Richard Zhu ---