commit | e178d670f251b6947d6be99c0014e9a57ad4f0e0 | [log] [tgz] |
---|---|---|
author | Nylon Chen <nylon7@andestech.com> | Sat Jan 16 13:58:35 2021 +0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Thu Feb 18 23:17:59 2021 -0800 |
tree | dcc49dea6830ab12c8034fd918a01219893d85bc | |
parent | aec33b54af55ef025e03e3dfbab3b8abe00eaa22 [diff] |
riscv/kasan: add KASAN_VMALLOC support It references to x86/s390 architecture. So, it doesn't map the early shadow page to cover VMALLOC space. Prepopulate top level page table for the range that would otherwise be empty. lower levels are filled dynamically upon memory allocation while booting. Signed-off-by: Nylon Chen <nylon7@andestech.com> Signed-off-by: Nick Hu <nickhu@andestech.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>