diff options
| author | Huacai Chen <[email protected]> | 2024-11-12 08:35:39 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2024-11-12 08:35:39 +0000 |
| commit | a410656643ce4844ba9875aa4e87a7779308259b (patch) | |
| tree | 06f9dc903859209e4ac281bccfc6531c9d6267d8 /drivers/cdx/controller/cdx_controller.c | |
| parent | LoongArch: Define a default value for VM_DATA_DEFAULT_FLAGS (diff) | |
| download | kernel-a410656643ce4844ba9875aa4e87a7779308259b.tar.gz kernel-a410656643ce4844ba9875aa4e87a7779308259b.zip | |
LoongArch: Make KASAN work with 5-level page-tables
Make KASAN work with 5-level page-tables, including:
1. Implement and use __pgd_none() and kasan_p4d_offset().
2. As done in kasan_pmd_populate() and kasan_pte_populate(), restrict
the loop conditions of kasan_p4d_populate() and kasan_pud_populate()
to avoid unnecessary population.
Cc: [email protected]
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
