Home
last modified time | relevance | path

Searched refs:crashing_cpu (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/arch/mips/kernel/
Dcrash.c15 static int crashing_cpu = -1; variable
99 crashing_cpu = smp_processor_id(); in default_machine_crash_shutdown()
100 crash_save_cpu(regs, crashing_cpu); in default_machine_crash_shutdown()
102 cpumask_set_cpu(crashing_cpu, &cpus_in_crash); in default_machine_crash_shutdown()
/Linux-v5.10/arch/powerpc/kexec/
Dcrash.c190 while (crashing_cpu < 0) { in crash_kexec_secondary()
333 crashing_cpu = smp_processor_id(); in default_machine_crash_shutdown()
342 crash_kexec_prepare_cpus(crashing_cpu); in default_machine_crash_shutdown()
344 crash_save_cpu(regs, crashing_cpu); in default_machine_crash_shutdown()
348 crash_kexec_wait_realmode(crashing_cpu); in default_machine_crash_shutdown()
/Linux-v5.10/arch/powerpc/include/asm/
Dkexec.h74 extern int crashing_cpu;
94 return crashing_cpu >= 0; in kdump_in_progress()
Dfadump.h14 extern int crashing_cpu;
Dfadump-internal.h56 u32 crashing_cpu; member
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dopal-fadump.c465 if (fdh->crashing_cpu == thread_pir) { in opal_fadump_build_cpu_notes()
469 fdh->crashing_cpu, fdh->regs.gpr[1], in opal_fadump_build_cpu_notes()
496 if (fdh->crashing_cpu == FADUMP_CPU_UNKNOWN) { in opal_fadump_build_cpu_notes()
536 if (fdh->crashing_cpu != FADUMP_CPU_UNKNOWN) in opal_fadump_process()
599 fdh->crashing_cpu = (u32)mfspr(SPRN_PIR); in opal_fadump_trigger()
Dopal-core.c37 u32 crashing_cpu; member
129 if (pir == oc_conf->crashing_cpu) { in fill_prstatus()
281 if (thread_pir != oc_conf->crashing_cpu) { in opalcore_append_cpu_notes()
523 oc_conf->crashing_cpu = be32_to_cpu(opalc_metadata->crashing_pir); in opalcore_config_init()
/Linux-v5.10/arch/x86/include/asm/
Dreboot.h19 extern int crashing_cpu;
/Linux-v5.10/arch/x86/kernel/
Dreboot.c804 int crashing_cpu = -1; variable
824 if (cpu == crashing_cpu) in crash_nmi_callback()
852 crashing_cpu = safe_smp_processor_id(); in nmi_shootdown_cpus()
/Linux-v5.10/arch/powerpc/platforms/85xx/
Dsmp.c401 if (cpu == crashing_cpu && cpu_thread_in_core(cpu) != 0) { in mpc85xx_smp_kexec_cpu_down()
409 } else if (sibling != crashing_cpu && in mpc85xx_smp_kexec_cpu_down()
/Linux-v5.10/arch/powerpc/kernel/
Dfadump.c699 old_cpu = cmpxchg(&crashing_cpu, -1, this_cpu); in crash_fadump()
717 fdh->crashing_cpu = crashing_cpu; in crash_fadump()
1160 fdh->crashing_cpu = FADUMP_CPU_UNKNOWN; in init_fadump_header()
Dsetup-common.c127 int crashing_cpu = -1; variable
/Linux-v5.10/arch/powerpc/platforms/pseries/
Drtas-fadump.c359 if (fdh && fdh->crashing_cpu == cpu) { in rtas_fadump_build_cpu_notes()
/Linux-v5.10/arch/x86/kernel/cpu/mce/
Dcore.c1152 (crashing_cpu != -1 && crashing_cpu != cpu)) { in mce_check_crashing_cpu()