[GIT PULL] libnvdimm fixes for v5.2-rc2

From: Dan Williams
Date: Sat May 25 2019 - 12:10:53 EST


Hi Linus, please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-fixes-5.2-rc2

...to receive a regression fix, a small (2 line code change)
performance enhancement, and some miscellaneous compilation warning
fixes. These have soaked in -next the past week with no known issues.
The device-mapper touches have Mike's ack, and the hardened user-copy
bypass was reviewed with Kees.

---

The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-fixes-5.2-rc2

for you to fetch changes up to 52f476a323f9efc959be1c890d0cdcf12e1582e0:

libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead (2019-05-20
20:43:32 -0700)

----------------------------------------------------------------
libnvdimm fixes v5.2-rc2

- Fix a regression that disabled device-mapper dax support

- Remove unnecessary hardened-user-copy overhead (>30%) for dax
read(2)/write(2).

- Fix some compilation warnings.

----------------------------------------------------------------
Dan Williams (2):
dax: Arrange for dax_supported check to span multiple devices
libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead

Qian Cai (1):
libnvdimm: Fix compilation warnings with W=1

drivers/dax/super.c | 88 ++++++++++++++++++++++++++++----------------
drivers/md/dm-table.c | 17 ++++++---
drivers/md/dm.c | 20 ++++++++++
drivers/md/dm.h | 1 +
drivers/nvdimm/bus.c | 4 +-
drivers/nvdimm/label.c | 2 +
drivers/nvdimm/label.h | 2 -
drivers/nvdimm/pmem.c | 11 +++++-
drivers/s390/block/dcssblk.c | 1 +
include/linux/dax.h | 26 +++++++++++++
10 files changed, 129 insertions(+), 43 deletions(-)