diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-22 10:20:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-22 10:20:56 -0700 |
commit | 39b1428639ed2224832234f48bfce991786aa4df (patch) | |
tree | b992df3b12a1e860370ab0cf7dd112fe56d5380f /Documentation | |
parent | c0842db5e52441174f347dd185bb06e841d7cfab (diff) | |
parent | a9e26169cfda651802f88262a315146fbe4bc74c (diff) | |
download | lwn-39b1428639ed2224832234f48bfce991786aa4df.tar.gz lwn-39b1428639ed2224832234f48bfce991786aa4df.zip |
Merge tag 'regmap-fix-v6.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap
Pull regmap fixes from Mark Brown:
"Three fixes here:
- The issues with accounting for register and padding length on raw
buses turn out to be quite widespread in custom buses.
In order to avoid disturbing anything drop the initial fixes and
fall back to a point fix in the SMBus code where the issue was
originally noticed, a more substantial refactoring of the API which
ensures that all buses make the same assumptions will follow.
- The generic regcache code had been forcing on async I/O which did
not work with the new maple tree sync code when used with SPI.
Since that was mainly for the rbtree cache and the assumptions
about hardware that drove the choice are probably not true any more
fix this by pushing the enablement of async down into the rbtree
code.
This probably also makes cache syncs for systems faster though it's
not the point.
- The test code was triggering use of the rbtree and maple tree
caches with dynamic allocation of nodes since all the testing is
with RAM backed caches with no I/O performance issues.
Just disable the locking in the tests to avoid triggering warnings
when allocation debugging is turned on, it's not really what's
being tested"
* tag 'regmap-fix-v6.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
regmap: Disable locking for RBTREE and MAPLE unit tests
regcache: Push async I/O request down into the rbtree cache
regmap: Account for register length in SMBus I/O limits
regmap: Drop initial version of maximum transfer length fixes
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions