Re: [PATCH] iommu/amd: Tidy up DMA ops init

From: Robin Murphy
Date: Fri Jun 04 2021 - 13:35:26 EST


On 2021-06-04 16:26, Joerg Roedel wrote:
On Thu, Jun 03, 2021 at 02:48:21PM +0100, Robin Murphy wrote:
As discussed on the report thread, I think it makes most sense to merge
this as a fix for 5.13 and not worry about any backporting.

drivers/iommu/amd/amd_iommu.h | 2 --
drivers/iommu/amd/init.c | 5 -----
drivers/iommu/amd/iommu.c | 31 +++++++++++++------------------
3 files changed, 13 insertions(+), 25 deletions(-)

Applied for v5.13, thanks Robin et al for the quick work on this
regression.

Robin, do you by chance have a Fixes tag which I can add?

For the sake of justifying this as "fix" rather than "cleanup", you may as well use the flush queue commit cited in the patch log - I maintain there's nothing technically wrong with that commit itself, but it is the point at which the underlying issue becomes worth fixing due to how they interact ;)

Cheers,
Robin.