diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-07-20 10:32:37 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-20 18:45:13 +0100 |
| commit | 86fc3483a4d60f575533d1d5542bacca2a25ddc7 (patch) | |
| tree | 751276a4febd23b18df3b7fbe8801b0fa9a782df /tools/perf/scripts/python | |
| parent | 1590cf0329716306e948a8fc29f1d3ee87d3989f (diff) | |
regcache: Warn if regcache_sync() is called in cache_only mode
Calling regcache_sync() while cache_only is enabled is invalid API
usage, since writes are intentionally kept in the cache and cannot
be synchronized to hardware.
Document that callers must disable cache_only before calling
regcache_sync(), and reject incorrect usage with a WARN_ON() and
-EINVAL.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260720033238.52479-1-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
