#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/acpi.h>
#include <linux/uaccess.h>
#include <linux/cper.h>
#include <linux/nmi.h>
#include <linux/hardirq.h>
#include <linux/pstore.h>
#include <acpi/apei.h>
#include "apei-internal.h"
Go to the source code of this file.
#define CPER_CREATOR_PSTORE |
Value:UUID_LE(0x75a574e3, 0x5052, 0x4b29, 0x8a, 0x8e, 0xbe, 0x2c, \
0x64, 0x90, 0xb8, 0x9d)
Definition at line 953 of file erst.c.
#define CPER_SECTION_TYPE_DMESG |
Value:UUID_LE(0xc197e04e, 0xd545, 0x4a70, 0x9c, 0x17, 0xa5, 0x54, \
0x94, 0x19, 0xeb, 0x12)
Definition at line 956 of file erst.c.
#define CPER_SECTION_TYPE_MCE |
Value:UUID_LE(0xfe08ffbe, 0x95e4, 0x4be7, 0xbc, 0x73, 0x40, 0x96, \
0x04, 0x4a, 0x38, 0xfc)
Definition at line 959 of file erst.c.
#define ERST_PFX "ERST: " |
#define ERST_RANGE_NVRAM 0x0002 |
#define ERST_RANGE_RESERVED 0x0001 |
#define ERST_RANGE_SLOW 0x0004 |
#define ERST_RECORD_ID_CACHE_SIZE_MAX 1024 |
#define ERST_RECORD_ID_CACHE_SIZE_MIN 16 |
#define ERST_STATUS_FAILED 0x3 |
#define ERST_STATUS_HARDWARE_NOT_AVAILABLE 0x2 |
#define ERST_STATUS_NOT_ENOUGH_SPACE 0x1 |
#define ERST_STATUS_RECORD_NOT_FOUND 0x5 |
#define ERST_STATUS_RECORD_STORE_EMPTY 0x4 |
#define ERST_STATUS_SUCCESS 0x0 |
#define ERST_TAB_ENTRY |
( |
|
tab | ) |
|
Value:
Definition at line 52 of file erst.c.
#define FIRMWARE_MAX_STALL 50 /* 50us */ |
#define SPIN_UNIT 100 /* 100ns */ |
__setup |
( |
"erst_disable" |
, |
|
|
setup_erst_disable |
|
|
) |
| |
device_initcall |
( |
erst_init |
| ) |
|
int erst_clear |
( |
u64 |
record_id | ) |
|
int erst_get_record_id_begin |
( |
int * |
pos | ) |
|
int erst_get_record_id_next |
( |
int * |
pos, |
|
|
u64 * |
record_id |
|
) |
| |