]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/amd: Handle parallel invalidate_range_start/end calls correctly
authorJoerg Roedel <jroedel@suse.de>
Tue, 20 May 2014 21:18:26 +0000 (23:18 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 26 May 2014 09:28:14 +0000 (11:28 +0200)
commite79df31c60ea79954e854616da233e1b8c6475ab
tree57c49b6f683f2b6546b6c13821cba577a8e2f7e8
parent9163b9013542a688fe4152985118a9c46e2d255d
iommu/amd: Handle parallel invalidate_range_start/end calls correctly

Add a counter to the pasid_state so that we do not restore
the original page-table before all invalidate_range_start
to invalidate_range_end sections have finished.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_v2.c