Re: (subset) [PATCH v2 0/5] regcache: Avoid accessing non-initialised cache
From: Mark Brown
Date: Thu Feb 26 2026 - 06:49:23 EST
On Wed, 25 Feb 2026 17:15:54 +0100, Andy Shevchenko wrote:
> Refactor regcache flow that populates cache on initialisation phase
> based on the values in HW. This makes code robust against any possible
> accesses to not-fully initialised caches.
>
> Changelog v2:
> - rebased on top of the latest regmap changes (Mark)
> - added two more little cleanups (patches 4 & 5)
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next
Thanks!
[1/5] regcache: Remove duplicate check in regcache_hw_init()
commit: 1fcf171178f021ef2005d47e281544624b93c5a5
[2/5] regcache: Split regcache_count_cacheable_registers() helper
commit: c2bcf62ca75c541ec4297e6ff02a68ddc2e02029
[3/5] regcache: Move HW readback after cache initialisation
(no commit info)
[4/5] regcache: Define iterator inside for-loop and align their types
(no commit info)
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