diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-12-02 00:41:43 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-12-02 22:57:23 +1100 |
commit | 310dce6201fd27fda484e34bf543fb55c33d80b1 (patch) | |
tree | 69b17187be0e459c1d8be4df2be9a3a1719e167a /arch/powerpc/mm/numa.c | |
parent | 162b0889bba6e721c33d12e15971618785ca778e (diff) | |
download | linux-stable-310dce6201fd27fda484e34bf543fb55c33d80b1.tar.gz linux-stable-310dce6201fd27fda484e34bf543fb55c33d80b1.tar.bz2 linux-stable-310dce6201fd27fda484e34bf543fb55c33d80b1.zip |
powerpc/64s: Make flush_and_reload_slb a no-op when radix is enabled
The radix test can exclude slb_flush_all_realmode() from being called
because flush_and_reload_slb() is only expected to flush ERAT when
called by flush_erat(), which is only on pre-ISA v3.0 CPUs that do not
support radix.
This helps the later change to make hash support configurable to not
introduce runtime changes to radix mode behaviour.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211201144153.2456614-9-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/mm/numa.c')
0 files changed, 0 insertions, 0 deletions