OSDN Git Service

iommu/amd: Do not flush Device Table in iommu_map_page()
authorJoerg Roedel <jroedel@suse.de>
Mon, 4 May 2020 12:54:13 +0000 (14:54 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 5 May 2020 12:38:38 +0000 (14:38 +0200)
commit119b2b2c3e256f4bcff7439acc25ac1e9f1aaa4e
treee4c06e41b3545759dbc5b4df91aec5dfcf56d11a
parent19c6978fba68a2cdedee7d55fb8c3063d47982d9
iommu/amd: Do not flush Device Table in iommu_map_page()

The flush of the Device Table Entries for the domain has already
happened in increase_address_space(), if necessary. Do no flush them
again in iommu_map_page().

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Qian Cai <cai@lca.pw>
Link: https://lore.kernel.org/r/20200504125413.16798-6-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c