Skip to content

ASoC: Introduce the new caching API

Dimitris Papastamos alsa-devel 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v14 patches 15 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3ASoC: soc-cache: Add support for flat register cachinginclude/sound/soc.h sound/soc/soc-cache.c sound/soc/soc-core.c+349 -540 replies
2/3ASoC: soc-cache: Add support for LZO register cachinginclude/sound/soc.h sound/soc/Kconfig sound/soc/soc-cache.c+417 -10 replies
3/3ASoC: soc-cache: Add support for rbtree based register cachinginclude/sound/soc.h sound/soc/soc-cache.c+234 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLiam Girdwood
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] ASoC: Introduce the new caching API

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

 include/sound/soc.h   |   29 ++
 sound/soc/Kconfig     |    2 +
 sound/soc/soc-cache.c |  984 +++++++++++++++++++++++++++++++++++++++++++++++--
 sound/soc/soc-core.c  |   37 +--
 4 files changed, 998 insertions(+), 54 deletions(-)
Signature · 1 line
1.7.3.2