Re: [PATCH v3 0/9] Initial support for SMMUv3 nested translation

Nicolin Chen
2024-10-09T17:46:37Z

On Wed, Oct 09, 2024 at 01:23:06PM -0300, Jason Gunthorpe wrote:

> The vIOMMU series is essential to allow the invalidations to be processed
> for the CD as well.
>
> It is enough to allow qemu work to progress.
>
> This is on github: https://github.com/jgunthorpe/linux/commits/smmuv3_nesting
>
> v3:
> - Rebase on v6.12-rc2
> - Revise commit messages
> - Consolidate CANWB checks into arm_smmu_master_canwbs()
> - Add CONFIG_ARM_SMMU_V3_IOMMUFD to compile out iommufd only features
> like nesting
> - Shift code into arm-smmu-v3-iommufd.c
> - Add missed IS_ERR check
> - Add S2FWB to arm_smmu_get_ste_used()
> - Fixup quirks checks
> - Drop ARM_SMMU_FEAT_COHERENCY checks for S2FWB
> - Limit S2FWB to S2 Nesting Parent domains "just in case"

Verified SVA feature in a guest VM, with the vIOMMU part-1&2 series
applied on top and the pairing QEMU branch mentioned in the part-2
cover-letter:
https://lore.kernel.org/linux-iommu/cover.1728491532.git.nicolinc@nvidia.com/

Tested-by: Nicolin Chen <nicolinc@nvidia.com>