From: David Brownell Date: Sun, 22 Jul 2007 22:13:13 +0000 (-0700) Subject: USB: fix scatterlist PIO case (IOMMU) X-Git-Tag: v2.6.23-rc2~151^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a12b8db02035673153bbf19bb3641a08bed9e4b8;p=pandora-kernel.git USB: fix scatterlist PIO case (IOMMU) Update the scatterlist logic so that PIO options are also disabled when an IOMMU may have coalesced pages during dma_map_sg() ... it's not just HIGHMEM that can make trouble supporting both PIO and DMA based host controller drivers. There also seems to be a cross-arch issue here, with 64bit powerpc not using an IOMMU define ... and its IOMMU_VMERGE config can always be overridden on the kernel command line. So this is better, but still imperfect. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed