> @@ -176,7 +177,7 @@ static void clear_stage2_pud_entry(struct kvm_s2_mmu 
> *mmu, pud_t *pud, phys_addr
>       pmd_t *pmd_table __maybe_unused = stage2_pmd_offset(kvm, pud, 0);
>       VM_BUG_ON(stage2_pud_huge(kvm, *pud));
>       stage2_pud_clear(kvm, pud);
> -     kvm_tlb_flush_vmid_ipa(mmu, addr);
> +     kvm_tlb_flush_vmid_ipa(mmu, addr, S2_NO_LEVEL_HINT);
>       stage2_pmd_free(kvm, pmd_table);
>       put_page(virt_to_page(pud));
>  }
> @@ -186,7 +187,7 @@ static void clear_stage2_pmd_entry(struct kvm_s2_mmu 
> *mmu, pmd_t *pmd, phys_addr
>       pte_t *pte_table = pte_offset_kernel(pmd, 0);
>       VM_BUG_ON(pmd_thp_or_huge(*pmd));
>       pmd_clear(pmd);
> -     kvm_tlb_flush_vmid_ipa(mmu, addr);
> +     kvm_tlb_flush_vmid_ipa(mmu, addr, S2_NO_LEVEL_HINT);
>       free_page((unsigned long)pte_table);
>       put_page(virt_to_page(pmd));
>  }

Going by the names, is it possible to give a better level hint for these
cases?
_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to