Re: [PATCH] soundwire: qcom: cache SCP_ADDRPAGE1/2 to preserve MBQ atomicity
From: Vinod Koul
Date: Tue Sep 08 2026 - 10:35:15 EST
On Wed, 02 Sep 2026 12:28:38 +0100, Srinivas Kandagatla wrote:
> qcom_swrm_xfer_msg() reprograms SCP_ADDRPAGE1/2 before every paged
> transfer, even when the paging window hasn't changed. Besides the
> wasted bus transactions, this breaks the atomicity that SoundWire
> Classic Multi-Byte Quantity (MBQ) writes rely on: the kernel's MBQ
> regmap emits an MBQ pair as two sdw_write_no_pm() calls to bit-13
> aliases sharing the same page, and the intervening PAGE writes
> invalidate the MBQ high-byte staging on Peripherals that observe
> them. On WCD9378 FU42 Q7.8 Channel Volume this drops the MSB byte
> silently.
>
> [...]
Applied, thanks!
[1/1] soundwire: qcom: cache SCP_ADDRPAGE1/2 to preserve MBQ atomicity
commit: eb9ea1a0fa28abe7a511cb67363a0cc835a02f04
Best regards,
--
~Vinod