Re: [PATCH v5 3/3] arm64: Add architecture support for PCI

2014-03-06 Thread Liviu Dudau
On Fri, Mar 07, 2014 at 01:17:46AM +0100, Arnd Bergmann wrote: > On Thursday 06 March 2014, Liviu Dudau wrote: > > On Tue, Mar 04, 2014 at 10:28:51PM +, Arnd Bergmann wrote: > > > On Tuesday 04 March 2014, Liviu Dudau wrote: > > > > > > > +extern int isa_dma_bridge_buggy; > > > > > > As comme

Re: [PATCH v5 3/3] arm64: Add architecture support for PCI

2014-03-06 Thread Arnd Bergmann
On Thursday 06 March 2014, Liviu Dudau wrote: > On Tue, Mar 04, 2014 at 10:28:51PM +, Arnd Bergmann wrote: > > On Tuesday 04 March 2014, Liviu Dudau wrote: > > > > > +extern int isa_dma_bridge_buggy; > > > > As commented before, I still think we can hardcode this to off > > Unfortunately tha

Re: [PATCH v5 3/3] arm64: Add architecture support for PCI

2014-03-06 Thread Liviu Dudau
On Tue, Mar 04, 2014 at 10:28:51PM +, Arnd Bergmann wrote: > On Tuesday 04 March 2014, Liviu Dudau wrote: > > > +extern int isa_dma_bridge_buggy; > > As commented before, I still think we can hardcode this to off Unfortunately that doesn't work when you have CONFIG_PCI=y. drivers/pci/pci.c

Re: [PATCH v5 3/3] arm64: Add architecture support for PCI

2014-03-06 Thread Arnd Bergmann
On Tuesday 04 March 2014, Liviu Dudau wrote: > +extern int isa_dma_bridge_buggy; As commented before, I still think we can hardcode this to off > +unsigned long pci_address_to_pio(phys_addr_t address) > +{ > + struct ioresource *res; > + > + list_for_each_entry(res, &io_list, list) { > +

[PATCH v5 3/3] arm64: Add architecture support for PCI

2014-03-04 Thread Liviu Dudau
Use the generic host bridge functions to provide support for PCI Express on arm64. There is no support for ISA memory. Signed-off-by: Liviu Dudau create mode 100644 arch/arm64/include/asm/pci.h create mode 100644 arch/arm64/kernel/pci.c diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig ind