]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/acpi/nfit/core.c
nfit: don't start a full scrub by default for an MCE
authorVishal Verma <vishal.l.verma@intel.com>
Fri, 30 Sep 2016 23:19:29 +0000 (17:19 -0600)
committerDan Williams <dan.j.williams@intel.com>
Sat, 1 Oct 2016 00:00:10 +0000 (17:00 -0700)
commit9ffd6350a103cb9e73e3abb4573c900cfead2f9b
tree1550c93056b0a0a28cbad31c8a91e731be14ddc2
parenta0056afe21fdf79d1fad2b8fb14868cd710d400f
nfit: don't start a full scrub by default for an MCE

Starting a full Address Range Scrub (ARS) on hitting a memory error
machine check exception may not always be desirable. Provide a way
through sysfs to toggle the behavior between just adding the address
(cache line) where the MCE happened to the poison list and doing a full
scrub. The former (selective insertion of the address) is done
unconditionally.

Cc: linux-acpi@vger.kernel.org
Cc: Linda Knippers <linda.knippers@hpe.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c
drivers/acpi/nfit/mce.c
drivers/acpi/nfit/nfit.h