]> git.baikalelectronics.ru Git - kernel.git/commit
x86, MCE: Remove bios_cmci_threshold sysfs attribute
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 18 Oct 2012 13:10:56 +0000 (15:10 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 19 Oct 2012 13:22:29 +0000 (15:22 +0200)
commit7cc65b7e302ef04d291156486a8ff548df327c07
tree453ec58b076eb4fa23dc785418564ca4bf463b1a
parent9f9c2b131ad418bd503f9b10b9b6d19333bd1654
x86, MCE: Remove bios_cmci_threshold sysfs attribute

d1e6083b2812d ("x86/mce: Provide boot argument to honour bios-set CMCI
threshold") added the bios_cmci_threshold sysfs attribute which was
supposed to communicate to userspace tools that BIOS CMCI threshold has
been honoured.

However, this info is not of any importance to userspace - it should
rather get the actual error count it has been thresholded already from
MCi_STATUS[38:52].

So drop this before it becomes a used interface (good thing we caught
this early in 3.7-rc1, right after the merge window closed).

Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/20121017105940.GA14590@x1.osrc.amd.com
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
arch/x86/kernel/cpu/mcheck/mce.c