lkml.org 
[lkml]   [2018]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/5] libnvdimm: fix locked status detection
From
Date
The new ACPI _LSx methods moved the 'dimm locked' error status from the
result of ND_CMD_GET_CONFIG_SIZE to an error status result of
ND_CMD_GET_CONFIG_DATA. Error code translation prevents the proper error
code from making it back to the 'nd_dimm' driver.

Fix the error code propagation and add some unit test infrastructure for
regression testing this case.

---

Dan Williams (5):
libnvdimm, dimm: handle EACCES failures from label reads
tools/testing/nvdimm: allow custom error code injection
tools/testing/nvdimm: support nfit_test_dimm attributes under nfit_test.1
tools/testing/nvdimm: fix missing newline in nfit_test_dimm 'handle' attribute
tools/testing/nvdimm: enable labels for nfit_test.1 dimms


drivers/nvdimm/dimm_devs.c | 22 +++++-----
tools/testing/nvdimm/test/nfit.c | 84 +++++++++++++++++++++++++++++---------
2 files changed, 77 insertions(+), 29 deletions(-)

\
 
 \ /
  Last update: 2018-04-11 00:51    [W:0.036 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site