Re: [PATCH v3 4/5] iommu/amd: Fail probe on ATS configuration failure

From: Jason Gunthorpe

Date: Mon Aug 24 2026 - 14:15:05 EST


On Mon, 24 Aug 2026 12:23:46 +0000, Pranjal Shrivastava <praan@xxxxxxxxxx> wrote:
> Update the driver to call pci_prepare_ats() after checking if
> pci_ats_supported() and fail the probe_device if pci_prepare_ats()
> returns an error. Additionally, update pdev_enable_cap_ats() to WARN_ON()
> a failure in pci_enable_ats().

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

--
Jason