Thread (48 messages) 48 messages, 10 authors, 2014-09-22

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

From: Arnd Bergmann <arnd@arndb.de>
Date: 2014-08-19 12:40:58
Also in: linux-arch, linux-arm-kernel, linux-pci, lkml

On Tuesday 19 August 2014, Catalin Marinas wrote:
On Mon, Aug 18, 2014 at 10:30:54PM +0100, Liviu Dudau wrote:
quoted
At this point I would like to hear more from people doing the conversion of
the drivers. I cannot answer fully for all arm or arm64 drivers.
As I read the description of pcibios_add_device(), it is meant as an
architecture hook. While it's nice to generalise this, I'm not sure we
we can find a common denominator. For example, we may want to call
set_dma_ops() as powerpc does but the ops would be arm64 specific (so
even the __weak implementation may not be used by any architecture).
Right. I'm a strong advocate of the idea of having no architecture specific
parts in the PCI support, but I can see the set_dma_ops() call as a
good reason to make an exception here.

We could add another layer of indirection for the purpose of API purity
here, to call an architecture specific DMA setup function, but it doesn't
really add that much benefits, in particular when the DMA setup is currently
in flux as well.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help