linux/arch/riscv
Alexandre Ghiti d127c19c7b
riscv: Improve kasan population function
Current population code populates a whole page table without taking care
of what could have been already allocated and without taking into account
possible index in page table, assuming the virtual address to map is always
aligned on the page table size, which, for example, won't be the case when
the kernel will get pushed to the end of the address space.

Address those problems by rewriting the kasan population function,
splitting it into subfunctions for each different page table level.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-02-22 18:45:12 -08:00
..
boot riscv: Add Kendryte KD233 board device tree 2021-02-22 17:51:18 -08:00
configs riscv: Add Canaan Kendryte K210 SD card defconfig 2021-02-22 17:51:21 -08:00
include riscv: Improve kasan definitions 2021-02-22 18:44:53 -08:00
kernel riscv: Disable KSAN_SANITIZE for vDSO 2021-02-22 17:51:23 -08:00
lib riscv: Add support for function error injection 2021-01-14 15:09:09 -08:00
mm riscv: Improve kasan population function 2021-02-22 18:45:12 -08:00
net treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kbuild riscv: Allow device trees to be built into the kernel 2020-05-18 11:38:05 -07:00
Kconfig riscv/kasan: add KASAN_VMALLOC support 2021-02-18 23:17:59 -08:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs riscv: Update Canaan Kendryte K210 device tree 2021-02-22 17:51:13 -08:00
Makefile riscv: Enable per-task stack canaries 2021-01-14 15:09:10 -08:00