Skip to content

RFC sparc: IOMMU pools for better scalability

Sowmini Varadhan sparclinux 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 RFC Latest3 patches 1 replyIn review
  2. v3 RFC3 patches 2 repliesSuperseded
  3. v22 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches5 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sparc: Break up monolithic iommu table/lock into finer graularity pools and lockinclude/linux/iommu-common.h lib/Makefile lib/iommu-common.c+276 -10 replies
2/3sparc: Make sparc64 use scalable lib/iommu-common.c functionsarch/sparc/include/asm/iommu_64.h arch/sparc/kernel/iommu.c arch/sparc/kernel/iommu_common.h +1 more+160 -2360 replies
3/3sparc: Make LDC use common iommu poll management functionsarch/sparc/kernel/ldc.c+97 -880 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 RFC 0/3] sparc: IOMMU pools for better scalability

Follows up on feedback to v3 patch-set from
http://www.spinics.net/lists/sparclinux/msg13462.html

specifically,
- pci_impl.h has no changes, now that all sparc iommu usage is converted to the common library.
- Remove IOMMU_ERROR_CODE. use DMA_ERROR_CODE
- page_table_map_base and page_table_shift are unsigned long.

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         |  188 +++++++++++---------------------
 arch/sparc/kernel/iommu_common.h  |    8 --
 arch/sparc/kernel/ldc.c           |  185 ++++++++++++++++---------------
 arch/sparc/kernel/pci_sun4v.c     |  193 ++++++++++++++++-----------------
 include/linux/iommu-common.h      |   55 +++++++++
 lib/Makefile                      |    2 +-
 lib/iommu-common.c                |  220 +++++++++++++++++++++++++++++++++++++
 8 files changed, 533 insertions(+), 325 deletions(-)
 create mode 100644 include/linux/iommu-common.h
 create mode 100644 lib/iommu-common.c