diff options
author | Atish Patra <[email protected]> | 2020-09-17 15:37:12 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2020-10-02 14:31:10 -0700 |
commit | e8dcb61f2ade040a372d66907d220dd3fdee2505 (patch) | |
tree | 1ce69035314a88bcf1b76049e1c4c46db53cc47e /lib/test_overflow.c | |
parent | 6262f661ff5d7d6a2613b95d0b7820c60b46b0b5 (diff) |
RISC-V: Implement late mapping page table allocation functions
Currently, page table setup is done during setup_va_final where fixmap can
be used to create the temporary mappings. The physical frame is allocated
from memblock_alloc_* functions. However, this won't work if page table
mapping needs to be created for a different mm context (i.e. efi mm) at
a later point of time.
Use generic kernel page allocation function & macros for any mapping
after setup_vm_final.
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions