Skip to content

x86: CMCI: Add support for Intel CMCI

Andi Kleen lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9x86: CMCI: Export MAX_NR_BANKSarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce_64.c+6 -60 replies
2/9x86: CMCI: Factor out threshold interrupt handlerarch/x86/Kconfig arch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/Makefile +2 more+38 -90 replies
3/9x86: CMCI: Avoid potential reentry of threshold interruptarch/x86/kernel/cpu/mcheck/threshold.c+2 -10 replies
4/9x86: MCE: Replace machine check events logged interval with ratelimitarch/x86/kernel/cpu/mcheck/mce_64.c+5 -60 replies
5/9x86: CMCI: Use polled banks bitmap in machine check pollerarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce_64.c arch/x86/kernel/cpu/mcheck/mce_amd_64.c+18 -60 replies
6/9x86: CMCI: Define MSR names and fields for new CMCI registersarch/x86/include/asm/apicdef.h arch/x86/include/asm/mce.h arch/x86/include/asm/msr-index.h+8 -00 replies
7/9x86: CMCI: Add CMCI supportarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce_64.c arch/x86/kernel/cpu/mcheck/mce_intel_64.c+228 -30 replies
8/9x86: CMCI: Disable CMCI on rebootingarch/x86/kernel/apic.c+8 -00 replies
9/9x86: CMCI: Recheck CMCI banks after APIC has been enabled on CPU #0arch/x86/kernel/apic.c+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH] [0/9] x86: CMCI: Add support for Intel CMCI

Intel CMCI (Corrected Machine Check Interrupt) is a new feature on Nehalem CPUs. It allows the CPU to trigger interrupts on corrected machine check events, which allows faster reaction to them instead of with the traditional polling timer.

This is similar to the existing AMD threshold interrupt feature. I'm reusing some code from this.

In addition it also provides for better handling of machine check banks shared between CPUs. This is pretty common on Nehalem class systems, where threads and cores share some banks with each other.

The series applies on top of the earlier bugfixes
and cleanups series.

Aimed for 2.6.30. Tested on 2.6.29-rc4, but also
applies to x86 tip as of today.

-Andi