Package: linux-image-2.6.32-3-amd64
Version: -9
Severity: normal
Tags: patch

I noticed that the debian 2.6.32 kernel does not contain commit
2ae8bb75db1f3de422eb5898f2a063c46c36dba8 from the upstream linux-2.6-stable
branch (since 2.6.32.2).  Since the fix is trivial, and this particular bug
hits me I would be grateful if you could apply the patch to the Debian kernel.

commit 2ae8bb75db1f3de422eb5898f2a063c46c36dba8
Author: Tejun Heo <[email protected]>
Date:   Mon Oct 26 15:41:46 2009 +0100

    x86: Fix iommu=nodac parameter handling
    
    iommu=nodac should forbid dac instead of enabling it. Fix it.
    
    Signed-off-by: Tejun Heo <[email protected]>
    Acked-by: FUJITA Tomonori <[email protected]>
    Cc: Matteo Frigo <[email protected]>
    Cc: <[email protected]> # .32.x and older
    LKML-Reference: <[email protected]>
    Signed-off-by: Ingo Molnar <[email protected]>

diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c
index ce2fb91..839d49a 100644
--- a/arch/x86/kernel/pci-dma.c
+++ b/arch/x86/kernel/pci-dma.c
@@ -216,7 +216,7 @@ static __init int iommu_setup(char *p)
                if (!strncmp(p, "allowdac", 8))
                        forbid_dac = 0;
                if (!strncmp(p, "nodac", 5))
-                       forbid_dac = -1;
+                       forbid_dac = 1;
                if (!strncmp(p, "usedac", 6)) {
                        forbid_dac = -1;
                        return 1;


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (900, 'stable'), (400, 'testing'), (10, 'experimental'), (10, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.2 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20100317200419.10879.54355.report...@amd

Reply via email to