diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-07-02 13:52:03 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-15 04:04:39 +0200 |
commit | 41ea93cf7ba4e0f0cc46ebfdda8b6ff27c67bc91 (patch) | |
tree | 724bc70216e7b370ee3a2dcb698d037cf0a8ffd7 /Documentation/filesystems/fiemap.rst | |
parent | Revert "powerpc/kasan: Fix shadow pages allocation failure" (diff) | |
download | linux-41ea93cf7ba4e0f0cc46ebfdda8b6ff27c67bc91.tar.xz linux-41ea93cf7ba4e0f0cc46ebfdda8b6ff27c67bc91.zip |
powerpc/kasan: Fix shadow pages allocation failure
Doing kasan pages allocation in MMU_init is too early, kernel doesn't
have access yet to the entire memory space and memblock_alloc() fails
when the kernel is a bit big.
Do it from kasan_init() instead.
Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support")
Fixes: d2a91cef9bbd ("powerpc/kasan: Fix shadow pages allocation failure")
Cc: stable@vger.kernel.org
Reported-by: Erhard F. <erhard_f@mailbox.org>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=208181
Link: https://lore.kernel.org/r/63048fcea8a1c02f75429ba3152f80f7853f87fc.1593690707.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'Documentation/filesystems/fiemap.rst')
0 files changed, 0 insertions, 0 deletions