]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/mm/tlbflush: update the mmu_gather page size while iterating address range
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 9 Aug 2018 13:36:59 +0000 (19:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Aug 2018 12:12:39 +0000 (22:12 +1000)
commit0b6aa1a20add96437c46db77c9bae2d7529dfbc1
tree00f0ccbcca86c8b89f42c1f0c382dfe774d89049
parentfce278af81daf8599f9e94883cbe43068b6c4785
powerpc/mm/tlbflush: update the mmu_gather page size while iterating address range

This patch makes sure we update the mmu_gather page size even if we are
requesting for a fullmm flush. This avoids triggering VM_WARN_ON in code
paths like __tlb_remove_page_size that explicitly check for removing range page
size to be same as mmu gather page size.

Fixes: 5a6099346c41 ("powerpc/64s/radix: tlb do not flush on page size when fullmm")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/tlb.h