Skip to contentSkip to conversation

ia64: make IOMMU respect the segment boundary limits

PATCH New [email protected] 1 participant 1 message Mar 28, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 ia64: make IOMMU respect the segment boundary limits

From: FUJITA Tomonori <[email protected]>

IA64's IOMMU implementation allocates memory areas spanning LLD's segment boundary limit. It forces low level drivers to have a workaround to adjust scatter lists that the IOMMU builds.

We are in the process of making all the IOMMUs respect the segment boundary limits to remove such work around in LLDs. This patch is for IA64's IOMMU.

---

 arch/ia64/Kconfig               |    3 +
 arch/ia64/hp/common/sba_iommu.c |   56 ++++++++++++++++++++----------
 2 files changed, 42 insertions(+), 17 deletions(-)
arch/ia64/Kconfig renamed from arch/ia64/Kconfig~ia64-make-iommu-respect-the-segment-boundary-limits +3 -0
diff -puN arch/ia64/Kconfig~ia64-make-iommu-respect-the-segment-boundary-limits arch/ia64/Kconfig
@@ -622,6 +622,9 @@ config IRQ_PER_CPU
 	bool
 	default y
 
+config IOMMU_HELPER
+	def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC)
+
 source "arch/ia64/hp/sim/Kconfig"
 
 source "arch/ia64/Kconfig.debug"
arch/ia64/hp/common/sba_iommu.c renamed from arch/ia64/hp/common/sba_iommu.c~ia64-make-iommu-respect-the-segment-boundary-limits +39 -17

137 lines not on this page · raw message

_