]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86, MCE, AMD: Make APIC LVT thresholding interrupt optional
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 16 Apr 2012 16:01:53 +0000 (18:01 +0200)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 18 Jun 2012 08:19:54 +0000 (12:19 +0400)
commit90f6a9ff4310c078d8b482bfd579a443add1988a
tree84a153fe0bb0bfce328a84e069b6af6218ba2963
parent0c1a7214c06683463f3b15e7f739ac15663cfbcb
x86, MCE, AMD: Make APIC LVT thresholding interrupt optional

Currently, the APIC LVT interrupt for error thresholding is implicitly
enabled. However, there are models in the F15h range which do not enable
it. Make the code machinery which sets up the APIC interrupt support
an optional setting and add an ->interrupt_capable member to the bank
representation mirroring that capability and enable the interrupt offset
programming only if it is true.

Simplify code and fixup comment style while at it.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Conflicts:

arch/x86/kernel/cpu/mcheck/mce_amd.c
arch/x86/kernel/cpu/mcheck/mce_amd.c