From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Cc: aik@au1.ibm.com, anton@au1.ibm.com, paulus@samba.org,
sowmini.varadhan@oracle.com, davem@davemloft.net
Subject: [PATCH v5 RFC 0/3] Generic IOMMU pooled allocator
Date: Sun, 22 Mar 2015 15:22:51 -0400 [thread overview]
Message-ID: <cover.1426986386.git.sowmini.varadhan@oracle.com> (raw)
Follows up on the feedback in the thread at
http://www.spinics.net/lists/sparclinux/msg13493.html
- removed ->cookie_to_index and ->demap indirection from the iommu_tbl_ops
The caller needs to call these functions as needed, before invoking
the generic arena allocator functions.
- added the "skip_span_boundary" argument to iommu_tbl_pool_init() for
those callers like LDC which do no care about span boundary checks.
Sowmini (2):
Break up monolithic iommu table/lock into finer graularity pools and
lock
Make sparc64 use scalable lib/iommu-common.c functions
Sowmini Varadhan (1):
Make LDC use common iommu poll management functions
arch/sparc/include/asm/iommu_64.h | 7 +-
arch/sparc/kernel/iommu.c | 187 +++++++++++---------------------
arch/sparc/kernel/iommu_common.h | 8 --
arch/sparc/kernel/ldc.c | 172 ++++++++++++++---------------
arch/sparc/kernel/pci_sun4v.c | 194 ++++++++++++++++-----------------
include/linux/iommu-common.h | 55 +++++++++
lib/Makefile | 2 +-
lib/iommu-common.c | 219 +++++++++++++++++++++++++++++++++++++
8 files changed, 519 insertions(+), 325 deletions(-)
create mode 100644 include/linux/iommu-common.h
create mode 100644 lib/iommu-common.c
WARNING: multiple messages have this Message-ID (diff)
From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Cc: aik@au1.ibm.com, anton@au1.ibm.com, paulus@samba.org,
sowmini.varadhan@oracle.com, davem@davemloft.net
Subject: [PATCH v5 RFC 0/3] Generic IOMMU pooled allocator
Date: Sun, 22 Mar 2015 19:22:51 +0000 [thread overview]
Message-ID: <cover.1426986386.git.sowmini.varadhan@oracle.com> (raw)
Follows up on the feedback in the thread at
http://www.spinics.net/lists/sparclinux/msg13493.html
- removed ->cookie_to_index and ->demap indirection from the iommu_tbl_ops
The caller needs to call these functions as needed, before invoking
the generic arena allocator functions.
- added the "skip_span_boundary" argument to iommu_tbl_pool_init() for
those callers like LDC which do no care about span boundary checks.
Sowmini (2):
Break up monolithic iommu table/lock into finer graularity pools and
lock
Make sparc64 use scalable lib/iommu-common.c functions
Sowmini Varadhan (1):
Make LDC use common iommu poll management functions
arch/sparc/include/asm/iommu_64.h | 7 +-
arch/sparc/kernel/iommu.c | 187 +++++++++++---------------------
arch/sparc/kernel/iommu_common.h | 8 --
arch/sparc/kernel/ldc.c | 172 ++++++++++++++---------------
arch/sparc/kernel/pci_sun4v.c | 194 ++++++++++++++++-----------------
include/linux/iommu-common.h | 55 +++++++++
lib/Makefile | 2 +-
lib/iommu-common.c | 219 +++++++++++++++++++++++++++++++++++++
8 files changed, 519 insertions(+), 325 deletions(-)
create mode 100644 include/linux/iommu-common.h
create mode 100644 lib/iommu-common.c
next reply other threads:[~2015-03-22 19:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-22 19:22 Sowmini Varadhan [this message]
2015-03-22 19:22 ` [PATCH v5 RFC 0/3] Generic IOMMU pooled allocator Sowmini Varadhan
2015-03-22 19:22 ` [PATCH v5 RFC 1/3] sparc: Break up monolithic iommu table/lock into finer graularity pools and lock Sowmini Varadhan
2015-03-22 19:22 ` Sowmini Varadhan
2015-03-22 19:22 ` [PATCH v5 RFC 2/3] sparc: Make sparc64 use scalable lib/iommu-common.c functions Sowmini Varadhan
2015-03-22 19:22 ` Sowmini Varadhan
2015-03-22 19:22 ` [PATCH v5 RFC 3/3] sparc: Make LDC use common iommu poll management functions Sowmini Varadhan
2015-03-22 19:22 ` Sowmini Varadhan
2015-03-22 23:32 ` [PATCH v5 RFC 0/3] Generic IOMMU pooled allocator Benjamin Herrenschmidt
2015-03-22 23:32 ` Benjamin Herrenschmidt
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=cover.1426986386.git.sowmini.varadhan@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=aik@au1.ibm.com \
--cc=anton@au1.ibm.com \
--cc=davem@davemloft.net \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=paulus@samba.org \
--cc=sparclinux@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.