Function report |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-28 08:00:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__mc_scan_banks
Proto:static void __mc_scan_banks(struct mce *m, struct mce *final, unsigned long *toclear, unsigned long *valid_banks, int no_way_out, int *worst)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mce * | m | |
| struct mce * | final | |
| unsigned long * | toclear | |
| unsigned long * | valid_banks | |
| int | no_way_out | |
| int * | worst |
| 1153 | mce_banks = this_cpu_ptr(mce_banks_array) |
| 1159 | If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Continue |
| 1162 | If Not subevents to enable Then Continue |
| 1165 | Bank's MCi_MISC MSR = 0 |
| 1166 | Bank's MCi_ADDR MSR = 0 |
| 1170 | If Not (Bank's MCi_STATUS MSR & valid error ) Then Continue |
| 1177 | If Not (Bank's MCi_STATUS MSR & If ser Then Signaled machine check Else uncorrected error ) && Not no_way_out Then Continue |
| 1184 | severity = mce_severity(m, tolerant, NULL, true) |
| 1190 | If ( severity == MCE_KEEP_SEVERITY || severity == MCE_UCNA_SEVERITY ) && Not no_way_out Then Continue |
| 1197 | If severity == MCE_NO_SEVERITY Then Continue |
| 1203 | Error severity = severity |
| Name | Describe |
|---|---|
| do_machine_check | The 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |