summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu.c
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2017-08-09 16:33:35 +0800
committerJoerg Roedel <jroedel@suse.de>2017-08-15 18:14:38 +0200
commit9494ea90a56d013f4257686c8daf49203cd900c0 (patch)
treeda251c9a3afd3038cf584fd2050e185b8242e404 /drivers/iommu/amd_iommu.c
parent78d313c611adcd354d35295e30f1495e02e005f9 (diff)
downloadop-kernel-dev-9494ea90a56d013f4257686c8daf49203cd900c0.zip
op-kernel-dev-9494ea90a56d013f4257686c8daf49203cd900c0.tar.gz
Revert "iommu/amd: Suppress IO_PAGE_FAULTs in kdump kernel"
This reverts commit 54bd63570484167cb13edf81e31fff107b879981. We still need the IO_PAGE_FAULT message to warn error after the issue of on-flight dma in kdump kernel is fixed. Signed-off-by: Baoquan He <bhe@redhat.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
-rw-r--r--drivers/iommu/amd_iommu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
index 354cbd6..6d2fc40 100644
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -2086,8 +2086,7 @@ static void set_dte_entry(u16 devid, struct protection_domain *domain, bool ats)
flags |= tmp;
}
-
- flags &= ~(DTE_FLAG_SA | 0xffffULL);
+ flags &= ~(0xffffUL);
flags |= domain->id;
amd_iommu_dev_table[devid].data[1] = flags;
OpenPOWER on IntegriCloud