Re: [PATCH v3 10/22] iommu/amd: Pass iommu to device_flush_dte()

From: Jason Gunthorpe

Date: Tue Jul 07 2026 - 10:34:09 EST


On Mon, Jun 29, 2026 at 03:35:23PM +0000, Suravee Suthikulpanit wrote:
> Take struct amd_iommu explicitly so DTE invalidation is issued on the
> same IOMMU instance used to program the DTE. Also, flush each device in
> amd_iommu_change_top() immediately after updating its DTE.
>
> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
> ---
> drivers/iommu/amd/iommu.c | 13 +++++--------
> 1 file changed, 5 insertions(+), 8 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason