Skip to content
Commit f227d430 authored by Borislav Petkov's avatar Borislav Petkov
Browse files

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: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 69964ea4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment