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

Name:mce=off Disables machine check* mce=no_cmci Disables CMCI* mce=no_lmce Disables LMCE* mce=dont_log_ce Clears corrected events silently, no log created for CEs

Proto:static int __init mcheck_enable(char *str)

Type:int

Parameter:

TypeParameterName
char *str
2005  cfg = mca_cfg
2007  If str == 0 Then
2008  enable_p5_mce()
2009  Return 1
2011  If str == '=' Then str++
2013  If Not strcmp(str, "off") Then disabled = 1
2015  Else if Not strcmp(str, "no_cmci") Then cmci_disabled = true
2017  Else if Not strcmp(str, "no_lmce") Then lmce_disabled = 1
2019  Else if Not strcmp(str, "dont_log_ce") Then dont_log_ce = true
2021  Else if Not strcmp(str, "ignore_ce") Then ignore_ce = true
2023  Else if Not strcmp(str, "bootlog") || Not strcmp(str, "nobootlog") Then bootlog = str[0] == 'b'
2025  Else if Not strcmp(str, "bios_cmci_threshold") Then bios_cmci_threshold = 1
2027  Else if Not strcmp(str, "recovery") Then recovery = 1
2029  Else if isdigit(str[0]) Then
2030  If get_option - Parse integer from an option string*@str: option string*@pint: (output) integer value parsed from @str* Read an int from an option string; if available accept a subsequent* comma as well == 2 Then get_option - Parse integer from an option string*@str: option string*@pint: (output) integer value parsed from @str* Read an int from an option string; if available accept a subsequent* comma as well
2032  Else
2033  pr_info("mce argument %s ignored. Please use /sys\n", str)
2034  Return 0
2036  Return 1