linux-nvdimm.lists.01.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] libnvdimm fixes for 5.3-rc2
@ 2019-07-26 22:53 Dan Williams
       [not found] ` <CAPcyv4gqE6zOoSibTgjbWWHE3VVQ0wSJN-NxwF288nTe2Z3yzA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Williams @ 2019-07-26 22:53 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel Mailing List, linux-nvdimm

Hi Linus, please pull from:

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

...to receive a collection of locking and async operations fixes for
v5.3-rc2. These had been soaking in a branch targeting the merge
window, but missed due to a regression hunt. This fixed up version has
otherwise been in -next this past week with no reported issues.

In order to gain confidence in the locking changes the pull also
includes a debug / instrumentation patch to enable lockdep coverage
for libnvdimm subsystem operations that depend on the device_lock for
exclusion. As mentioned in the changelog it is a hack, but it works
and documents the locking expectations of the sub-system in a way that
others can use lockdep to verify. The driver core touches got an ack
from Greg.

Please pull, but I'll understand if you want a resend with the debug
patch dropped.

---

The following changes since commit d1fdb6d8f6a4109a4263176c84b899076a5f8008:

  Linux 5.2-rc4 (2019-06-08 20:24:46 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 87a30e1f05d73a34e6d1895065541369131aaf1c:

  driver-core, libnvdimm: Let device subsystems add local lockdep
coverage (2019-07-18 16:23:27 -0700)

----------------------------------------------------------------
libnvdimm fixes v5.3-rc2

- Fix duplicate device_unregister() calls (multiple threads competing to
  do unregister work when scheduling device removal from a sysfs attribute
  of the self-same device).

- Fix badblocks registration order bug. Ensure region badblocks are
  initialized in advance of namespace registration.

- Fix a deadlock between the bus lock and probe operations.

- Export device-core infrastructure to coordinate async operations via
  the device ->dead state.

- Add device-core infrastructure to validate device_lock() usage with
  lockdep.

----------------------------------------------------------------
Dan Williams (7):
      drivers/base: Introduce kill_device()
      libnvdimm/bus: Prevent duplicate device_unregister() calls
      libnvdimm/region: Register badblocks before namespaces
      libnvdimm/bus: Prepare the nd_ioctl() path to be re-entrant
      libnvdimm/bus: Stop holding nvdimm_bus_list_mutex over __nd_ioctl()
      libnvdimm/bus: Fix wait_nvdimm_bus_probe_idle() ABBA deadlock
      driver-core, libnvdimm: Let device subsystems add local lockdep coverage

 drivers/acpi/nfit/core.c        |  28 +++---
 drivers/acpi/nfit/nfit.h        |  24 +++++
 drivers/base/core.c             |  30 ++++--
 drivers/nvdimm/btt_devs.c       |  16 +--
 drivers/nvdimm/bus.c            | 210 ++++++++++++++++++++++++++--------------
 drivers/nvdimm/core.c           |  10 +-
 drivers/nvdimm/dimm_devs.c      |   4 +-
 drivers/nvdimm/namespace_devs.c |  36 +++----
 drivers/nvdimm/nd-core.h        |  71 +++++++++++++-
 drivers/nvdimm/pfn_devs.c       |  24 ++---
 drivers/nvdimm/pmem.c           |   4 +-
 drivers/nvdimm/region.c         |  24 ++---
 drivers/nvdimm/region_devs.c    |  12 ++-
 drivers/nvdimm/region.c         |  24 ++---
 drivers/nvdimm/region_devs.c    |  12 ++-
 include/linux/device.h          |   6 ++
 14 files changed, 343 insertions(+), 156 deletions(-)
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] libnvdimm fixes for 5.3-rc2
       [not found] ` <CAPcyv4gqE6zOoSibTgjbWWHE3VVQ0wSJN-NxwF288nTe2Z3yzA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2019-07-27 16:35   ` pr-tracker-bot-DgEjT+Ai2ygdnm+yROfE0A
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot-DgEjT+Ai2ygdnm+yROfE0A @ 2019-07-27 16:35 UTC (permalink / raw)
  To: Dan Williams; +Cc: Linus Torvalds, Linux Kernel Mailing List, linux-nvdimm

The pull request you sent on Fri, 26 Jul 2019 15:53:47 -0700:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/523634db145a22cd5562714d4c59ea74686afe38

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-27 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-26 22:53 [GIT PULL] libnvdimm fixes for 5.3-rc2 Dan Williams
     [not found] ` <CAPcyv4gqE6zOoSibTgjbWWHE3VVQ0wSJN-NxwF288nTe2Z3yzA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-07-27 16:35   ` pr-tracker-bot-DgEjT+Ai2ygdnm+yROfE0A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).