Skip to content

Commit

Permalink
Revert "x86-64: Avoid unnecessary double bouncing for swiotlb"
Browse files Browse the repository at this point in the history
Commit id 6142891

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>
  • Loading branch information
Linus Torvalds committed Oct 27, 2005
1 parent 72ab373 commit 79b95a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/asm-x86_64/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ extern int iommu_setup(char *opt);
* address space. The networking and block device layers use
* this boolean for bounce buffer decisions
*
* On x86-64 it mostly equals, but we set it to zero to tell some subsystems
* that an hard or soft IOMMU is available.
* On AMD64 it mostly equals, but we set it to zero to tell some subsystems
* that an IOMMU is available.
*/
#define PCI_DMA_BUS_IS_PHYS 0
#define PCI_DMA_BUS_IS_PHYS (no_iommu ? 1 : 0)

/*
* x86-64 always supports DAC, but sometimes it is useful to force
Expand Down

0 comments on commit 79b95a4

Please sign in to comment.