From: Joerg Roedel Date: Tue, 9 Sep 2008 15:55:28 +0000 (+0200) Subject: AMD IOMMU: allow IO page faults from devices X-Git-Tag: v2.6.28-rc1~712^2^4~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a22131a223147016041b5e5cd0ae5ab61ef4177e;p=linux-2.6-omap-h63xx.git AMD IOMMU: allow IO page faults from devices 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. Signed-off-by: Joerg Roedel Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index 1974b73fece..8c137598555 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c @@ -950,7 +950,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); } }