Re: [PATCH v5 0/3] iommu: Clean up cookie and sw_msi in struct iommu_domain

From: Jason Gunthorpe
Date: Tue Mar 25 2025 - 09:28:33 EST


On Mon, Mar 24, 2025 at 09:14:23PM -0700, Nicolin Chen wrote:
> On Mon, Mar 24, 2025 at 09:05:14PM -0700, Nicolin Chen wrote:
> > This is a clean-up series for the previous sw_msi Part-1 core series. It's
> > on github:
> > https://github.com/nicolinc/iommufd/commits/iommufd_msi_cleanup-v5
> >
> > Changelog
> > v5
> > * Add IMPORT line for IOMMUFD_INTERNAL and change IOMMUFD_DRIVER_CORE
> > to a "bool" module, fixing build module errors reported by Arnd:
> > https://lore.kernel.org/all/20250324210329.2809869-1-arnd@xxxxxxxxxx/
> > * In iommu_dma_prepare_msi(), let all IDENTITY DOMAINs pass through,
> > fixing the regression with IDENTITY domains reported by Nathan:
> > https://lore.kernel.org/linux-iommu/20250324162558.GA198799@ax162/
>
> > base-commit: da0c56520e880441d0503d0cf0d6853dcfb5f1a4
>
> Hi Jason,
>
> Assuming that you want to replace the commits in your for-next
> tree with these patches, I rebased them on this commit:
> da0c56520e88 iommu/arm-smmu-v3: Set MEV bit in nested STE for DoS mitigations
>
> Again, sorry for the trouble.

Can you post a v6 please? That is a bit easier

Thanks,
Jason