nfit: Continue init even if ARS commands are unimplemented
commit6e2452dff4441e3dc24d415c8b2cda8a3ba52116
authorVishal Verma <vishal.l.verma@intel.com>
Thu, 3 Mar 2016 22:39:41 +0000 (3 15:39 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 5 Mar 2016 00:46:13 +0000 (4 16:46 -0800)
treed4f99e6ee0506b19e93220f8b5031ae2e9ea3286
parentfc77dbd34c5c99bce46d40a2491937c3bcbd10af
nfit: Continue init even if ARS commands are unimplemented

If firmware doesn't implement any of the ARS commands, take that to
mean that ARS is unsupported, and continue to initialize regions without
bad block lists. We cannot make the assumption that ARS commands will be
unconditionally supported on all NVDIMMs.

Reported-by: Haozhong Zhang <haozhong.zhang@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Acked-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Tested-by: Haozhong Zhang <haozhong.zhang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit.c