mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srini@kernel.org>
To: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>,
	"Michael Walle" <mwalle@kernel.org>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	"Michael Walle" <michael@walle.cc>,
	"Linus Walleij" <linusw@kernel.org>,
	"Khouloud Touil" <ktouil@baylibre.com>,
	"Bartosz Golaszewski" <brgl@kernel.org>,
	"James Hilliard" <james.hilliard1@gmail.com>
Cc: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
	 Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	 Miquel Raynal <miquel.raynal@bootlin.com>,
	 Paul Cercueil <paul@crapouillou.net>,
	linux-kernel@vger.kernel.org,  linux-mtd@lists.infradead.org
Subject: Re: (subset) [PATCH v3 00/11] nvmem: complete provider and layout disconnection
Date: Fri, 27 Nov 2026 11:14:50 +0000	[thread overview]
Message-ID: <179577809082.20168.7510408670870857172.b4-ty@kernel.org> (raw)
In-Reply-To: <20261120-submit-nvmem-provider-lifetime-v1-v3-0-523610652402@gmail.com>


On Fri, 20 Nov 2026 13:08:30 -0700, James Hilliard wrote:
> NVMEM unregister already disconnects register callbacks with SRCU. Some
> accesses extend beyond those callbacks: keepout traversal, cell
> post-processing, DT fixups and device matching can still use provider
> state. Layout unbind also leaves its cells and their callbacks available
> to retained consumers.
> 
> Extend the existing drain to those accesses, and retire layout-owned
> cells independently of provider cells. Old handles retain core-owned
> metadata and reject further access. Explicit cell references and sysfs
> group ownership make layout removal and rebind independent of existing
> consumers. Release the write-protect GPIO when callbacks are drained so
> a retained consumer does not prevent provider reprobe.
> 
> [...]

Applied, thanks!

[01/11] nvmem: retain the provider node until device release
        commit: e5cb8ebd4c5387c5d7eddefbbd89e98efa359878
[02/11] nvmem: drain keepout and cell post-processing accesses
        commit: e770f469df98a02f10e97c2ebe6abf93fec460f7
[03/11] nvmem: exclude disconnected providers from callback admission
        commit: 4508485e8156afd4c9d901f6192d4fe13867e698
[04/11] nvmem: release write protection when the provider disconnects
        commit: 189dc217748ae8ad4198bed150d94aa82a44fa6c

Best regards,
-- 
Srinivas Kandagatla <srini@kernel.org>


      parent reply	other threads:[~2026-11-27 11:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 20:08 James Hilliard
2026-11-20 20:08 ` [PATCH v3 01/11] nvmem: retain the provider node until device release James Hilliard
2026-11-27 11:16   ` Srinivas Kandagatla
2026-11-20 20:08 ` [PATCH v3 02/11] nvmem: drain keepout and cell post-processing accesses James Hilliard
2026-11-20 20:08 ` [PATCH v3 03/11] nvmem: exclude disconnected providers from callback admission James Hilliard
2026-11-20 20:08 ` [PATCH v3 04/11] nvmem: release write protection when the provider disconnects James Hilliard
2026-11-20 20:08 ` [PATCH v3 05/11] nvmem: reference cell entries independently of their provider list James Hilliard
2026-11-20 20:08 ` [PATCH v3 06/11] nvmem: manage cell attributes independently of device resources James Hilliard
2026-11-20 20:08 ` [PATCH v3 07/11] nvmem: distinguish layout cells from provider cells James Hilliard
2026-11-20 20:08 ` [PATCH v3 08/11] nvmem: disconnect cells before removing their layout James Hilliard
2026-11-20 20:08 ` [PATCH v3 09/11] nvmem: disconnect published devices before registration rollback James Hilliard
2026-11-20 20:08 ` [PATCH v3 10/11] nvmem: u-boot-env: propagate cell registration errors James Hilliard
2026-11-20 20:08 ` [PATCH v3 11/11] nvmem: allow providers to specify an explicit NULL owner James Hilliard
2026-11-27 11:14 ` Srinivas Kandagatla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179577809082.20168.7510408670870857172.b4-ty@kernel.org \
    --to=srini@kernel.org \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=brgl@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=james.hilliard1@gmail.com \
    --cc=ktouil@baylibre.com \
    --cc=linusw@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mathieu.dubois-briand@bootlin.com \
    --cc=michael@walle.cc \
    --cc=miquel.raynal@bootlin.com \
    --cc=mwalle@kernel.org \
    --cc=paul@crapouillou.net \
    --cc=rafal@milecki.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®