regmap: kunit: Add some test cases and a few small improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | regmap: kunit: Fix warnings of implicit casts to __le16 and __be16drivers/ | +7 | 0 replies | |
| 2/11 | regmap: kunit: Create a struct device for the regmapdrivers/ drivers/ drivers/ +1 more | +87 | 0 replies | |
| 3/11 | regmap: kunit: Introduce struct for test case parametersdrivers/ | +96 | 0 replies | |
| 4/11 | regmap: kunit: Run sparse cache tests at non-zero register addressesdrivers/ | +45 | 7 replies | |
| 5/11 | regmap: kunit: Run non-sparse cache tests at non-zero register addressesdrivers/ | +57 | 0 replies | |
| 6/11 | regmap: kunit: Add more cache-drop testsdrivers/ | +135 | 0 replies | |
| 7/11 | regmap: kunit: Add more cache-sync testsdrivers/ | +122 | 0 replies | |
| 8/11 | regmap: kunit: Use a KUnit action to call regmap_exit()drivers/ | +7 | 0 replies | |
| 9/11 | regmap: kunit: Replace a kmalloc/kfree() pair with KUnit-managed allocdrivers/ | +1 | 0 replies | |
| 10/11 | regmap: kunit: Add cache-drop test with multiple cache blocksdrivers/ | +103 | 0 replies | |
| 11/11 | regmap: kunit: Add test cases for regmap_read_bypassed()drivers/ | +131 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] regmap: kunit: Add some test cases and a few small improvements
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/[email protected]/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(-)
Signature · 1 line
2.39.2