mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
commitb3b7c4795c("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 <[email protected]> Signed-off-by: Alexander Sverdlin <[email protected]> [ Massage commit message. ] Signed-off-by: Borislav Petkov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Tony Luck <[email protected]> Cc: linux-edac <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected]