[PATCH -mm 0/4] fix iommu segment boundary problems
- From: FUJITA Tomonori <tomof@xxxxxxx>
- Date: Thu, 22 Nov 2007 11:43:14 +0900
This is the latter half of my iommu work to make the IOMMUs respect
LLDs restrictions.
IOMMUs allocate memory areas without considering a low level driver's
segment boundary limits. So we have some workarounds: splitting sg
segments again in LLDs; reserving all I/O space spanning 4GB boundary
in IOMMUs (with assumption that all the LLDs have 4GB boundary
restrictions). The goal is killing all the workarounds.
This patchset adds new accessors for segment_boundary_mask in
device_dma_parameters structure in the same way as the first half of
my work did for max_segment_size.
Currently, I fixed only swiotlb. Next, I'll generalize swiotlb's free
area management and convert all the IOMMUs to use it. Or I'll
generalize a free area management to use bitmap that most of the
IOMMUs use and convert them to use it.
This is against 2.6.24-rc3-mm1.
The first half of my iommu work is:
http://thread.gmane.org/gmane.linux.scsi/35602
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH -mm 3/4] swiotlb: respect the segment boundary limits
- From: FUJITA Tomonori
- [PATCH -mm 4/4] call dma_set_seg_boundary in __scsi_alloc_queue
- From: FUJITA Tomonori
- [PATCH -mm 1/4] add accessors for segment_boundary_mask in device_dma_parameters
- From: FUJITA Tomonori
- [PATCH -mm 2/4] PCI: add dma segment boundary support
- From: FUJITA Tomonori
- [PATCH -mm 3/4] swiotlb: respect the segment boundary limits
- Prev by Date: [PATCH -mm 3/4] swiotlb: respect the segment boundary limits
- Next by Date: Re: [RFC/PATCH] SO_NO_CHECK for IPv6
- Previous by thread: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.
- Next by thread: [PATCH -mm 2/4] PCI: add dma segment boundary support
- Index(es):