Re: [PATCH v2 3/5] iommu/amd: Split probe error paths to preserve IRQ remapping

From: Vasant Hegde

Date: Sat Aug 22 2026 - 09:56:27 EST




On 8/14/2026 7:26 AM, Pranjal Shrivastava wrote:
> Split the amd_iommu_probe_device() error paths into err_deinit and
> out_err. Proper init failures continue to call iommu_disable_device_dma()
> while configuration failures (like PD_MODE_NONE or ATS mismatches) skip
> it to preserve the rlookup_table entry required for IRQ remapping.
>
> Reported-by: sashiko-bot@xxxxxxxxxx
> Closes: https://lore.kernel.org/all/20260529153216.2AD1E1F00899@xxxxxxxxxxxxxxx/
> Suggested-by: Ankit Soni <ankit.soni@xxxxxxx>
> Signed-off-by: Pranjal Shrivastava <praan@xxxxxxxxxx>

Reviewed-by: Vasant Hegde <vasant.hegde@xxxxxxx>

-Vasant