Home
last modified time | relevance | path

Searched refs:dtb_pa (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/riscv/kernel/pi/
H A Dcmdline_early.c16 u64 set_satp_mode_from_cmdline(uintptr_t dtb_pa);
17 bool set_nokaslr_from_cmdline(uintptr_t dtb_pa);
19 static char *get_early_cmdline(uintptr_t dtb_pa) in get_early_cmdline() argument
26 chosen_node = fdt_path_offset((void *)dtb_pa, "/chosen"); in get_early_cmdline()
28 fdt_cmdline = fdt_getprop((void *)dtb_pa, chosen_node, in get_early_cmdline()
57 u64 set_satp_mode_from_cmdline(uintptr_t dtb_pa) in set_satp_mode_from_cmdline() argument
59 char *cmdline = get_early_cmdline(dtb_pa); in set_satp_mode_from_cmdline()
69 bool set_nokaslr_from_cmdline(uintptr_t dtb_pa) in set_nokaslr_from_cmdline() argument
71 char *cmdline = get_early_cmdline(dtb_pa); in set_nokaslr_from_cmdline()
H A Dfdt_early.c11 u64 get_kaslr_seed(uintptr_t dtb_pa);
13 u64 get_kaslr_seed(uintptr_t dtb_pa) in get_kaslr_seed() argument
19 node = fdt_path_offset((void *)dtb_pa, "/chosen"); in get_kaslr_seed()
23 prop = fdt_getprop_w((void *)dtb_pa, node, "kaslr-seed", &len); in get_kaslr_seed()
/openbmc/linux/arch/riscv/mm/
H A Dinit.c942 uintptr_t dtb_pa) in create_fdt_early_page_table() argument
945 uintptr_t pa = dtb_pa & ~(PMD_SIZE - 1); in create_fdt_early_page_table()
969 dtb_early_va = kernel_mapping_pa_to_va(dtb_pa); in create_fdt_early_page_table()
972 dtb_early_pa = dtb_pa; in create_fdt_early_page_table()
1050 asmlinkage void __init setup_vm(uintptr_t dtb_pa) in setup_vm() argument
1055 if (!__pi_set_nokaslr_from_cmdline(dtb_pa)) { in setup_vm()
1056 u64 kaslr_seed = __pi_get_kaslr_seed(dtb_pa); in setup_vm()
1094 set_satp_mode(dtb_pa); in setup_vm()
1344 asmlinkage void __init setup_vm(uintptr_t dtb_pa) in setup_vm() argument
1346 dtb_early_va = (void *)dtb_pa; in setup_vm()
[all …]
/openbmc/linux/arch/riscv/kernel/
H A Dhead.h13 asmlinkage void __init setup_vm(uintptr_t dtb_pa);