[PATCH v2 0/5] iommu/amd: Use 128-bit cmpxchg operation to update DTE

Suravee Suthikulpanit posted 5 patches 1 year, 5 months ago
There is a newer version of this series
drivers/iommu/amd/amd_iommu_types.h |   6 +-
drivers/iommu/amd/init.c            |  23 ++-
drivers/iommu/amd/iommu.c           | 237 ++++++++++++++++++----------
3 files changed, 171 insertions(+), 95 deletions(-)
[PATCH v2 0/5] iommu/amd: Use 128-bit cmpxchg operation to update DTE
Posted by Suravee Suthikulpanit 1 year, 5 months ago
The v2 series splits the v1 patch to address several concerns in review feedback
(https://lore.kernel.org/lkml/e937e26f-038a-6d01-76a9-76c86760ca4a@gmail.com/T/).

Changelog:
 * Patch 1, 2, 5 are new.
 * Patch 3:
   - Change struct dev_table_entry to union,
   - Fix update_dte256() per feedback from v1 
   - Add get_dte256() helper function
 * Patch 4: Refactoring set_dte_entry

Thanks,
Suravee

Suravee Suthikulpanit (5):
  iommu/amd: Disable AMD IOMMU if CMPXCHG16B feature is not supported
  iommu/amd: Introduce rw_semaphore for Device Table Entry (DTE)
  iommu/amd: Introduce helper functions to access and update 256-bit DTE
  iommu/amd: Modify set_dte_entry() to use 256-bit DTE helpers
  iommu/amd: Use 128-bit cmpxchg in set_dte_irq_entry()

 drivers/iommu/amd/amd_iommu_types.h |   6 +-
 drivers/iommu/amd/init.c            |  23 ++-
 drivers/iommu/amd/iommu.c           | 237 ++++++++++++++++++----------
 3 files changed, 171 insertions(+), 95 deletions(-)

-- 
2.34.1