Re: [PATCH v2 2/7] genirq/msi: Refactor iommu_dma_compose_msi_msg()

2025-02-21 Thread Thomas Gleixner
On Wed, Feb 19 2025 at 17:31, Nicolin Chen wrote: > From: Jason Gunthorpe > > The two-step process to translate the MSI address involves two functions, > iommu_dma_prepare_msi() and iommu_dma_compose_msi_msg(). > > Previously iommu_dma_compose_msi_msg() needed to be in the iommu layer as > it had

[PATCH v2 2/7] genirq/msi: Refactor iommu_dma_compose_msi_msg()

2025-02-19 Thread Nicolin Chen
From: Jason Gunthorpe The two-step process to translate the MSI address involves two functions, iommu_dma_prepare_msi() and iommu_dma_compose_msi_msg(). Previously iommu_dma_compose_msi_msg() needed to be in the iommu layer as it had to dereference the opaque cookie pointer. Now, the previous pa