Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/arch/loongarch/kernel/
Dmachine_kexec.c242 int crashing_cpu; in machine_crash_shutdown() local
246 crashing_cpu = smp_processor_id(); in machine_crash_shutdown()
247 crash_save_cpu(regs, crashing_cpu); in machine_crash_shutdown()
252 cpumask_set_cpu(crashing_cpu, &cpus_in_crash); in machine_crash_shutdown()
/linux-6.12.1/arch/powerpc/kexec/
Dcrash.c209 while (crashing_cpu < 0) { in crash_kexec_secondary()
291 crashing_cpu = smp_processor_id(); in crash_kexec_prepare()
364 crash_save_cpu(regs, crashing_cpu); in default_machine_crash_shutdown()
368 crash_kexec_wait_realmode(crashing_cpu); in default_machine_crash_shutdown()
/linux-6.12.1/arch/powerpc/include/asm/
Dkexec.h147 extern int crashing_cpu;
161 return crashing_cpu >= 0; in kdump_in_progress()
Dfadump.h14 extern int crashing_cpu;
Dfadump-internal.h72 u32 crashing_cpu; member
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dopal-fadump.c473 if (fdh->crashing_cpu == thread_pir) { in opal_fadump_build_cpu_notes()
477 fdh->crashing_cpu, fdh->regs.gpr[1], in opal_fadump_build_cpu_notes()
504 if (fdh->crashing_cpu == FADUMP_CPU_UNKNOWN) { in opal_fadump_build_cpu_notes()
539 if (fdh->crashing_cpu != FADUMP_CPU_UNKNOWN) in opal_fadump_process()
592 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()
525 oc_conf->crashing_cpu = be32_to_cpu(opalc_metadata->crashing_pir); in opalcore_config_init()
/linux-6.12.1/arch/x86/include/asm/
Dreboot.h19 extern int crashing_cpu;
/linux-6.12.1/arch/x86/kernel/
Dreboot.c849 int crashing_cpu = -1; variable
869 if (cpu == crashing_cpu) in crash_nmi_callback()
924 crashing_cpu = safe_smp_processor_id(); in nmi_shootdown_cpus()
/linux-6.12.1/arch/powerpc/platforms/85xx/
Dsmp.c402 if (cpu == crashing_cpu && cpu_thread_in_core(cpu) != 0) { in mpc85xx_smp_kexec_cpu_down()
410 } else if (sibling == crashing_cpu) { in mpc85xx_smp_kexec_cpu_down()
/linux-6.12.1/arch/powerpc/kernel/
Dfadump.c702 old_cpu = cmpxchg(&crashing_cpu, -1, this_cpu); in crash_fadump()
720 fdh->crashing_cpu = crashing_cpu; in crash_fadump()
1119 fdh->crashing_cpu = FADUMP_CPU_UNKNOWN; in init_fadump_header()
Dsetup-common.c115 int crashing_cpu = -1; variable
/linux-6.12.1/arch/powerpc/platforms/pseries/
Drtas-fadump.c414 if (fdh && fdh->crashing_cpu == cpu) { in rtas_fadump_build_cpu_notes()
/linux-6.12.1/arch/x86/kernel/cpu/mce/
Dcore.c1252 (crashing_cpu != -1 && crashing_cpu != cpu)) { in mce_check_crashing_cpu()