diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-03 16:22:39 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-03 16:22:39 -0400 |
| commit | e606d81d2d9596ab2b4fd0dc052eea0485b7e8c2 (patch) | |
| tree | 6c4d4d9077e10b8d53412fa5d171623b06c4b3c3 /include/trace | |
| parent | 12b7bcb43e6ea834ab2f5dc52d971e379a0ca109 (diff) | |
| parent | b199ac6c4943aa0db246163bf6b483e2bb53431b (diff) | |
Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull RAS updates from Ingo Molnar:
"The main changes were:
- Lots of enhancements for AMD SMCA (Scalable MCA
features/extensions) systems: extract, decode and print more
hardware error information and add matching support on the
injection/testing side as well. (Yazn Ghannam)
- Various MCE handling improvements on modern Intel Xeons. (Tony
Luck)
- Plus misc fixes and enhancements"
* 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits)
x86/RAS/mce_amd_inj: Remove debugfs dir recursively on exit
x86/RAS/mce_amd_inj: Fix signed wrap around when decrementing index 'i'
x86/RAS/mce_amd_inj: Fix some W= warnings
x86/MCE/AMD, EDAC: Handle reserved bank 4 on Fam17h properly
x86/mce/AMD: Extract the error address on SMCA systems
x86/mce, EDAC/mce_amd: Print MCA_SYND and MCA_IPID during MCE on SMCA systems
x86/mce/AMD: Save MCA_IPID in MCE struct on SMCA systems
x86/mce/AMD: Ensure the deferred error interrupt is of type APIC on SMCA systems
x86/mce/AMD: Update sysfs bank names for SMCA systems
x86/mce/AMD, EDAC/mce_amd: Define and use tables for known SMCA IP types
EDAC/mce_amd: Use SMCA prefix for error descriptions arrays
EDAC/mce_amd: Add missing SMCA error descriptions
x86/mce/AMD: Read MSRs on the CPU allocating the threshold blocks
x86/RAS: Add syndrome support to mce_amd_inj
EDAC/mce_amd: Print syndrome register value on SMCA systems
x86/mce: Add support for new MCA_SYND register
x86/mce/AMD: Use msr_ops.misc() in allocate_threshold_blocks()
x86/mce: Drop X86_FEATURE_MCE_RECOVERY and the related model string test
x86/mce: Improve memcpy_mcsafe()
x86/mce: Add PCI quirks to identify Xeons with machine check recovery
...
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/mce.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/trace/events/mce.h b/include/trace/events/mce.h index 4cbbcef6baa8..70f02149808c 100644 --- a/include/trace/events/mce.h +++ b/include/trace/events/mce.h | |||
| @@ -20,6 +20,8 @@ TRACE_EVENT(mce_record, | |||
| 20 | __field( u64, status ) | 20 | __field( u64, status ) |
| 21 | __field( u64, addr ) | 21 | __field( u64, addr ) |
| 22 | __field( u64, misc ) | 22 | __field( u64, misc ) |
| 23 | __field( u64, synd ) | ||
| 24 | __field( u64, ipid ) | ||
| 23 | __field( u64, ip ) | 25 | __field( u64, ip ) |
| 24 | __field( u64, tsc ) | 26 | __field( u64, tsc ) |
| 25 | __field( u64, walltime ) | 27 | __field( u64, walltime ) |
| @@ -38,6 +40,8 @@ TRACE_EVENT(mce_record, | |||
| 38 | __entry->status = m->status; | 40 | __entry->status = m->status; |
| 39 | __entry->addr = m->addr; | 41 | __entry->addr = m->addr; |
| 40 | __entry->misc = m->misc; | 42 | __entry->misc = m->misc; |
| 43 | __entry->synd = m->synd; | ||
| 44 | __entry->ipid = m->ipid; | ||
| 41 | __entry->ip = m->ip; | 45 | __entry->ip = m->ip; |
| 42 | __entry->tsc = m->tsc; | 46 | __entry->tsc = m->tsc; |
| 43 | __entry->walltime = m->time; | 47 | __entry->walltime = m->time; |
| @@ -50,11 +54,12 @@ TRACE_EVENT(mce_record, | |||
| 50 | __entry->cpuvendor = m->cpuvendor; | 54 | __entry->cpuvendor = m->cpuvendor; |
| 51 | ), | 55 | ), |
| 52 | 56 | ||
| 53 | TP_printk("CPU: %d, MCGc/s: %llx/%llx, MC%d: %016Lx, ADDR/MISC: %016Lx/%016Lx, RIP: %02x:<%016Lx>, TSC: %llx, PROCESSOR: %u:%x, TIME: %llu, SOCKET: %u, APIC: %x", | 57 | TP_printk("CPU: %d, MCGc/s: %llx/%llx, MC%d: %016Lx, IPID: %016Lx, ADDR/MISC/SYND: %016Lx/%016Lx/%016Lx, RIP: %02x:<%016Lx>, TSC: %llx, PROCESSOR: %u:%x, TIME: %llu, SOCKET: %u, APIC: %x", |
| 54 | __entry->cpu, | 58 | __entry->cpu, |
| 55 | __entry->mcgcap, __entry->mcgstatus, | 59 | __entry->mcgcap, __entry->mcgstatus, |
| 56 | __entry->bank, __entry->status, | 60 | __entry->bank, __entry->status, |
| 57 | __entry->addr, __entry->misc, | 61 | __entry->ipid, |
| 62 | __entry->addr, __entry->misc, __entry->synd, | ||
| 58 | __entry->cs, __entry->ip, | 63 | __entry->cs, __entry->ip, |
| 59 | __entry->tsc, | 64 | __entry->tsc, |
| 60 | __entry->cpuvendor, __entry->cpuid, | 65 | __entry->cpuvendor, __entry->cpuid, |
