diff options
author | 2024-04-08 15:45:55 +0100 | |
---|---|---|
committer | 2024-04-08 16:38:10 +0100 | |
commit | 7dd52d301cfcff9a67be19d00289e03d80d05e46 (patch) | |
tree | 66ab3d904bd15bdc785c30a4ce8f14e12ed2dd53 /scripts/generate_rust_analyzer.py | |
parent | regmap: kunit: Run non-sparse cache tests at non-zero register addresses (diff) | |
download | linux-rng-7dd52d301cfcff9a67be19d00289e03d80d05e46.tar.xz linux-rng-7dd52d301cfcff9a67be19d00289e03d80d05e46.zip |
regmap: kunit: Add more cache-drop tests
Extend the testing of cache-drop.
- Added cache_drop_all_and_sync_marked_dirty(). If all registers are
dropped from the cache a regcache_mark_dirty() followed by
regcache_sync() should not write anything because the cache is empty.
- Added cache_drop_all_and_sync_no_defaults(). This is similar to
cache_drop_all_and_sync_marked_dirty() except that regcache_mark_dirty()
is NOT called. All registers were dropped so regcache_sync() should not
write anything.
- Added cache_drop_all_and_sync_has_defaults(). This is the same as
cache_drop_all_and_sync_no_defaults() except that the regmap has a
table of default values.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://msgid.link/r/20240408144600.230848-7-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions