linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Alistair Popple <alistair@popple.id.au>
To: linuxppc-dev@lists.ozlabs.org
Cc: Alistair Popple <alistair@popple.id.au>
Subject: [PATCH 0/2] iommu: Support pages size other than 4K
Date: Tue,  1 Oct 2013 13:54:08 +1000	[thread overview]
Message-ID: <1380599650-9541-1-git-send-email-alistair@popple.id.au> (raw)

This series of patches adds support for iommu page sizes other than
4K. Currently iommu page sizes are hardcoded to 4K. This series does
not actually change the page size but adds support for doing so.

It has been tested on a pSeries machine.

Alistair Popple (2):
  iommu: Add support for iommu page sizes other than 4K
  iommu: Update platform initialisation of iommu to use it_page_shift

 arch/powerpc/include/asm/iommu.h       |   28 ++++++++------
 arch/powerpc/kernel/dma-iommu.c        |    4 +-
 arch/powerpc/kernel/iommu.c            |   64 ++++++++++++++++----------------
 arch/powerpc/kernel/vio.c              |   20 +++++-----
 arch/powerpc/platforms/cell/iommu.c    |   14 ++++---
 arch/powerpc/platforms/powernv/pci.c   |    3 +-
 arch/powerpc/platforms/pseries/iommu.c |   10 +++--
 arch/powerpc/platforms/pseries/setup.c |    4 +-
 drivers/net/ethernet/ibm/ibmveth.c     |    9 +++--
 9 files changed, 85 insertions(+), 71 deletions(-)

-- 
1.7.10.4

             reply	other threads:[~2013-10-01  3:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-01  3:54 Alistair Popple [this message]
2013-10-01  3:54 ` [PATCH 1/2] iommu: Add support for iommu page sizes other than 4K Alistair Popple
2013-10-01  3:54 ` [PATCH 2/2] iommu: Update platform initialisation of iommu to use it_page_shift Alistair Popple
2013-10-01  4:12   ` Michael Ellerman
2013-10-01  7:13     ` Alistair Popple

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=1380599650-9541-1-git-send-email-alistair@popple.id.au \
    --to=alistair@popple.id.au \
    --cc=linuxppc-dev@lists.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).