diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-08-19 10:52:37 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-22 23:54:17 +0200 |
commit | fe036a0605d60d6c81ffdcd6241e9ae0013fe235 (patch) | |
tree | e4bd3548c3454415fd22cc0b243d4dfd452712ac /.cocciconfig | |
parent | powerpc/64/kexec: NULL check "clear_all" in kexec_sequence (diff) | |
download | linux-fe036a0605d60d6c81ffdcd6241e9ae0013fe235.tar.xz linux-fe036a0605d60d6c81ffdcd6241e9ae0013fe235.zip |
powerpc/64/kexec: Fix MMU cleanup on radix
Just using the hash ops won't work anymore since radix will have
NULL in there. Instead create an mmu_cleanup_all() function which
will do the right thing based on the MMU mode.
For Radix, for now I clear UPRT and the PTCR, effectively switching
back to Radix with no partition table setup.
Currently set it to NULL on BookE thought it might be a good idea
to wipe the TLB there (Scott ?)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions