Function report |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-28 08:00:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check if the address reported by the CPU is in a format we can parse.* It would be possible to add code for most other cases, but all would* be somewhat complicated (e.g. segment offset would require an instruction* parser)
Proto:int mce_usable_address(struct mce *m)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mce * | m |
| 488 | If Not (Bank's MCi_STATUS MSR & addr reg. valid ) Then Return 0 |
| 492 | If CPU vendor != X86_VENDOR_INTEL && CPU vendor != X86_VENDOR_ZHAOXIN Then Return 1 |
| 496 | If Not (Bank's MCi_STATUS MSR & misc error reg. valid ) Then Return 0 |
| 499 | If MCi_MISC register defines (Bank's MCi_MISC MSR ) > PAGE_SHIFT determines the page size Then Return 0 |
| 502 | If MCI_MISC_ADDR_MODE(Bank's MCi_MISC MSR ) != physical address Then Return 0 |
| 505 | Return 1 |
| Name | Describe |
|---|---|
| cec_add_mce | |
| srao_decode_notifier | |
| machine_check_poll | 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 |
| 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 |