From: Daniel Axtens <dja@axtens.net>
To: linuxppc-dev@ozlabs.org
Cc: Daniel Axtens <dja@axtens.net>
Subject: [PATCH 0/3] Add dma_set_mask to pci_controller_ops
Date: Tue, 28 Apr 2015 15:12:04 +1000 [thread overview]
Message-ID: <1430197927-24814-1-git-send-email-dja@axtens.net> (raw)
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
next reply other threads:[~2015-04-28 5:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-28 5:12 Daniel Axtens [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1430197927-24814-1-git-send-email-dja@axtens.net \
--to=dja@axtens.net \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).