Re: [PATCH v12 0/9] iommu/amd: Use 128-bit cmpxchg operation to update DTE

From: Joerg Roedel
Date: Wed Dec 18 2024 - 03:38:23 EST


On Mon, Nov 18, 2024 at 05:49:28AM +0000, Suravee Suthikulpanit wrote:
> Suravee Suthikulpanit (9):
> iommu/amd: Misc ACPI IVRS debug info clean up
> iommu/amd: Disable AMD IOMMU if CMPXCHG16B feature is not supported
> iommu/amd: Introduce struct ivhd_dte_flags to store persistent DTE
> flags
> iommu/amd: Introduce helper function to update 256-bit DTE
> iommu/amd: Modify set_dte_entry() to use 256-bit DTE helpers
> iommu/amd: Introduce helper function get_dte256()
> iommu/amd: Modify clear_dte_entry() to avoid in-place update
> iommu/amd: Lock DTE before updating the entry with WRITE_ONCE()
> iommu/amd: Remove amd_iommu_apply_erratum_63()
>
> drivers/iommu/amd/amd_iommu.h | 4 +-
> drivers/iommu/amd/amd_iommu_types.h | 41 ++-
> drivers/iommu/amd/init.c | 229 +++++++++--------
> drivers/iommu/amd/iommu.c | 378 +++++++++++++++++++++-------
> 4 files changed, 440 insertions(+), 212 deletions(-)

Applied, thanks.