From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, tiwai@suse.de, vkoul@kernel.org,
Bard Liao <yung-chuan.liao@linux.intel.com>,
Rander Wang <rander.wang@intel.com>
Subject: Re: [PATCH 02/20] ASoC: SOF: Intel: fix u16/32 confusion in LSDIID
Date: Tue, 8 Aug 2023 09:23:26 -0500 [thread overview]
Message-ID: <687ac12d-ff72-14b5-1f90-ffe7c2e9de83@linux.intel.com> (raw)
In-Reply-To: <ee52997b-55b9-4f8d-9a29-4f18474c6f3f@sirena.org.uk>
On 8/7/23 17:06, Mark Brown wrote:
> On Mon, Aug 07, 2023 at 04:09:41PM -0500, Pierre-Louis Bossart wrote:
>> Likely a combination of copy-paste and test coverage problem. Oops.
>>
>> Fixes: 87a6ddc0cf1c ("ASoC: SOF: Intel: hda-mlink: program SoundWire LSDIID registers")
>> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
>> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
>> Reviewed-by: Rander Wang <rander.wang@intel.com>
>
> The above commit doesn't seem to be from mainline?
git log tells me it's been in your tree since April?
This was part of the series "ASoC: SOF: Intel: hda-mlink: HDaudio
multi-link", commit merge a1d68507c1cd3192785d0b9a1a476590c63e9a3c
git log 87a6ddc0cf1c
commit 87a6ddc0cf1c62dbc7c2cc4b5f764a2e992c5ba6
Author: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Date: Tue Apr 4 13:41:24 2023 +0300
ASoC: SOF: Intel: hda-mlink: program SoundWire LSDIID registers
Each SoundWire peripheral can be programmed from the manager side
either with a regular command FIFO, or with the HDaudio CORB/RIRB
DMA-based mechanism. The mapping between SoundWire peripheral and SDI
address is handled with the LSDIID register.
This mapping only works of course if each peripheral has a unique
address across all links. This has already been enforced in previous
Intel contributions allowing for an IDA-based solution for the device
number allocation.
The checks on the dev_num are handled at the SoundWire level, but the
locking is handled at the hda-mlink level.
Signed-off-by: Pierre-Louis Bossart
<pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link:
https://lore.kernel.org/r/20230404104127.5629-16-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
next prev parent reply other threads:[~2023-08-08 14:25 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-07 21:09 [PATCH 00/20] ASoC: SOF: Intel: add LunarLake support Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 01/20] ASoC: SOF: Intel: hda-mlink: fix off-by-one error Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 02/20] ASoC: SOF: Intel: fix u16/32 confusion in LSDIID Pierre-Louis Bossart
2023-08-07 22:06 ` Mark Brown
2023-08-08 14:23 ` Pierre-Louis Bossart [this message]
2023-08-07 21:09 ` [PATCH 03/20] ASoC: SOF: ipc4: avoid uninitialized default instance 0 Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 04/20] ASoC: SOF: ipc4-topology: restore gateway config length Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 05/20] ASoC: SOF: Intel: hda: add interface definitions for ACE2.x Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 06/20] ASoC: SOF: Intel: LNL: Add support for Lunarlake platform Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 07/20] ASoC: SOF: Intel: split MTL and LNL operations Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 08/20] ASoC: SOF: Intel: LNL: enable DMIC/SSP offload in probe/resume Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 09/20] ASoC: SOF: Intel: hda-dai-ops: add/select DMA ops for SSP Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 10/20] ASoC: SOF: Intel: hda-dai: add " Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 11/20] ASoC: SOF: Intel: hda-dai: add DMIC support Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 12/20] ASoC: SOF: Intel: hda-dai-ops: only allocate/release streams for first CPU DAI Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 13/20] ASoC: SOF: Intel: hda-dai-ops: add ops for SoundWire Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 14/20] ASoC: SOF: Intel: hda-dai: add helpers for SoundWire callbacks Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 15/20] ASoC: SOF: Intel: hda: add hw_params/free/trigger callbacks Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 16/20] ASoC: SOF: Intel: add abstraction for SoundWire wake-ups Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 17/20] ASoC: SOF: Intel: hda-mlink: add helper to get sublink LSDIID register Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 18/20] ASoC: SOF: Intel: hda-dai-ops: reset device count for SoundWire DAIs Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 19/20] ASoC: SOF: IPC4: clarify 'pipeline_ids' usage and logs Pierre-Louis Bossart
2023-08-07 21:09 ` [PATCH 20/20] ASoC: SOF: Intel: hda-mlink: add sublink to dev_dbg() log Pierre-Louis Bossart
2023-08-08 17:57 ` [PATCH 00/20] ASoC: SOF: Intel: add LunarLake support Mark Brown
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=687ac12d-ff72-14b5-1f90-ffe7c2e9de83@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=rander.wang@intel.com \
--cc=tiwai@suse.de \
--cc=vkoul@kernel.org \
--cc=yung-chuan.liao@linux.intel.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).