linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add dma_set_mask to pci_controller_ops
@ 2015-04-28  5:12 Daniel Axtens
  2015-04-28  5:12 ` [PATCH 1/3] powerpc/powernv: Specialise pci_controller_ops for each controller type Daniel Axtens
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Axtens @ 2015-04-28  5:12 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Daniel Axtens

This adds dma_set_mask to pci_controller_ops.

Currently it's only implemented on PowerNV, because it gets very messy
on systems that have more than just simple PCI busses.

On the plus side, this series massively simplifies the code path on
PowerNV (see patch #3).

It is based on my recent MSI patch series[0], although it doesn't
depend on it. It could easily be respun on top of -rc1 if required.

It does depend on a PowerNV bug fix[1].

Tested on PowerNV big-endian.

Regards,
Daniel

[0] http://lkml.kernel.org/r/1428985683-24767-1-git-send-email-dja@axtens.net
[1] http://patchwork.ozlabs.org/patch/464765/

Daniel Axtens (3):
  powerpc/powernv: Specialise pci_controller_ops for each controller
    type
  powerpc/pci: add dma_set_mask to pci_controller_ops
  powerpc/powernv: Move dma_set_mask from pnv_phb to pci_controller_ops

 arch/powerpc/include/asm/pci-bridge.h       |  2 ++
 arch/powerpc/kernel/dma.c                   | 11 +++++++++++
 arch/powerpc/platforms/powernv/pci-ioda.c   | 25 ++++++++++++++++++-------
 arch/powerpc/platforms/powernv/pci-p5ioc2.c | 12 +++++++++++-
 arch/powerpc/platforms/powernv/pci.c        | 23 +++--------------------
 arch/powerpc/platforms/powernv/pci.h        |  8 ++++++--
 arch/powerpc/platforms/powernv/powernv.h    |  8 --------
 arch/powerpc/platforms/powernv/setup.c      |  8 --------
 8 files changed, 51 insertions(+), 46 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-28  5:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28  5:12 [PATCH 0/3] Add dma_set_mask to pci_controller_ops Daniel Axtens
2015-04-28  5:12 ` [PATCH 1/3] powerpc/powernv: Specialise pci_controller_ops for each controller type Daniel Axtens
2015-04-28  5:12 ` [PATCH 2/3] powerpc/pci: add dma_set_mask to pci_controller_ops Daniel Axtens
2015-04-28  5:12 ` [PATCH 3/3] powerpc/powernv: Move dma_set_mask from pnv_phb " Daniel Axtens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).