From: Jack Yu <jack.yu@realtek.com>
To: Mark Brown <broonie@kernel.org>
Cc: "lgirdwood@gmail.com" <lgirdwood@gmail.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"lars@metafoo.de" <lars@metafoo.de>,
"Flove(HsinFu)" <flove@realtek.com>,
"Oder Chiou" <oder_chiou@realtek.com>,
"Shuming [范書銘]" <shumingf@realtek.com>,
"Derek [方德義]" <derek.fang@realtek.com>
Subject: RE: [PATCH] ASoC: rt1320: make SRAM registers readable to stop being cached
Date: Thu, 24 Sep 2026 01:42:05 +0000 [thread overview]
Message-ID: <30dee5ebf4bc4594be6655f3f1587dd7@realtek.com> (raw)
In-Reply-To: <arD0nQ4nTCuI2w0f@sirena.co.uk>
> -----Original Message-----
> From: Mark Brown <broonie@kernel.org>
> Sent: Monday, September 21, 2026 5:11 PM
> To: Jack Yu <jack.yu@realtek.com>
> Cc: lgirdwood@gmail.com; alsa-devel@alsa-project.org; lars@metafoo.de;
> Flove(HsinFu) <flove@realtek.com>; Oder Chiou <oder_chiou@realtek.com>;
> Shuming [范書銘] <shumingf@realtek.com>; Derek [方德義]
> <derek.fang@realtek.com>
> Subject: Re: [PATCH] ASoC: rt1320: make SRAM registers readable to stop being
> cached
>
> On Mon, Sep 21, 2026 at 03:28:47PM +0800, jack.yu@realtek.com wrote:
> > From: Jack Yu <jack.yu@realtek.com>
> >
> > rt1320_volatile_register() lists the SRAM ranges 0x10000000-0x10008fff
> > and 0x1000c000-0x1000dfff as volatile, so they should never be cached.
> > But regmap only honors the volatile flag for a readable register, and
> > these ranges were missing from rt1320_readable_register().
> > They were therefore cached at probe and replayed over SoundWire on
> > every runtime resume, delaying the first PCM open after autosuspend by
> > about a second.
> >
> > Add the two ranges to rt1320_readable_register() so the volatile flag
> > takes effect and the SRAM is no longer cached or replayed.
> > The removed lines are already covered by the new
> > 0x1000c000-0x1000dfff range, so no register loses readability.
>
> The RAE loader seems to expect that 0x1000d000-0x1000d7ff is cached, or at
Thanks for reminding this, I'll exclude this range 0x1000d000-0x1000d7ff out of the volatile registers.
> least it's fiddling with the cache bypass for that range.
prev parent reply other threads:[~2026-09-24 1:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 7:28 [PATCH] ASoC: rt1320: make SRAM registers readable to stop being cached jack.yu
2026-09-21 9:10 ` Mark Brown
2026-09-24 1:42 ` Jack Yu [this message]
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=30dee5ebf4bc4594be6655f3f1587dd7@realtek.com \
--to=jack.yu@realtek.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=derek.fang@realtek.com \
--cc=flove@realtek.com \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=oder_chiou@realtek.com \
--cc=shumingf@realtek.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