Home
last modified time | relevance | path

Searched refs:pgtable_l4_enabled (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/arch/riscv/include/asm/
H A Dpgtable-64.h13 extern bool pgtable_l4_enabled;
22 (pgtable_l4_enabled ? PGDIR_SHIFT_L4 : PGDIR_SHIFT_L3))
32 (pgtable_l4_enabled ? P4D_SHIFT_L4 : P4D_SHIFT_L3))
241 if (pgtable_l4_enabled) in mm_pud_folded()
276 if (pgtable_l4_enabled) in set_p4d()
284 if (pgtable_l4_enabled) in p4d_none()
292 if (pgtable_l4_enabled) in p4d_present()
300 if (pgtable_l4_enabled) in p4d_bad()
308 if (pgtable_l4_enabled) in p4d_clear()
324 if (pgtable_l4_enabled) in p4d_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.h44 if (pgtable_l4_enabled) { in p4d_populate()
54 if (pgtable_l4_enabled) { in p4d_populate_safe()
85 if (pgtable_l4_enabled) in pud_alloc_one()
94 if (pgtable_l4_enabled) in pud_free()
H A Dpgtable.h72 VA_BITS_SV57 : (pgtable_l4_enabled ? VA_BITS_SV48 : VA_BITS_SV39))
906 extern bool pgtable_l4_enabled;
/openbmc/linux/arch/riscv/mm/
H A Dinit.c54 EXPORT_SYMBOL(pgtable_l4_enabled);
621 pt_ops.alloc_p4d(__va) : (pgtable_l4_enabled ? \
624 pt_ops.get_p4d_virt(__pa) : (pgd_next_t *)(pgtable_l4_enabled ? \
629 (pgtable_l4_enabled ? \
633 (uintptr_t)fixmap_p4d : (pgtable_l4_enabled ? \
636 (uintptr_t)trampoline_p4d : (pgtable_l4_enabled ? \
687 if (pgtable_l4_enabled && in best_map_size()
762 pgtable_l4_enabled = false; in disable_pgtable_l4()
1157 if (pgtable_l4_enabled) in setup_vm()
1168 if (pgtable_l4_enabled) in setup_vm()
[all …]
H A Dkasan_init.c171 if (!pgtable_l4_enabled) { in kasan_early_clear_pud()
206 if (pgtable_l4_enabled && IS_ALIGNED(vaddr, P4D_SIZE) && in kasan_early_clear_p4d()
242 if (!pgtable_l4_enabled) { in kasan_early_populate_pud()
339 if (pgtable_l4_enabled) { in kasan_early_init()
467 if (pgtable_l4_enabled) { in create_tmp_mapping()
H A Dpgtable.c34 if (pgtable_l4_enabled) in pud_offset()
H A Dptdump.c388 pg_level[2].name = pgtable_l4_enabled ? "PUD" : "PGD"; in ptdump_init()
/openbmc/linux/arch/riscv/kernel/
H A Dcpu.c271 else if (pgtable_l4_enabled) in print_mmu()