<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/soc/sof/amd/acp-loader.c, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-03-15T16:12:48Z</updated>
<entry>
<title>ASoC: SOF: amd: Move signed_fw_image to struct acp_quirk_entry</title>
<updated>2024-03-15T16:12:48Z</updated>
<author>
<name>Cristian Ciocaltea</name>
</author>
<published>2024-02-20T20:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=33c3d813330718c403a60d220f03fbece0f4fb5c'/>
<id>urn:sha1:33c3d813330718c403a60d220f03fbece0f4fb5c</id>
<content type='text'>
The signed_fw_image member of struct sof_amd_acp_desc is used to enable
signed firmware support in the driver via the acp_sof_quirk_table.

In preparation to support additional use cases of the quirk table (i.e.
adding new flags), move signed_fw_image to a new struct acp_quirk_entry
and update all references to it accordingly.

No functional changes intended.

Signed-off-by: Cristian Ciocaltea &lt;cristian.ciocaltea@collabora.com&gt;
Link: https://msgid.link/r/20240220201623.438944-2-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: SOF: amd: Compute file paths on firmware load</title>
<updated>2024-01-22T00:06:31Z</updated>
<author>
<name>Cristian Ciocaltea</name>
</author>
<published>2023-12-19T03:07:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9cacc1a2af2e1cd781b5cd2a3e57fbde64f5a2d'/>
<id>urn:sha1:d9cacc1a2af2e1cd781b5cd2a3e57fbde64f5a2d</id>
<content type='text'>
Commit 6c393ebbd74a ("ASoC: SOF: core: Implement IPC version fallback if
firmware files are missing") changed the order of some operations and
the firmware paths are not available anymore at snd_sof_probe() time.

Precisely, fw_filename_prefix is set by sof_select_ipc_and_paths() via

  plat_data-&gt;fw_filename_prefix = out_profile.fw_path;

but sof_init_environment() which calls this function was moved from
snd_sof_device_probe() to sof_probe_continue(). Moreover,
snd_sof_probe() was moved from sof_probe_continue() to
sof_init_environment(), but before the call to
sof_select_ipc_and_paths().

The problem here is that amd_sof_acp_probe() uses fw_filename_prefix to
compute fw_code_bin and fw_data_bin paths, and because the field is not
yet initialized, the paths end up containing (null):

snd_sof_amd_vangogh 0000:04:00.5: Direct firmware load for (null)/sof-vangogh-code.bin failed with error -2
snd_sof_amd_vangogh 0000:04:00.5: sof signed firmware code bin is missing
snd_sof_amd_vangogh 0000:04:00.5: error: failed to load DSP firmware -2
snd_sof_amd_vangogh: probe of 0000:04:00.5 failed with error -2

Move usage of fw_filename_prefix right before request_firmware() calls
in acp_sof_load_signed_firmware().

Fixes: 6c393ebbd74a ("ASoC: SOF: core: Implement IPC version fallback if firmware files are missing")
Signed-off-by: Cristian Ciocaltea &lt;cristian.ciocaltea@collabora.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Link: https://msgid.link/r/20231219030728.2431640-9-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: SOF: amd: add option to use sram for data bin loading</title>
<updated>2023-10-23T12:29:56Z</updated>
<author>
<name>Vijendar Mukunda</name>
</author>
<published>2023-10-20T06:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=145d7e5ae8f4e553478232fe3095379b60fa5496'/>
<id>urn:sha1:145d7e5ae8f4e553478232fe3095379b60fa5496</id>
<content type='text'>
Provide an option to load DSP data bin to ACP SRAM.

Signed-off-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://lore.kernel.org/r/20231020062822.3913760-5-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: SOF: amd: refactor acp dram usage for data bin loading</title>
<updated>2023-10-23T12:29:56Z</updated>
<author>
<name>Vijendar Mukunda</name>
</author>
<published>2023-10-20T06:28:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=135e0d49cde383395afcaf285d6304be9230a06f'/>
<id>urn:sha1:135e0d49cde383395afcaf285d6304be9230a06f</id>
<content type='text'>
DSP data bin can be loaded in to ACP DRAM or ACP SRAM.
Add conditional check for ACP DRAM usage for data bin loading.
Rename DRAM base address macro to have symmetry.

Signed-off-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://lore.kernel.org/r/20231020062822.3913760-4-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: SOF: amd: add module parameter for firmware debug</title>
<updated>2023-08-23T12:27:15Z</updated>
<author>
<name>Vijendar Mukunda</name>
</author>
<published>2023-08-23T07:33:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60eb816ed850b33f5410b1223c5d4d935a6ceb79'/>
<id>urn:sha1:60eb816ed850b33f5410b1223c5d4d935a6ceb79</id>
<content type='text'>
Add module parameter for firmware debug. If firmware debug
flag is enabled, clear the fusion stall bit which is required
for enabling firmware debugging through JTAG.

Signed-off-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://lore.kernel.org/r/20230823073340.2829821-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: SOF: amd: Add support for signed fw image loading</title>
<updated>2023-08-21T15:05:48Z</updated>
<author>
<name>Venkata Prasad Potturu</name>
</author>
<published>2023-08-09T12:35:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a69b724b2f82b1c44852b432010fbe25f0e2b75'/>
<id>urn:sha1:6a69b724b2f82b1c44852b432010fbe25f0e2b75</id>
<content type='text'>
Add support for signed firmware code bin and data bin
loading for amd platforms.

Signed-off-by: Venkata Prasad Potturu &lt;venkataprasad.potturu@amd.com&gt;
Link: https://lore.kernel.org/r/20230809123534.287707-2-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: SOF: amd: Enable cache for AMD Rembrandt platform</title>
<updated>2022-12-25T23:33:27Z</updated>
<author>
<name>V sujith kumar Reddy</name>
</author>
<published>2022-12-13T07:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5ba646142195d63dd1aae69bc15457fca5aeb78'/>
<id>urn:sha1:b5ba646142195d63dd1aae69bc15457fca5aeb78</id>
<content type='text'>
Enable DSP cache for ACP memory

Signed-off-by: V sujith kumar Reddy &lt;Vsujithkumar.Reddy@amd.com&gt;
Link: https://lore.kernel.org/r/20221213071640.3038853-1-Vsujithkumar.Reddy@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: SOF: amd: Use the basefw firmware container directly</title>
<updated>2022-10-21T12:04:55Z</updated>
<author>
<name>Peter Ujfalusi</name>
</author>
<published>2022-10-20T12:12:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9bed09aa97f90a40695eb472b1baba81242e3ed'/>
<id>urn:sha1:b9bed09aa97f90a40695eb472b1baba81242e3ed</id>
<content type='text'>
Switch to access to the firmware struct via sdev-&gt;basefw container to
unblock the removal of the firmware information from plat_data.

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@linux.intel.com&gt;
Reviewed-by: Ranjani Sridharan &lt;ranjani.sridharan@linux.intel.com&gt;
Reviewed-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Reviewed-by: Chao Song &lt;chao.song@intel.com&gt;
Reviewed-by: Kai Vehmanen &lt;kai.vehmanen@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20221020121238.18339-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: SOF: amd: Add support for Rembrandt plaform.</title>
<updated>2022-09-20T18:38:02Z</updated>
<author>
<name>V sujith kumar Reddy</name>
</author>
<published>2022-09-13T14:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41cb85bc4b526bb228579c04857bc58213e5f9b5'/>
<id>urn:sha1:41cb85bc4b526bb228579c04857bc58213e5f9b5</id>
<content type='text'>
Add pci driver and platform driver to enable SOF support on ACP6x
architecture based Rembrandt platform.

Signed-off-by: Ajit Kumar Pandey &lt;AjitKumar.Pandey@amd.com&gt;
Signed-off-by: V sujith kumar Reddy &lt;Vsujithkumar.Reddy@amd.com&gt;
Reviewed-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20220913144319.1055302-3-Vsujithkumar.Reddy@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: SOF: amd: Make ACP core code generic for newer SOC transition</title>
<updated>2022-09-20T18:38:01Z</updated>
<author>
<name>Ajit Kumar Pandey</name>
</author>
<published>2022-09-13T14:43:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4da6b033f5454ccbac2d5795d7edfb3f2a777104'/>
<id>urn:sha1:4da6b033f5454ccbac2d5795d7edfb3f2a777104</id>
<content type='text'>
Newer AMD SOC differs slightly in terms of few registers offset and
configuration. Add offsets into chip_info struct to make core ACP
code more generic and resusable on newer SOC.

Signed-off-by: Ajit Kumar Pandey &lt;AjitKumar.Pandey@amd.com&gt;
Signed-off-by: V sujith kumar Reddy &lt;Vsujithkumar.Reddy@amd.com&gt;
Reviewed-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20220913144319.1055302-2-Vsujithkumar.Reddy@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
