aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mce.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/mce.h')
-rw-r--r--arch/x86/include/asm/mce.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index b4a04b60b740..ba1f8890cf51 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -36,13 +36,19 @@ struct mce {
36 __u64 mcgstatus; 36 __u64 mcgstatus;
37 __u64 ip; 37 __u64 ip;
38 __u64 tsc; /* cpu time stamp counter */ 38 __u64 tsc; /* cpu time stamp counter */
39 __u64 res1; /* for future extension */ 39 __u64 time; /* wall time_t when error was detected */
40 __u64 res2; /* dito. */ 40 __u8 cpuvendor; /* cpu vendor as encoded in system.h */
41 __u8 pad1;
42 __u16 pad2;
43 __u32 cpuid; /* CPUID 1 EAX */
41 __u8 cs; /* code segment */ 44 __u8 cs; /* code segment */
42 __u8 bank; /* machine check bank */ 45 __u8 bank; /* machine check bank */
43 __u8 cpu; /* cpu number; obsolete; use extcpu now */ 46 __u8 cpu; /* cpu number; obsolete; use extcpu now */
44 __u8 finished; /* entry is valid */ 47 __u8 finished; /* entry is valid */
45 __u32 extcpu; /* linux cpu number that detected the error */ 48 __u32 extcpu; /* linux cpu number that detected the error */
49 __u32 socketid; /* CPU socket ID */
50 __u32 apicid; /* CPU initial apic ID */
51 __u64 mcgcap; /* MCGCAP MSR: machine check capabilities of CPU */
46}; 52};
47 53
48/* 54/*