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.
Signed-off-by: Aneesh Kumar K.V <redacted>
---
arch/powerpc/include/asm/tlb.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
From: Nicholas Piggin <npiggin@gmail.com> Date: 2018-08-10 00:58:41
On Thu, 9 Aug 2018 19:06:59 +0530
"Aneesh Kumar K.V" [off-list ref] wrote:
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.
Signed-off-by: Aneesh Kumar K.V <redacted>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Thanks, sorry bout that.
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2018-08-10 07:09:30
"Aneesh Kumar K.V" [off-list ref] writes:
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.
I take it this is a fix for 5a6099346c41 ("powerpc/64s/radix: tlb do not flush on page size when fullmm") ?
cheers
From: Michael Ellerman <hidden> Date: 2018-08-13 11:23:20
On Thu, 2018-08-09 at 13:36:59 UTC, "Aneesh Kumar K.V" wrote:
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.
Signed-off-by: Aneesh Kumar K.V <redacted>
Acked-by: Nicholas Piggin <npiggin@gmail.com>