From: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>,
Liam Girdwood <lrg@slimlogic.co.uk>
Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com
Subject: [PATCH v2 0/3] ASoC: Introduce the new caching API
Date: Thu, 11 Nov 2010 10:04:56 +0000 [thread overview]
Message-ID: <1289469899-5787-1-git-send-email-dp@opensource.wolfsonmicro.com> (raw)
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(-)
--
1.7.3.2
next reply other threads:[~2010-11-11 10:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-11 10:04 Dimitris Papastamos [this message]
2010-11-11 10:04 ` [PATCH 1/3] ASoC: soc-cache: Add support for flat register caching Dimitris Papastamos
2010-11-11 10:04 ` [PATCH 2/3] ASoC: soc-cache: Add support for LZO " Dimitris Papastamos
2010-11-11 10:04 ` [PATCH 3/3] ASoC: soc-cache: Add support for rbtree based " Dimitris Papastamos
2010-11-11 11:39 ` [PATCH v2 0/3] ASoC: Introduce the new caching API Liam Girdwood
2010-11-11 16:20 ` Mark Brown
2010-11-11 16:23 ` Dimitris Papastamos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1289469899-5787-1-git-send-email-dp@opensource.wolfsonmicro.com \
--to=dp@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=lrg@slimlogic.co.uk \
--cc=patches@opensource.wolfsonmicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).