x86, MCE, AMD: Assign interrupt handler only when bank supports it
authorChen Yucong <slaoub@gmail.com>
Sat, 1 Nov 2014 10:23:32 +0000 (11:23 +0100)
committerBorislav Petkov <bp@suse.de>
Sat, 1 Nov 2014 10:28:23 +0000 (11:28 +0100)
There are some AMD CPU models which have thresholding banks but which
cannot generate a thresholding interrupt. This is denoted by the bit
MCi_MISC[IntP]. Make sure to check that bit before assigning the
thresholding interrupt handler.

Signed-off-by: Chen Yucong <slaoub@gmail.com>
[ Boris: save an indentation level and rewrite commit message. ]
Link: http://lkml.kernel.org/r/1412662128.28440.18.camel@debian
Signed-off-by: Borislav Petkov <bp@suse.de>

No differences found