[GIT PULL] regmap fixes for v6.4-rc4

From: Mark Brown
Date: Tue May 30 2023 - 08:03:35 EST


The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-fix-v6.4-rc4

for you to fetch changes up to 0cc6578048e0980d254aee345130cced4912f723:

regmap: maple: Drop the RCU read lock while syncing registers (2023-05-24 11:21:52 +0100)

----------------------------------------------------------------
regmap: Fixes for v6.4

The most important fix here is for missing dropping of the RCU read lock
when syncing maple tree register caches, the physical devices I have
that use the code don't do any syncing so I'd only ever tested this with
virtual devices and missed the fact that we need to drop the lock in
order to write to buses that need to sleep. Otherwise there's a fix for
an edge case when splitting up large batch writes which has been lurking
for a long time, a check to make sure nobody writes new drivers with a
bug that was found in several SoundWire drivers and a tweak to the way
the new kunit tests are enabled to ensure they don't cause regmap to be
enabled when it wouldn't otherwise be.

----------------------------------------------------------------
Geert Uytterhoeven (1):
regmap: REGMAP_KUNIT should not select REGMAP

Jim Wylder (1):
regmap: Account for register length when chunking

Mark Brown (1):
regmap: maple: Drop the RCU read lock while syncing registers

Srinivas Kandagatla (1):
regmap: sdw: check for invalid multi-register writes config

drivers/base/regmap/Kconfig | 13 ++++++++++---
drivers/base/regmap/regcache-maple.c | 5 ++++-
drivers/base/regmap/regmap-sdw.c | 4 ++++
drivers/base/regmap/regmap.c | 6 ++++--
4 files changed, 22 insertions(+), 6 deletions(-)