Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Cezary Rojewski <cezary.rojewski@intel.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Cc: <linux-sound@vger.kernel.org>, <tiwai@suse.com>, <perex@perex.cz>,
	<amadeuszx.slawinski@linux.intel.com>,
	Mark Brown <broonie@kernel.org>
Subject: Re: [PATCH 07/13] ASoC: Intel: avs: Add MODULE_FIRMWARE to inform about FW
Date: Mon, 13 Jan 2025 10:41:17 +0100	[thread overview]
Message-ID: <fe5bcb7e-ae6b-4915-ac08-3a1e0eca62db@intel.com> (raw)
In-Reply-To: <7c857d1f-e520-4fde-9b84-19b071fd8390@linux.dev>

On 2025-01-10 7:09 PM, Pierre-Louis Bossart wrote:
> 
>> +MODULE_FIRMWARE("intel/skl/dsp_basefw.bin");
>> +MODULE_FIRMWARE("intel/apl/dsp_basefw.bin");
>> +MODULE_FIRMWARE("intel/cnl/dsp_basefw.bin");
>> +MODULE_FIRMWARE("intel/icl/dsp_basefw.bin");
>> +MODULE_FIRMWARE("intel/jsl/dsp_basefw.bin");
>> +MODULE_FIRMWARE("intel/lkf/dsp_basefw.bin");
> 
> Lakefield? Is this really a supported platform? It was EOL'ed a year after launch, wasn't it?

We still keep all the platforms, regardless of their age, in the CI to 
cross check firmware-API compatibility even with newest generations such 
as PanterLake or FriscoLake.

Few years ago the team did quite a job to streamline LakeField (LKF) 
with other cAVS 2.5 platforms on the firmware side. The TLDR is:
- one firmware branch covers from LKF (cAVS 2.1) up to 
AlderLake/RaptorLake and all their spinoffs (cAVS 2.5)
- one tgl.c file on the avs-driver side covers the exact same range

so, any kind of redundancy is greatly limited. With that in mind, we 
utilize the cAVS CI against the ACE (MeteorLake onwards) equivalent to 
verify API compatibility between those two firmware branches to lower 
the software development cost.

>> +MODULE_FIRMWARE("intel/tgl/dsp_basefw.bin");
>> +MODULE_FIRMWARE("intel/ehl/dsp_basefw.bin");
>> +MODULE_FIRMWARE("intel/adl/dsp_basefw.bin");
>> +MODULE_FIRMWARE("intel/adl_n/dsp_basefw.bin");
> 
> If you start listing the variants of ADL, then shouldn't you also list the variants of TGL?
> Same for CNL, there are multiple variants, not to mention different signing keys.

The only reason ADL and ADL-N are listed separately is binary 
incompatibility - MEU differs between the two. In essence, one can use 
ADL-binaries for all ADL/RPL based platforms _except_ for ADL-N based 
ones. The code is the same, the verification process is different. For 
all other major platforms, no MEU differences so one binary covers all 
variants.

In regard to the key, the approach is: it's ignored.

Whatever is in the directory under 'dsp_basefw.bin' will be attempted 
for booting the DSP. By default, what lands on the market is a 
production-type-signed binaries. Internally CI runs with prod -or- debug 
signed binaries but we do not intend to share the latter to the official 
linux-firmware repo.

Kind regards,
Czarek

  reply	other threads:[~2025-01-13  9:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-09 12:22 [PATCH 00/13] ASoC: Intel: avs: Fixes and cleanups Cezary Rojewski
2025-01-09 12:22 ` [PATCH 01/13] ASoC: Intel: avs: Do not readq() u32 registers Cezary Rojewski
2025-01-09 12:22 ` [PATCH 02/13] ASoC: Intel: avs: Fix the minimum firmware version numbers Cezary Rojewski
2025-01-09 12:22 ` [PATCH 03/13] ASoC: Intel: avs: Fix theoretical infinite loop Cezary Rojewski
2025-01-09 12:22 ` [PATCH 04/13] ASoC: Intel: avs: Fix init-config parsing Cezary Rojewski
2025-01-09 12:22 ` [PATCH 05/13] ASoC: Intel: avs: Update hda component teardown sequences Cezary Rojewski
2025-01-09 12:22 ` [PATCH 06/13] ASoC: Intel: avs: Print IPC error messages in lower layer Cezary Rojewski
2025-01-09 12:22 ` [PATCH 07/13] ASoC: Intel: avs: Add MODULE_FIRMWARE to inform about FW Cezary Rojewski
2025-01-10 18:09   ` Pierre-Louis Bossart
2025-01-13  9:41     ` Cezary Rojewski [this message]
2025-01-17 15:59       ` Pierre-Louis Bossart
2025-01-21  8:39         ` Cezary Rojewski
2025-01-09 12:22 ` [PATCH 08/13] ASoC: Intel: avs: Clearly state assumptions of hw_params() Cezary Rojewski
2025-01-09 12:22 ` [PATCH 09/13] ASoC: Intel: avs: Improve logging of firmware loading Cezary Rojewski
2025-01-09 12:22 ` [PATCH 10/13] ASoC: Intel: avs: Update ASRC definition Cezary Rojewski
2025-01-09 12:22 ` [PATCH 11/13] ASoC: Intel: avs: Adjust DSP status register names Cezary Rojewski
2025-01-09 12:22 ` [PATCH 12/13] ASoC: Intel: avs: Adjust IPC traces Cezary Rojewski
2025-01-09 12:22 ` [PATCH 13/13] ASoC: Intel: avs: Add missing includes Cezary Rojewski
2025-01-09 16:40 ` [PATCH 00/13] ASoC: Intel: avs: Fixes and cleanups 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=fe5bcb7e-ae6b-4915-ac08-3a1e0eca62db@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=amadeuszx.slawinski@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=pierre-louis.bossart@linux.dev \
    --cc=tiwai@suse.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