linux/tools/testing/nvdimm
Vishal Verma 6839a6d96f nfit: do an ARS scrub on hitting a latent media error
When a latent (unknown to 'badblocks') error is encountered, it will
trigger a machine check exception. On a system with machine check
recovery, this will only SIGBUS the process(es) which had the bad page
mapped (as opposed to a kernel panic on platforms without machine
check recovery features). In the former case, we want to trigger a full
rescan of that nvdimm bus. This will allow any additional, new errors
to be captured in the block devices' badblocks lists, and offending
operations on them can be trapped early, avoiding machine checks.

This is done by registering a callback function with the
x86_mce_decoder_chain and calling the new ars_rescan functionality with
the address in the mce notificatiion.

Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2016-07-24 08:04:04 -07:00
..
test nfit: move to nfit/ sub-directory 2016-07-24 08:04:04 -07:00
Kbuild nfit: do an ARS scrub on hitting a latent media error 2016-07-24 08:04:04 -07:00
Makefile tools/testing/nvdimm: libnvdimm unit test infrastructure 2015-06-26 11:23:38 -04:00
config_check.c tools/testing/nvdimm: add pfn device dependency 2016-06-17 16:23:23 -07:00
pmem-dax.c pmem: kill __pmem address space 2016-07-12 19:25:38 -07:00