Messages in this thread | | | From | Richard Fitzgerald <> | Subject | [PATCH 00/11] regmap: kunit: Add some test cases and a few small improvements | Date | Mon, 8 Apr 2024 15:45:49 +0100 |
| |
This series adds some more test cases, mainly for testing:
commit eaa03486d932 ("regmap: maple: Fix uninitialized symbol 'ret' warnings") commit 00bb549d7d63 ("regmap: maple: Fix cache corruption in regcache_maple_drop()")
And the pending patch ("regmap: Add regmap_read_bypassed()") https://lore.kernel.org/linux-sound/20240408101803.43183-1-rf@opensource.cirrus.com/T/#m2b99b1e01872bfc3597e89dee57dcdd5dbaf1b55
There are also a few small improvements to the KUnit implementation.
Richard Fitzgerald (11): regmap: kunit: Fix warnings of implicit casts to __le16 and __be16 regmap: kunit: Create a struct device for the regmap regmap: kunit: Introduce struct for test case parameters regmap: kunit: Run sparse cache tests at non-zero register addresses regmap: kunit: Run non-sparse cache tests at non-zero register addresses regmap: kunit: Add more cache-drop tests regmap: kunit: Add more cache-sync tests regmap: kunit: Use a KUnit action to call regmap_exit() regmap: kunit: Replace a kmalloc/kfree() pair with KUnit-managed alloc regmap: kunit: Add cache-drop test with multiple cache blocks regmap: kunit: Add test cases for regmap_read_bypassed()
drivers/base/regmap/internal.h | 14 +- drivers/base/regmap/regmap-kunit.c | 994 ++++++++++++++++++++------- drivers/base/regmap/regmap-ram.c | 5 +- drivers/base/regmap/regmap-raw-ram.c | 5 +- 4 files changed, 765 insertions(+), 253 deletions(-)
-- 2.39.2
| |