Home
last modified time | relevance | path

Searched refs:pgtable_l5_enabled (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/arch/riscv/include/asm/
H A Dpgtable-64.h14 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 Dvmalloc.h6 extern bool pgtable_l4_enabled, pgtable_l5_enabled;
13 return pgtable_l4_enabled || pgtable_l5_enabled; in arch_vmap_pud_supported()
H A Dpgalloc.h64 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 Dpgtable_64_types.h32 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 Dpgalloc.h136 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 Dpgtable_32_types.h18 #define pgtable_l5_enabled() 0 macro
H A Dsparsemem.h29 # define MAX_PHYSMEM_BITS (pgtable_l5_enabled() ? 52 : 46)
H A Dpgtable_64.h59 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 Dpage_64_types.h57 #define __VIRTUAL_MASK_SHIFT (pgtable_l5_enabled() ? 56 : 47)
H A Dpgtable.h78 #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 Dparavirt.h513 if (pgtable_l5_enabled()) \
520 if (pgtable_l5_enabled()) \
/openbmc/linux/arch/riscv/mm/
H A Dinit.c55 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 Dkasan_init.c196 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 Dpgtable.c42 if (pgtable_l5_enabled) in p4d_offset()
H A Dptdump.c387 pg_level[1].name = pgtable_l5_enabled ? "P4D" : "PGD"; in ptdump_init()
/openbmc/linux/arch/x86/mm/
H A Dkaslr.c84 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 Dkasan_init_64.c181 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 Dident_map.c134 if (pgtable_l5_enabled()) { in kernel_ident_mapping_init()
H A Dinit_64.c220 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 Dcrash_core_64.c15 pgtable_l5_enabled()); in arch_crash_save_vmcoreinfo()
H A Dhead64.c351 if (!pgtable_l5_enabled()) in __early_make_pgtable()
H A Dkexec-bzimage64.c373 if (!(header->xloadflags & XLF_5LEVEL) && pgtable_l5_enabled()) { in bzImage64_probe()
/openbmc/linux/arch/x86/power/
H A Dhibernate_64.c54 if (pgtable_l5_enabled()) { in set_up_temporary_text_mapping()
/openbmc/linux/arch/riscv/kernel/
H A Dcpu.c269 if (pgtable_l5_enabled) in print_mmu()
/openbmc/linux/arch/x86/platform/efi/
H A Defi_64.c96 if (pgtable_l5_enabled()) in efi_alloc_page_tables()

12