11 Nov
2010
11 Nov
'10
11:39 a.m.
On Thu, 2010-11-11 at 10:04 +0000, Dimitris Papastamos wrote:
This patch series introduces the new caching API. The idea behind this caching interface is that we can provide different means of organizing and accessing the register cache. This is useful for large and sparse register maps, where one can use some kind of compression algorithm to reduce the memory footprint. The caching API is designed in such way to eliminate the need for modifying any existing drivers.
TODO:
- Memory usage statistics, to make it easier to select the proper caching
technique.
- Support for bulk reads/writes.
- Overridable caching behaviour from the machine driver.
- Optimize certain CPU intensive paths.
- Ensure proper locking in init()/exit()/sync().
Dimitris Papastamos (3): ASoC: soc-cache: Add support for flat register caching ASoC: soc-cache: Add support for LZO register caching ASoC: soc-cache: Add support for rbtree based register caching
Acked-by: Liam Girdwood lrg@slimlogic.co.uk
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk