[PATCH v6 6/6] iommu/amd: Fail probe on ATS configuration failure
Pranjal Shrivastava
praan at google.com
Mon Jun 1 03:35:10 PDT 2026
On Mon, Jun 01, 2026 at 08:17:23AM +0000, Ankit Soni wrote:
>
> Hi Pranjal,
>
> Plan looks good. One pushback: I don't think you need the
> amd_iommu_restore_msi_domain() helper.
>
> If point 1 preserves rlookup_table on the PD_MODE_NONE and
> pci_prepare_ats() failure paths, dev->msi_domain pointing at
> iommu->ir_domain stays functional - irq_remapping_alloc() /
> __rlookup_amd_iommu() find the iommu and the chain works.
> So fixing rlookup makes the MSI assignment correct,
> not dangling - no restore needed.
Ack. That makes sense—if we preserve the rlookup_table entry, the MSI
the MSI domain mapping remains functionally correct and the chain
stays intact. Thank you for clarifying that.
>
> On splitting: While patches 1-5 are essentially settled. I'd lean
> toward pulling AMD into a separate follow-up so the rest doesn't wait,
> but defer to Vasant/Suravee on that.
Ack. I agree with the suggestion to pull the AMD-specific work into a
separate follow-up series.
>
> +Vasant
Apologies for missing the CC! I thought I had Joerg's latest tree and
get_maintainers would automatically add Vasant.
Thanks,
Praan
More information about the linux-arm-kernel
mailing list