RE: [v5] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-20 Thread Richard Zhu
.@lists.infradead.org; linux-kernel@vger.kernel.org > Subject: Re: [v5] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y > > On Wed, Dec 19, 2018 at 04:45:04AM +, Richard Zhu wrote: > > Assertion of the MSI Enable bit of RC's MSI CAP is mandatory required > > to tri

Re: [v5] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-20 Thread Lorenzo Pieralisi
On Wed, Dec 19, 2018 at 04:45:04AM +, Richard Zhu wrote: > Assertion of the MSI Enable bit of RC's MSI CAP is mandatory required to > trigger MSI on i.MX6 PCIe. > This bit would be asserted when CONFIG_PCIEPORTBUS=y. > Thus, the MSI works fine on i.MX6 PCIe before the commit "f3fdfc4". > >

Re: [v5] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-19 Thread Sven Van Asbroeck
This patch seems to fix the regression on my board: i.MX6 with a tg3-based pcie NIC: CPU identified as i.MX6Q, silicon rev 1.5 tg3 :03:00.0 eth0: Tigon3 [partno(BCM57780) rev 57780001] (PCI Express) Tested-by: Sven Van Asbroeck On Wed, Dec 19, 2018 at 12:25 AM Richard Zhu wrote: > >

[v5] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-18 Thread Richard Zhu
Assertion of the MSI Enable bit of RC's MSI CAP is mandatory required to trigger MSI on i.MX6 PCIe. This bit would be asserted when CONFIG_PCIEPORTBUS=y. Thus, the MSI works fine on i.MX6 PCIe before the commit "f3fdfc4". Assert it unconditionally when MSI is enabled. Otherwise, the MSI wouldn't