lkml.org 
[lkml]   [2008]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 12/23] AMD IOMMU: allow IO page faults from devices
    Date
    There is a bit in the device entry to suppress all IO page faults
    generated by a device. This bit was set until now because there was no
    event logging. Now that there is event logging this patch allows IO page
    faults from devices to see them in the kernel log too.

    Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
    ---
    arch/x86/kernel/amd_iommu_init.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c
    index 5182132..d8c1a45 100644
    --- a/arch/x86/kernel/amd_iommu_init.c
    +++ b/arch/x86/kernel/amd_iommu_init.c
    @@ -951,7 +951,6 @@ static void init_device_table(void)
    for (devid = 0; devid <= amd_iommu_last_bdf; ++devid) {
    set_dev_entry_bit(devid, DEV_ENTRY_VALID);
    set_dev_entry_bit(devid, DEV_ENTRY_TRANSLATION);
    - set_dev_entry_bit(devid, DEV_ENTRY_NO_PAGE_FAULT);
    }
    }

    --
    1.5.6.4



    \
     
     \ /
      Last update: 2008-09-17 19:05    [W:4.413 / U:0.236 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site