/openbmc/linux/arch/riscv/include/asm/ |
H A D | pgtable-64.h | 14 extern bool pgtable_l5_enabled; 21 #define PGDIR_SHIFT (pgtable_l5_enabled ? PGDIR_SHIFT_L5 : \ 31 #define P4D_SHIFT (pgtable_l5_enabled ? P4D_SHIFT_L5 : \ 232 if (pgtable_l5_enabled) in mm_p4d_folded() 343 if (pgtable_l5_enabled) in set_pgd() 351 if (pgtable_l5_enabled) in pgd_none() 359 if (pgtable_l5_enabled) in pgd_present() 367 if (pgtable_l5_enabled) in pgd_bad() 375 if (pgtable_l5_enabled) in pgd_clear() 381 if (pgtable_l5_enabled) in pgd_pgtable()
|
H A D | vmalloc.h | 6 extern bool pgtable_l4_enabled, pgtable_l5_enabled; 13 return pgtable_l4_enabled || pgtable_l5_enabled; in arch_vmap_pud_supported()
|
H A D | pgalloc.h | 64 if (pgtable_l5_enabled) { in pgd_populate() 74 if (pgtable_l5_enabled) { in pgd_populate_safe() 103 if (pgtable_l5_enabled) { in p4d_alloc_one() 123 if (pgtable_l5_enabled) in p4d_free()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | pgtable_64_types.h | 32 static inline bool pgtable_l5_enabled(void) in pgtable_l5_enabled() function 37 #define pgtable_l5_enabled() cpu_feature_enabled(X86_FEATURE_LA57) macro 41 #define pgtable_l5_enabled() 0 macro 135 # define VMALLOC_SIZE_TB (pgtable_l5_enabled() ? VMALLOC_SIZE_TB_L5 : VMALLOC_SIZE_TB_L4)
|
H A D | pgalloc.h | 136 if (!pgtable_l5_enabled()) in pgd_populate() 144 if (!pgtable_l5_enabled()) in pgd_populate_safe() 161 if (!pgtable_l5_enabled()) in p4d_free() 173 if (pgtable_l5_enabled()) in __p4d_free_tlb()
|
H A D | pgtable_32_types.h | 18 #define pgtable_l5_enabled() 0 macro
|
H A D | sparsemem.h | 29 # define MAX_PHYSMEM_BITS (pgtable_l5_enabled() ? 52 : 46)
|
H A D | pgtable_64.h | 59 return !pgtable_l5_enabled(); in mm_p4d_folded() 146 if (pgtable_l5_enabled() || !IS_ENABLED(CONFIG_PAGE_TABLE_ISOLATION)) { in native_set_p4d()
|
H A D | page_64_types.h | 57 #define __VIRTUAL_MASK_SHIFT (pgtable_l5_enabled() ? 56 : 47)
|
H A D | pgtable.h | 78 #define pgd_clear(pgd) (pgtable_l5_enabled() ? native_pgd_clear(pgd) : 0) 1132 if (!pgtable_l5_enabled()) in pgd_present() 1151 if (!pgtable_l5_enabled()) in p4d_offset() 1160 if (!pgtable_l5_enabled()) in pgd_bad() 1171 if (!pgtable_l5_enabled()) in pgd_none()
|
H A D | paravirt.h | 513 if (pgtable_l5_enabled()) \ 520 if (pgtable_l5_enabled()) \
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 55 EXPORT_SYMBOL(pgtable_l5_enabled); 627 (pgtable_l5_enabled ? \ 632 #define fixmap_pgd_next (pgtable_l5_enabled ? \ 635 #define trampoline_pgd_next (pgtable_l5_enabled ? \ 683 if (pgtable_l5_enabled && in best_map_size() 755 pgtable_l5_enabled = false; in disable_pgtable_l5() 818 pgtable_l5_enabled ? in set_satp_mode() 830 if (pgtable_l5_enabled) { in set_satp_mode() 1153 if (pgtable_l5_enabled) in setup_vm() 1165 if (pgtable_l5_enabled) in setup_vm() [all …]
|
H A D | kasan_init.c | 196 if (!pgtable_l5_enabled) { in kasan_early_clear_p4d() 224 if (pgtable_l5_enabled && IS_ALIGNED(vaddr, PGDIR_SIZE) && in kasan_early_clear_pgd() 280 if (!pgtable_l5_enabled) { in kasan_early_populate_p4d() 347 if (pgtable_l5_enabled) { in kasan_early_init() 456 if (pgtable_l5_enabled) { in create_tmp_mapping()
|
H A D | pgtable.c | 42 if (pgtable_l5_enabled) in p4d_offset()
|
H A D | ptdump.c | 387 pg_level[1].name = pgtable_l5_enabled ? "P4D" : "PGD"; in ptdump_init()
|
/openbmc/linux/arch/x86/mm/ |
H A D | kaslr.c | 84 vaddr_start = pgtable_l5_enabled() ? __PAGE_OFFSET_BASE_L5 : __PAGE_OFFSET_BASE_L4; in kernel_randomize_memory() 187 if (pgtable_l5_enabled()) { in init_trampoline_kaslr()
|
H A D | kasan_init_64.c | 181 if (pgtable_l5_enabled()) in clear_pgds() 196 if (!pgtable_l5_enabled()) in early_p4d_offset() 312 for (i = 0; pgtable_l5_enabled() && i < PTRS_PER_P4D; i++) in kasan_early_init() 362 if (pgtable_l5_enabled()) { in kasan_init()
|
H A D | ident_map.c | 134 if (pgtable_l5_enabled()) { in kernel_ident_mapping_init()
|
H A D | init_64.c | 220 if (pgtable_l5_enabled()) in sync_global_pgds() 684 if (!pgtable_l5_enabled()) in phys_p4d_init() 759 if (pgtable_l5_enabled()) in __kernel_physical_mapping_init() 1213 if (pgtable_l5_enabled()) in remove_p4d_table() 1305 if (pgtable_l5_enabled()) in preallocate_vmalloc_pages()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | crash_core_64.c | 15 pgtable_l5_enabled()); in arch_crash_save_vmcoreinfo()
|
H A D | head64.c | 351 if (!pgtable_l5_enabled()) in __early_make_pgtable()
|
H A D | kexec-bzimage64.c | 373 if (!(header->xloadflags & XLF_5LEVEL) && pgtable_l5_enabled()) { in bzImage64_probe()
|
/openbmc/linux/arch/x86/power/ |
H A D | hibernate_64.c | 54 if (pgtable_l5_enabled()) { in set_up_temporary_text_mapping()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | cpu.c | 269 if (pgtable_l5_enabled) in print_mmu()
|
/openbmc/linux/arch/x86/platform/efi/ |
H A D | efi_64.c | 96 if (pgtable_l5_enabled()) in efi_alloc_page_tables()
|