[GIT PULL] libnvdimm fixes for v5.12-rc8 / final
From: Dan Williams
Date: Fri Apr 16 2021 - 23:25:47 EST
Hi Linus, please pull from:
...to receive a handful of libnvdimm fixups.
The largest change is for a regression that landed during -rc1 for
block-device read-only handling. Vaibhav found a new use for the
ability (originally introduced by virtio_pmem) to call back to the
platform to flush data, but also found an original bug in that
implementation. Lastly, Arnd cleans up some compile warnings in dax.
This has all appeared in -next with no reported issues.
---
The following changes since commit e49d033bddf5b565044e2abe4241353959bc9120:
Linux 5.12-rc6 (2021-04-04 14:15:36 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-fixes-for-5.12-rc8
for you to fetch changes up to 11d2498f1568a0f923dc8ef7621de15a9e89267f:
Merge branch 'for-5.12/dax' into libnvdimm-fixes (2021-04-09 22:00:09 -0700)
----------------------------------------------------------------
libnvdimm fixes for v5.12-rc8
- Fix a regression of read-only handling in the pmem driver.
- Fix a compile warning.
- Fix support for platform cache flush commands on powerpc/papr
----------------------------------------------------------------
Arnd Bergmann (1):
dax: avoid -Wempty-body warnings
Dan Williams (2):
libnvdimm: Notify disk drivers to revalidate region read-only
Merge branch 'for-5.12/dax' into libnvdimm-fixes
Vaibhav Jain (1):
libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
drivers/dax/bus.c | 6 ++----
drivers/nvdimm/bus.c | 14 ++++++--------
drivers/nvdimm/pmem.c | 37 +++++++++++++++++++++++++++++++++----
drivers/nvdimm/region_devs.c | 16 ++++++++++++++--
include/linux/nd.h | 1 +
5 files changed, 56 insertions(+), 18 deletions(-)