Re: [PATCH] powerpc/64s: Prevent fallthrough to hash TLB flush when using radix

2023-02-19 Thread Michael Ellerman
On Fri, 17 Feb 2023 12:14:34 +1100, Benjamin Gray wrote: > In the fix reconnecting hash__tlb_flush() to tlb_flush() the > void return on radix__tlb_flush() was not restored and subsequently > falls through to the restored hash__tlb_flush(). > > Guard hash__tlb_flush() under an else to prevent this

[PATCH] powerpc/64s: Prevent fallthrough to hash TLB flush when using radix

2023-02-16 Thread Benjamin Gray
In the fix reconnecting hash__tlb_flush() to tlb_flush() the void return on radix__tlb_flush() was not restored and subsequently falls through to the restored hash__tlb_flush(). Guard hash__tlb_flush() under an else to prevent this. Fixes: 1665c027afb2 ("powerpc/64s: Reconnect tlb_flush() to hash