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

Name:mce_wrmsrl

Proto:static void mce_wrmsrl(unsigned int msr, u64 v)

Type:void

Parameter:

TypeParameterName
unsigned intmsr
u64v
419  If Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(finished) Then
420  offset = Support code for software error injection
422  If offset >= 0 Then *(this_cpu_ptr( & injectm) + offset) = v
424  Return
426  wrmsrl(msr, v)
Caller
NameDescribe
machine_check_pollPoll 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
mce_clear_state
__mc_check_crashing_cpuCases where we avoid rendezvous handler timeout:* 1) If this CPU is offline
do_machine_checkThe actual machine check handler. This only handles real* exceptions when something got corrupted coming in through int 18.* This is executed in NMI context not subject to normal locking rules. This* implies that most kernel services cannot be safely used