[PATCH v2 21/27] iommu/arm-smmu-v3: Put the SVA mmu notifier in the smmu_domain

Jason Gunthorpe jgg at nvidia.com
Tue Nov 7 09:33:10 PST 2023


On Wed, Nov 01, 2023 at 08:36:39PM -0300, Jason Gunthorpe wrote:
> @@ -271,33 +137,27 @@ static void arm_smmu_mm_arch_invalidate_secondary_tlbs(struct mmu_notifier *mn,
>  			size = 0;
>  	}
>  
> -	if (!(smmu_domain->smmu->features & ARM_SMMU_FEAT_BTM)) {
> +	if (smmu_domain->btm_invalidation) {
>  		if (!size)

This is a typo it should be

     if (!smmu_domain->btm_invalidation) {

Surprised our testing didn't discover this yet, it seems pretty fatal..

Jason



More information about the linux-arm-kernel mailing list