sparc: IOMMU pools for better scalability
v4 cover 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
From: Sowmini Varadhan <[email protected]>
Date: Thu, 12 Mar 2015 20:02:34 -0400
Quoted 8 lines
Follows up on feedback to v3 patch-set from
http://www.spinics.net/lists/sparclinux/msg13462.htmlspecifically,
-pci_impl.hhas no changes, now that all sparc iommu usage is converted to the common library.
- RemoveIOMMU_ERROR_CODE. useDMA_ERROR_CODE
-page_table_map_baseandpage_table_shiftare unsigned long.
Looks good, I'll start doing some testing of my own.