aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-09-09 11:55:28 -0400
committerIngo Molnar <mingo@elte.hu>2008-09-19 06:59:19 -0400
commita22131a223147016041b5e5cd0ae5ab61ef4177e (patch)
tree3cffa719c2e833446b359843f0b504b506583b11 /arch
parent126c52be4b1d2eb667a1d140f0ceaff9d353f700 (diff)
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 <joerg.roedel@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/amd_iommu_init.c1
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 1974b73fece6..8c1375985557 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)
950 for (devid = 0; devid <= amd_iommu_last_bdf; ++devid) { 950 for (devid = 0; devid <= amd_iommu_last_bdf; ++devid) {
951 set_dev_entry_bit(devid, DEV_ENTRY_VALID); 951 set_dev_entry_bit(devid, DEV_ENTRY_VALID);
952 set_dev_entry_bit(devid, DEV_ENTRY_TRANSLATION); 952 set_dev_entry_bit(devid, DEV_ENTRY_TRANSLATION);
953 set_dev_entry_bit(devid, DEV_ENTRY_NO_PAGE_FAULT);
954 } 953 }
955} 954}
956 955