Home
last modified time | relevance | path

Searched refs:fadump_conf (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/platforms/powernv/
H A Dopal-fadump.c31 void __init opal_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) in opal_fadump_dt_scan() argument
77 fadump_conf->boot_mem_top = be64_to_cpu(addr); in opal_fadump_dt_scan()
78 pr_debug("Preserve everything above %llx\n", fadump_conf->boot_mem_top); in opal_fadump_dt_scan()
81 fadump_conf->dump_active = 1; in opal_fadump_dt_scan()
93 static int opal_fadump_unregister(struct fw_dump *fadump_conf);
95 static void opal_fadump_update_config(struct fw_dump *fadump_conf, in opal_fadump_update_config() argument
104 fadump_conf->boot_mem_dest_addr = be64_to_cpu(fdm->rgn[0].dest); in opal_fadump_update_config()
106 fadump_conf->boot_mem_dest_addr); in opal_fadump_update_config()
108 fadump_conf->fadumphdr_addr = be64_to_cpu(fdm->fadumphdr_addr); in opal_fadump_update_config()
115 static void __init opal_fadump_get_config(struct fw_dump *fadump_conf, in opal_fadump_get_config() argument
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c30 static void rtas_fadump_update_config(struct fw_dump *fadump_conf, in rtas_fadump_update_config() argument
33 fadump_conf->fadumphdr_addr = (fadump_conf->boot_mem_dest_addr + in rtas_fadump_update_config()
34 fadump_conf->boot_memory_size); in rtas_fadump_update_config()
41 static void __init rtas_fadump_get_config(struct fw_dump *fadump_conf, in rtas_fadump_get_config() argument
48 fadump_conf->boot_memory_size = 0; in rtas_fadump_get_config()
49 fadump_conf->boot_mem_regs_cnt = 0; in rtas_fadump_get_config()
59 fadump_conf->cpu_state_dest_vaddr = (u64)__va(addr); in rtas_fadump_get_config()
64 fadump_conf->reserve_dump_area_start = addr; in rtas_fadump_get_config()
74 fadump_conf->boot_mem_dest_addr = in rtas_fadump_get_config()
78 fadump_conf->boot_mem_addr[fadump_conf->boot_mem_regs_cnt] = base; in rtas_fadump_get_config()
[all …]
/linux/arch/powerpc/include/asm/
H A Dfadump-internal.h149 u64 (*fadump_init_mem_struct)(struct fw_dump *fadump_conf);
151 int (*fadump_setup_metadata)(struct fw_dump *fadump_conf);
153 int (*fadump_register)(struct fw_dump *fadump_conf);
154 int (*fadump_unregister)(struct fw_dump *fadump_conf);
155 int (*fadump_invalidate)(struct fw_dump *fadump_conf);
156 void (*fadump_cleanup)(struct fw_dump *fadump_conf);
157 int (*fadump_process)(struct fw_dump *fadump_conf);
158 void (*fadump_region_show)(struct fw_dump *fadump_conf,
183 extern void rtas_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node);
186 rtas_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) { } in rtas_fadump_dt_scan() argument
[all …]