Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "x86-64: Avoid unnecessary double bouncing for swiotlb"

Commit id 6142891a0c0209c91aa4a98f725de0d6e2ed4918

Andi Kleen reports that it seems to break things for some people,
and since it's purely a small optimization, revert it for now.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

+3 -3
+3 -3
include/asm-x86_64/pci.h
··· 50 50 * address space. The networking and block device layers use 51 51 * this boolean for bounce buffer decisions 52 52 * 53 - * On x86-64 it mostly equals, but we set it to zero to tell some subsystems 54 - * that an hard or soft IOMMU is available. 53 + * On AMD64 it mostly equals, but we set it to zero to tell some subsystems 54 + * that an IOMMU is available. 55 55 */ 56 - #define PCI_DMA_BUS_IS_PHYS 0 56 + #define PCI_DMA_BUS_IS_PHYS (no_iommu ? 1 : 0) 57 57 58 58 /* 59 59 * x86-64 always supports DAC, but sometimes it is useful to force