projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f4d01
)
iommu=pt is a valid early param
author
Alex Williamson
<alex.williamson@hp.com>
Thu, 30 Jul 2009 22:15:18 +0000
(16:15 -0600)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 3 Aug 2009 09:06:58 +0000
(10:06 +0100)
This avoids a "Malformed early option 'iommu'" warning on boot when
trying to use pass-through mode.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/x86/kernel/pci-dma.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/pci-dma.c
b/arch/x86/kernel/pci-dma.c
index 1a041bcf506bd8efd0d27a4e99e2003e07ff6445..ae13e34f724874469a4565a5bcfce7858b7cf4a3 100644
(file)
--- a/
arch/x86/kernel/pci-dma.c
+++ b/
arch/x86/kernel/pci-dma.c
@@
-212,10
+212,8
@@
static __init int iommu_setup(char *p)
if (!strncmp(p, "soft", 4))
swiotlb = 1;
#endif
- if (!strncmp(p, "pt", 2))
{
+ if (!strncmp(p, "pt", 2))
iommu_pass_through = 1;
- return 1;
- }
gart_parse_options(p);