Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\core.c Create Date:2022-07-28 08:00:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Panic in progress. Enable interrupts and wait for final IPI

Proto:static void wait_for_panic(void)

Type:void

Parameter:Nothing

302  timeout = 5 seconds * USEC_PER_SEC
304  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
305  The local_irq_*() APIs are equal to the raw_local_irq*()* if !TRACE_IRQFLAGS.()
306  When timeout-- > 0 cycle
307  0x10c7 is 2**32 / 1000000 (rounded up) (1)
308  If panic_timeout == 0 Then panic_timeout = panic_timeout
310  panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
Caller
NameDescribe
mce_panic
mce_timed_outCheck if a timeout waiting for other CPUs happened.