Skip to contentSkip to conversation

libnvdimm fixes for 4.18-rc5

GIT PULL Jiang, Dave 1 participant 1 message Jul 12, 2018 libnvdimm: non-volatile memory device

lore
Share & tools
lore

Jiang, Dave

author maintainer
#0 lore raw

Hi Linus, please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-fixes-4.18-rc5

...to receive, three fixes, a test unit fix, and a ratelimit change on output.

The following changes since commit 7daf201d7fe8334e2d2364d4e8ed3394ec9af819:

Linux 4.18-rc2 (2018-06-24 20:54:29 +0800)

are available in the Git repository at:

[email protected]:pub/scm/linux/kernel/git/nvdimm/nvdimm.git tags/libnvdimm-fixes-4.18-rc5

for you to fetch changes up to ee6581ceba7f8314b81b2f2a81f1cf3f67c679e2:

nfit: fix unchecked dereference in acpi_nfit_ctl (2018-07-11 10:25:24 -0700)

----------------------------------------------------------------
* fix one ensures that a variable passed in by reference to acpi_nfit_ctl is always set to a value. An incremental patch is provided due to notice from testing in -next. The rest of the commits did not exhibit issues.

* fix two fixes a return path in nsio_rw_bytes() that was not returning "bytes remain" as expected for the function.

* fix three addresses an issue where applications polling on scrub-completion for the NVDIMM may falsely wakeup and read the wrong state value and cause hang.

* the test unit changed the persistent capability to reflect the correct attribute it's testing.

* An output ratelimit to dev_info is introduced to the dax device check_vma() function since this is easily triggered from userspace.

----------------------------------------------------------------
Dan Williams (2):
libnvdimm, pmem: Fix memcpy_mcsafe() return code handling in nsio_rw_bytes() acpi, nfit: Fix scrub idle detection

Dave Jiang (2):
acpi/nfit: fix cmd_rc for acpi_nfit_ctl to always return a value
nfit: fix unchecked dereference in acpi_nfit_ctl

Jeff Moyer (1):
dev-dax: check_vma: ratelimit dev_info-s

Vishal Verma (1):
tools/testing/nvdimm: advertise a write cache for nfit_test

 drivers/acpi/nfit/core.c         | 48 +++++++++++++++++++++++++++++++---------
 drivers/acpi/nfit/nfit.h         |  1 +
 drivers/dax/device.c             | 12 ++++++----
 drivers/nvdimm/claim.c           |  1 +
 tools/testing/nvdimm/test/nfit.c |  3 +--
 5 files changed, 48 insertions(+), 17 deletions(-)

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm