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

Vasant Hegde <[email protected]>
Newsgroups dev.linux.lists.iommu,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci
Message-ID <[email protected]>

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: [email protected]
> Closes: https://lore.kernel.org/all/[email protected]/
> Suggested-by: Ankit Soni <[email protected]>
> Signed-off-by: Pranjal Shrivastava <[email protected]>

Reviewed-by: Vasant Hegde <[email protected]>

-Vasant
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.