nfit, libnvdimm: clear poison command support
authorDan Williams <dan.j.williams@intel.com>
Fri, 4 Mar 2016 00:08:54 +0000 (16:08 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 6 Mar 2016 02:06:14 +0000 (18:06 -0800)
commitd4f323672aa63713b7ca26da418f66cc30d3a41a
treec073dd799eab97ed7b6e7e04a94c16e793361285
parent07accfa9d1a8bac8262f6d24a94a54d2d1f35149
nfit, libnvdimm: clear poison command support

Add the boiler-plate for a 'clear error' command based on section
9.20.7.6 "Function Index 4 - Clear Uncorrectable Error" from the ACPI
6.1 specification, and add a reference implementation in nfit_test.

Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit.c
drivers/nvdimm/bus.c
include/uapi/linux/ndctl.h
tools/testing/nvdimm/test/nfit.c