Re: [Intel IOMMU 10/10] Iommu floppy workaround

From: Keshavamurthy, Anil S
Date: Tue Jun 26 2007 - 15:30:51 EST


On Tue, Jun 26, 2007 at 12:37:55PM +0200, Andi Kleen wrote:
>
> > > Index: linux-2.6.22-rc4-mm2/arch/x86_64/Kconfig
> > > ===================================================================
> > > --- linux-2.6.22-rc4-mm2.orig/arch/x86_64/Kconfig 2007-06-18 15:45:08.000000000 -0700
> > > +++ linux-2.6.22-rc4-mm2/arch/x86_64/Kconfig 2007-06-18 15:45:09.000000000 -0700
> > > @@ -752,6 +752,16 @@
> > > all the OS visible memory. Hence the driver can continue
> > > to use physical addresses for DMA.
> > >
> > > +config DMAR_FLPY_WA
> >
> > FLOPPY is spelled "FLOPPY"!
>
> Also this shouldn't be a user visible config. The floppy driver should just
> do this transparently when loaded and undo when unloaded.

Yup, I agree.

Here goes the patch to make it user invisible config option.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@xxxxxxxxx>
---
arch/x86_64/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.22-rc4-mm2/arch/x86_64/Kconfig
===================================================================
--- linux-2.6.22-rc4-mm2.orig/arch/x86_64/Kconfig 2007-06-26 12:04:42.000000000 -0700
+++ linux-2.6.22-rc4-mm2/arch/x86_64/Kconfig 2007-06-26 12:06:01.000000000 -0700
@@ -753,7 +753,7 @@
to use physical addresses for DMA.

config DMAR_FLOPPY_WA
- bool "Support for Floppy disk workaround"
+ bool
depends on DMAR
default y
help

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/