lkml.org 
[lkml]   [2008]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 05/26] x64, x2apic/intr-remap: Fix the need for RMRR in the DMA-remapping detection
    Presence of RMRR structures is not compulsory for enabling DMA-remapping.

    Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
    Signed-off-by: Yong Y Wang <yong.y.wang@intel.com>
    ---

    Index: tree-x86/drivers/pci/dmar.c
    ===================================================================
    --- tree-x86.orig/drivers/pci/dmar.c 2008-07-10 09:51:53.000000000 -0700
    +++ tree-x86/drivers/pci/dmar.c 2008-07-10 09:51:55.000000000 -0700
    @@ -419,10 +419,8 @@
    }

    #ifdef CONFIG_DMAR
    - if (list_empty(&dmar_rmrr_units)) {
    + if (list_empty(&dmar_rmrr_units))
    printk(KERN_INFO PREFIX "No RMRR found\n");
    - return -ENODEV;
    - }
    #endif

    return 0;
    --



    \
     
     \ /
      Last update: 2008-07-10 21:25    [W:0.022 / U:30.332 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site