]> git.baikalelectronics.ru Git - kernel.git/commit
nfit: Continue init even if ARS commands are unimplemented
authorVishal Verma <vishal.l.verma@intel.com>
Thu, 3 Mar 2016 22:39:41 +0000 (15:39 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 5 Mar 2016 00:46:13 +0000 (16:46 -0800)
commitd142ae096a65c2c7c8945ddab415f9bf8c6fdeac
treed4f99e6ee0506b19e93220f8b5031ae2e9ea3286
parentb4c6e182f5b636364ef191076c0c02fb76bae986
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