Re: [PATCH v3 4/5] iommu/amd: Fail probe on ATS configuration failure
Samiullah Khawaja <[email protected]>
| Newsgroups | dev.linux.lists.iommu,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 24, 2026 at 12:23:46PM +0000, Pranjal Shrivastava 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: Vasant Hegde <[email protected]> >Signed-off-by: Pranjal Shrivastava <[email protected]> >--- > drivers/iommu/amd/iommu.c | 40 +++++++++++++++++++++++++++++---------- > 1 file changed, 30 insertions(+), 10 deletions(-) > Reviewed-by: Samiullah Khawaja <[email protected]>