From: Peng Fan <peng.fan@oss.nxp.com>
To: Mark Brown <broonie@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Danilo Krummrich <dakr@kernel.org>,
linux-kernel@vger.kernel.org, driver-core@lists.linux.dev,
Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH v2 0/7] regmap: cleanups for regcache and regmap init paths
Date: Wed, 7 Oct 2026 21:21:13 +0800 [thread overview]
Message-ID: <asZHSfGJMqlAT5MD@shlinux89> (raw)
In-Reply-To: <179130291324.150114.9760230237322324458.b4-ty@b4>
Hi Mark,
On Tue, Oct 06, 2026 at 06:08:33PM +0200, Mark Brown wrote:
>On Fri, 02 Oct 2026 21:11:16 +0800, Peng Fan (OSS) wrote:
>> regmap: cleanups for regcache and regmap init paths
>>
>> Following up the previous regmap guard lock patchset [1].
>>
>> [1] https://lore.kernel.org/all/179062150526.139547.3870545428656485907.b4-ty@b4/#r
>>
>> This is the 2nd batch to do more cleanup.
>>
>> [...]
>
>Applied to
>
> https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-7.4
Thanks for picking up this series.
Sashiko report a minor issue that I should not use scoped_guard inside
a function has goto.
Actually it is not an bug. The goto logic and the scoped area are not mixed,
but anyway I just posted out v3 to address the issue:
https://lore.kernel.org/all/20261007-regmap-lock-2nd-v3-0-0e590c4125be@nxp.com/
If you would keep v2, I could post a incremental patch to address the
Sashiko's findings. Or you may pick v3.
Thanks
Peng
>
>Thanks!
>
>[1/7] regcache: extract locked helpers to replace open-coded lock/unlock pairs
> https://git.kernel.org/broonie/regmap/c/81556a7aec22
>[2/7] regcache: extract __regcache_sync() to deduplicate sync dispatch
> https://git.kernel.org/broonie/regmap/c/7ca8aa98e2ba
>[3/7] regcache: simplify control flow and reduce nesting
> https://git.kernel.org/broonie/regmap/c/4e1b5ccf1eab
>[4/7] regmap: use krealloc_array() in regmap_register_patch()
> https://git.kernel.org/broonie/regmap/c/8a889c83e478
>[5/7] regmap: fix potential double-free of map->reg_defaults on cache reinit
> https://git.kernel.org/broonie/regmap/c/ca685a42b0fd
>[6/7] regmap: debugfs: Use __free(kfree) in regmap_name_read_file()
> https://git.kernel.org/broonie/regmap/c/d64967dee82b
>[7/7] regmap: debugfs: Use guard to simplify code
> https://git.kernel.org/broonie/regmap/c/a93de1d65c6b
>
>All being well this means that it will be integrated into the linux-next
>tree (usually sometime in the next 24 hours) and sent to Linus during
>the next merge window (or sooner if it is a bug fix), however if
>problems are discovered then the patch may be dropped or reverted.
>
>You may get further e-mails resulting from automated or manual testing
>and review of the tree, please engage with people reporting problems and
>send followup patches addressing any issues that are reported if needed.
>
>If any updates are required or you are submitting further changes they
>should be sent as incremental updates against current git, existing
>patches will not be replaced.
>
>Please add any relevant lists and maintainers to the CCs when replying
>to this mail.
>
>Thanks,
>Mark
>
>
>
prev parent reply other threads:[~2026-10-07 13:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-02 13:11 [PATCH v2 0/7] regmap: cleanups for regcache and regmap init paths Peng Fan (OSS)
2026-10-02 13:11 ` [PATCH v2 1/7] regcache: extract locked helpers to replace open-coded lock/unlock pairs Peng Fan (OSS)
2026-10-02 13:11 ` [PATCH v2 2/7] regcache: extract __regcache_sync() to deduplicate sync dispatch Peng Fan (OSS)
2026-10-02 13:11 ` [PATCH v2 3/7] regcache: simplify control flow and reduce nesting Peng Fan (OSS)
2026-10-02 13:11 ` [PATCH v2 4/7] regmap: use krealloc_array() in regmap_register_patch() Peng Fan (OSS)
2026-10-02 13:11 ` [PATCH v2 5/7] regmap: fix potential double-free of map->reg_defaults on cache reinit Peng Fan (OSS)
2026-10-02 13:11 ` [PATCH v2 6/7] regmap: debugfs: Use __free(kfree) in regmap_name_read_file() Peng Fan (OSS)
2026-10-02 13:11 ` [PATCH v2 7/7] regmap: debugfs: Use guard to simplify code Peng Fan (OSS)
2026-10-06 16:08 ` [PATCH v2 0/7] regmap: cleanups for regcache and regmap init paths Mark Brown
2026-10-07 13:21 ` Peng Fan [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=asZHSfGJMqlAT5MD@shlinux89 \
--to=peng.fan@oss.nxp.com \
--cc=broonie@kernel.org \
--cc=dakr@kernel.org \
--cc=driver-core@lists.linux.dev \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=rafael@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.