[PATCH] x86_64: Fix swiotlb=force
authorAndi Kleen <ak@suse.de>
Sat, 29 Jul 2006 19:42:49 +0000 (21:42 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Jul 2006 03:59:55 +0000 (20:59 -0700)
commit65f87d8a8a6e1b560c61951d0a68ed80f7c8ff19
treef3f189827eaca620020d3742a347f2be5911c5cf
parent355540f3338e1408dac98413f05d612a76d4f5e3
[PATCH] x86_64: Fix swiotlb=force

It was broken before. But having it is important as possible hardware
bug workaround.

And previously there was no way to force swiotlb if there is another IOMMU.
Side effect is that iommu=force won't force swiotlb anymore even if there
isn't another IOMMU.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/pci-swiotlb.c
include/asm-x86_64/swiotlb.h