[GIT PULL] libnvdimm fixes for v5.4-rc1

From: Dan Williams
Date: Sat Sep 28 2019 - 21:45:00 EST


Hi Linus, please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-fixes-5.4-rc1

...to receive the completion of the work to fixup libnvdimm operation
on powerpc as well as a collection of typical -rc class fixes. This
powerpc work missed the initial libnvdimm pull last week due to a late
discovered compile breakage (missing symbol export), but it's all
fixed up now, and has appeared in -next releases over the past week
with no issues. The touch of arch/powerpc/ has an ack from Michael.

---

The following changes since commit 5b26db95fee3f1ce0d096b2de0ac6f3716171093:

libnvdimm: Use PAGE_SIZE instead of SZ_4K for align check
(2019-09-05 16:11:14 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-fixes-5.4-rc1

for you to fetch changes up to 4c806b897d6075bfa5067e524fb058c57ab64e7b:

libnvdimm/region: Enable MAP_SYNC for volatile regions (2019-09-24
10:33:19 -0700)

----------------------------------------------------------------
libnvdimm fixes v5.4-rc1

- Complete the reworks to interoperate with powerpc dynamic huge page sizes

- Fix a crash due to missed accounting for the powerpc 'struct
page'-memmap mapping granularity.

- Fix badblock initialization for volatile (DRAM emulated) pmem ranges.

- Stop triggering request_key() notifications to userspace when
NVDIMM-security is disabled / not present.

- Miscellaneous small fixups.

----------------------------------------------------------------
Aneesh Kumar K.V (6):
powerpc/book3s64: Export has_transparent_hugepage() related functions.
libnvdimm/dax: Pick the right alignment default when creating dax devices
libnvdimm: Fix endian conversion issues
libnvdimm/altmap: Track namespace boundaries in altmap
libnvdimm/region: Initialize bad block for volatile namespaces
libnvdimm/region: Enable MAP_SYNC for volatile regions

Dave Jiang (1):
libnvdimm: prevent nvdimm from requesting key when security is disabled

Nathan Chancellor (1):
libnvdimm/nfit_test: Fix acpi_handle redefinition

arch/powerpc/include/asm/book3s/64/radix.h | 8 +++-
arch/powerpc/mm/book3s64/hash_pgtable.c | 2 +
arch/powerpc/mm/book3s64/radix_pgtable.c | 7 ---
arch/powerpc/mm/init_64.c | 17 ++++++-
drivers/nvdimm/btt.c | 8 ++--
drivers/nvdimm/bus.c | 2 +-
drivers/nvdimm/namespace_devs.c | 7 +--
drivers/nvdimm/nd.h | 6 +--
drivers/nvdimm/pfn_devs.c | 77 ++++++++++++++++++++++--------
drivers/nvdimm/region.c | 4 +-
drivers/nvdimm/region_devs.c | 7 ++-
drivers/nvdimm/security.c | 4 ++
include/linux/huge_mm.h | 7 ++-
include/linux/memremap.h | 1 +
tools/testing/nvdimm/test/nfit_test.h | 4 +-
15 files changed, 110 insertions(+), 51 deletions(-)