diff options
| author | Christophe Leroy <[email protected]> | 2020-05-19 05:48:45 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-05-20 23:41:02 +1000 |
| commit | d2a91cef9bbdeb87b7449fdab1a6be6000930210 (patch) | |
| tree | 6e938f42ddbb0115d5fe5a07c5bca54546f53c4c /tools/perf/scripts/python/bin | |
| parent | 3a66a24f6060e6775f8c02ac52329ea0152d7e58 (diff) | |
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")
Cc: [email protected]
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/c24163ee5d5f8cdf52fefa45055ceb35435b8f15.1589866984.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions