linux/arch/x86/kernel/cpu/mcheck
Dewet Thibaut fbdb328c6b x86/MCE: Remove min interval polling limitation
commit b3b7c4795c ("x86/MCE: Serialize sysfs changes") introduced a min
interval limitation when setting the check interval for polled MCEs.
However, the logic is that 0 disables polling for corrected MCEs, see
Documentation/x86/x86_64/machinecheck. The limitation prevents disabling.

Remove this limitation and allow the value 0 to disable polling again.

Fixes: b3b7c4795c ("x86/MCE: Serialize sysfs changes")
Signed-off-by: Dewet Thibaut <thibaut.dewet@nokia.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
[ Massage commit message. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/20180716084927.24869-1-alexander.sverdlin@nokia.com
2018-07-17 17:56:25 +02:00
..
dev-mcelog.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mce_amd.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
mce_intel.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mce-apei.c x86/ras: Flip the TSC-adding logic 2017-01-24 09:14:54 +01:00
mce-genpool.c x86/mce: Make the MCE notifier a blocking one 2017-04-18 22:23:48 +02:00
mce-inject.c x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read() 2018-05-06 12:46:39 +02:00
mce-internal.h x86/mce: Convert 'struct mca_config' bools to a bitfield 2018-02-21 17:00:53 +01:00
mce-severity.c x86/mce: Improve error message when kernel cannot recover 2018-06-07 22:22:12 +02:00
mce.c x86/MCE: Remove min interval polling limitation 2018-07-17 17:56:25 +02:00
p5.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
therm_throt.c x86/mce: Remove duplicated tracing interrupt code 2017-08-29 11:42:26 +02:00
threshold.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
winchip.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00