nfit: disable userspace initiated ars during scrub
authorDan Williams <dan.j.williams@intel.com>
Tue, 23 Feb 2016 05:50:31 +0000 (21:50 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 5 Mar 2016 20:24:06 +0000 (12:24 -0800)
commit87bf572e19a092cc9cc77d5a00d543a2b628c142
treeae275e80641400bccfbf39c168dbfc5178b44159
parent1cf03c00e7c17d3cf13a267dac83b3162a16ba8c
nfit: disable userspace initiated ars during scrub

While the nfit driver is issuing address range scrub commands and
reaping the results do not permit an ars_start command issued from
userspace.  The scrub thread assumes that all ars completions are for
scrubs initiated by platform firmware at boot, or by the nfit driver.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit.c
drivers/nvdimm/bus.c
include/linux/libnvdimm.h