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:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mce_timer_fn

Proto:static void mce_timer_fn(struct timer_list *t)

Type:void

Parameter:

TypeParameterName
struct timer_list *t
1421  cpu_t = this_cpu_ptr( & mce_timer)
1424  WARN_ON(cpu_t != t)
1426  iv = Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(mce_next_interval)
1428  If mce_available(this_cpu_ptr( & cpu_info)) Then
1429  Poll for corrected events or events that happened before reset.* Those are just logged through /dev/mcelog.* This is executed in standard interrupt context.* Note: spec recommends to panic for fatal unsignalled* errors here
1431  If mce_intel_cmci_poll() Then
1432  iv = mce_adjust_timer(iv)
1433  Go to done
1441  If Notify the user(s) about new machine check events.* Can be called from interrupt context, but not from machine check/NMI* context. Then iv = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(iv / 2, (unsignedlong)HZ / 100)
1443  Else iv = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(iv * 2, round_jiffies_relative(Periodic polling timer for "silent" machine check errors. If the* poller finds an MCE, poll 2x faster. When the poller finds no more* errors, poll 2x slower (up to check_interval seconds). * HZ))
1446  done :
1447  __this_cpu_write(mce_next_interval, iv)
1448  __start_timer(t, iv)