On Wed, 30 Mar 2022 12:25:43 +0100, Steve Capper wrote: > tlb_remove_huge_tlb_entry only considers PMD_SIZE and PUD_SIZE when > updating the mmu_gather structure. > > Unfortunately on arm64 there are two additional huge page sizes that > need to be covered: CONT_PTE_SIZE and CONT_PMD_SIZE. Where an end-user > attempts to employ contiguous huge pages, a VM_BUG_ON can be experienced > due to the fact that the tlb structure hasn't been correctly updated by > the relevant tlb_flush_p.._range() call from tlb_remove_huge_tlb_entry. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry https://git.kernel.org/arm64/c/697a1d44af8b Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev