Skip to content

regmap: kunit: Add test for cache sync interaction with range selectors

Mark Brown lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20231023-regmap-test-window-cache-c3a2b3d0a769

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2regmap: kunit: Fix marking of the range window as volatiledrivers/base/regmap/regmap-kunit.c+1 -10 replies
2/2regmap: kunit: Add test for cache sync interaction with rangesdrivers/base/regmap/regmap-kunit.c+64 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] regmap: kunit: Add test for cache sync interaction with range selectors

Add a test for a bug reported by Hector Martin, plus a fix for a thinko in the tests that I spotted while adding that test case. I've not included a fix since I believe Hector either has or is working on something and I don't want to invalidate his work.

Hector also reports that there is a similar interaction around cache initialisation from device defaults.

---
Mark Brown (2):
regmap: kunit: Fix marking of the range window as volatile
regmap: kunit: Add test for cache sync interaction with ranges

 drivers/base/regmap/regmap-kunit.c | 68 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 65 insertions(+), 3 deletions(-)

---
base-commit: 6465e260f48790807eef06b583b38ca9789b6072
change-id: 20231023-regmap-test-window-cache-c3a2b3d0a769

Best regards,

Signature · 1 line
Mark Brown <[email protected]>