Re: [PATCH] PCI: dra7xx: program outbound atu with correct address

2016-05-03 Thread Kishon Vijay Abraham I
On Tuesday 03 May 2016 10:20 PM, Bjorn Helgaas wrote: > On Mon, May 02, 2016 at 04:09:33PM -0500, Bjorn Helgaas wrote: >> On Mon, May 02, 2016 at 04:54:40PM +0200, Niklas Cassel wrote: >>> From: Niklas Cassel >>> >>> commit 1488aefa37a4 ("PCI: designware: Move Root

Re: [PATCH] PCI: dra7xx: program outbound atu with correct address

2016-05-03 Thread Kishon Vijay Abraham I
On Tuesday 03 May 2016 10:20 PM, Bjorn Helgaas wrote: > On Mon, May 02, 2016 at 04:09:33PM -0500, Bjorn Helgaas wrote: >> On Mon, May 02, 2016 at 04:54:40PM +0200, Niklas Cassel wrote: >>> From: Niklas Cassel >>> >>> commit 1488aefa37a4 ("PCI: designware: Move Root Complex >>> setup code to

Re: [PATCH] PCI: dra7xx: program outbound atu with correct address

2016-05-03 Thread Bjorn Helgaas
On Mon, May 02, 2016 at 04:09:33PM -0500, Bjorn Helgaas wrote: > On Mon, May 02, 2016 at 04:54:40PM +0200, Niklas Cassel wrote: > > From: Niklas Cassel > > > > commit 1488aefa37a4 ("PCI: designware: Move Root Complex > > setup code to dw_pcie_setup_rc()") broke dra7xx > >

Re: [PATCH] PCI: dra7xx: program outbound atu with correct address

2016-05-03 Thread Bjorn Helgaas
On Mon, May 02, 2016 at 04:09:33PM -0500, Bjorn Helgaas wrote: > On Mon, May 02, 2016 at 04:54:40PM +0200, Niklas Cassel wrote: > > From: Niklas Cassel > > > > commit 1488aefa37a4 ("PCI: designware: Move Root Complex > > setup code to dw_pcie_setup_rc()") broke dra7xx > > by moving code from

Re: [PATCH] PCI: dra7xx: program outbound atu with correct address

2016-05-02 Thread Bjorn Helgaas
On Mon, May 02, 2016 at 04:54:40PM +0200, Niklas Cassel wrote: > From: Niklas Cassel > > commit 1488aefa37a4 ("PCI: designware: Move Root Complex > setup code to dw_pcie_setup_rc()") broke dra7xx > by moving code from dw_pcie_host_init to dw_pcie_setup_rc. > > Fix this

Re: [PATCH] PCI: dra7xx: program outbound atu with correct address

2016-05-02 Thread Bjorn Helgaas
On Mon, May 02, 2016 at 04:54:40PM +0200, Niklas Cassel wrote: > From: Niklas Cassel > > commit 1488aefa37a4 ("PCI: designware: Move Root Complex > setup code to dw_pcie_setup_rc()") broke dra7xx > by moving code from dw_pcie_host_init to dw_pcie_setup_rc. > > Fix this by doing the cpu to bus

[PATCH] PCI: dra7xx: program outbound atu with correct address

2016-05-02 Thread Niklas Cassel
From: Niklas Cassel commit 1488aefa37a4 ("PCI: designware: Move Root Complex setup code to dw_pcie_setup_rc()") broke dra7xx by moving code from dw_pcie_host_init to dw_pcie_setup_rc. Fix this by doing the cpu to bus calculation before calling dw_pcie_setup_rc. Fixes:

[PATCH] PCI: dra7xx: program outbound atu with correct address

2016-05-02 Thread Niklas Cassel
From: Niklas Cassel commit 1488aefa37a4 ("PCI: designware: Move Root Complex setup code to dw_pcie_setup_rc()") broke dra7xx by moving code from dw_pcie_host_init to dw_pcie_setup_rc. Fix this by doing the cpu to bus calculation before calling dw_pcie_setup_rc. Fixes: 1488aefa37a4 ("PCI: