From: Joerg Roedel <jroe...@suse.de> Hi,
a previous discussion pointed out that using atomic64_t for that purpose is a bit of overkill. This patch-set replaces it with unsigned long and introduces some helpers first to make the change more easy. Qian, can you please test these patches in your environment? You can trigger any race-condition there pretty reliably :) Other than that, please review and test. Regards, Joerg Joerg Roedel (2): iommu/amd: Add helper functions to update domain->pt_root iommu/amd: Use 'unsigned long' for domain->pt_root drivers/iommu/amd/amd_iommu_types.h | 2 +- drivers/iommu/amd/iommu.c | 39 ++++++++++++++++++++--------- 2 files changed, 28 insertions(+), 13 deletions(-) -- 2.27.0 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu