Skip to content

Commit 1665c02

Browse files
committed
powerpc/64s: Reconnect tlb_flush() to hash__tlb_flush()
Commit baf1ed2 ("powerpc/mm: Remove empty hash__ functions") removed some empty hash MMU flushing routines, but got a bit overeager and also removed the call to hash__tlb_flush() from tlb_flush(). In regular use this doesn't lead to any noticable breakage, which is a little concerning. Presumably there are flushes happening via other paths such as arch_leave_lazy_mmu_mode(), and/or a bit of luck. Fix it by reinstating the call to hash__tlb_flush(). Fixes: baf1ed2 ("powerpc/mm: Remove empty hash__ functions") Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent fc546fa commit 1665c02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/powerpc/include/asm/book3s/64/tlbflush.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ static inline void tlb_flush(struct mmu_gather *tlb)
9797
{
9898
if (radix_enabled())
9999
radix__tlb_flush(tlb);
100+
101+
return hash__tlb_flush(tlb);
100102
}
101103

102104
#ifdef CONFIG_SMP

0 commit comments

Comments
 (0)