diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-12-09 08:29:21 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-09 15:48:13 +0300 |
commit | 7ceb40027e19567a0a066e3b380cc034cdd9a124 (patch) | |
tree | ab20a4a1fbe853051910129d06fe2c372ed72667 /Documentation/arm64/booting.rst | |
parent | 70b588a068668dd7a92ed19cf0373ba92847957c (diff) | |
download | linux-7ceb40027e19567a0a066e3b380cc034cdd9a124.tar.xz |
powerpc/mm: sanity_check_fault() should work for all, not only BOOK3S
The verification and message introduced by commit 374f3f5979f9
("powerpc/mm/hash: Handle user access of kernel address gracefully")
applies to all platforms, it should not be limited to BOOK3S.
Make the BOOK3S version of sanity_check_fault() the one for all,
and bail out earlier if not BOOK3S.
Fixes: 374f3f5979f9 ("powerpc/mm/hash: Handle user access of kernel address gracefully")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/fe199d5af3578d3bf80035d203a94d742a7a28af.1607491748.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'Documentation/arm64/booting.rst')
0 files changed, 0 insertions, 0 deletions