linux/sound/soc
Peter Ujfalusi 40bdf121a3
ASoC: SOF: Intel: mtl: Correct the mtl_dsp_dump output
The ROM/firmware state handling has changed between CAVS and ACE
architecture:
CAVS: ROM and firmware uses the SRAM window for the state and status/error
code reporting

ACE: ROM code is using two registers to report the state and error while
the firmware is using the SRAM window to report states and status/error
codes.

Use the generic hda_dsp_get_state() to decode ROM state and error codes and
print out the firmware state and status/error code only if the SRAM
window is accessible - the firmware is booted and the Status readout is
not 0xffffffff.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://msgid.link/r/20240403105210.17949-8-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-04-03 12:04:28 +01:00
..
adi
amd ASoC: amd: simplify soundwire dependencies for legacy stack 2024-03-25 14:18:32 +00:00
apple
atmel ASoC: atmel: use devm_snd_soc_register_card() 2024-01-22 00:06:03 +00:00
au1x
bcm
cirrus ASoC: cirrus: edb93xx: Drop legacy include 2023-12-01 16:59:22 +00:00
codecs ASoC: nau8325: Revise soc_enum structure definition. 2024-04-02 15:55:21 +01:00
dwc
fsl ASoC: fsl: Support register and unregister rpmsg 2024-03-26 14:10:50 +00:00
generic ASoC: soc-jack: Get rid of legacy GPIO support 2024-03-26 17:13:45 +00:00
google
hisilicon ASoC: hisilicon: Drop GPIO include 2023-12-18 14:03:29 +00:00
img
intel ASoC: Intel: sof_cs42l42: add mtl_cs42l42_def for mtl boards 2024-03-28 13:58:26 +00:00
jz4740
kirkwood ASoC: kirkwood: Fix potential NULL dereference 2024-03-28 19:27:59 +00:00
loongson ASoC: loongson: i2s/pci: drop driver owner assignment 2024-03-28 13:57:40 +00:00
mediatek ASoC: mediatek: Assign dummy when codec not specified for a DAI link 2024-03-25 14:19:08 +00:00
meson ASoC: meson: axg-fifo: use FIELD helpers 2024-02-27 18:43:22 +00:00
mxs
pxa ASoC: Updates for v6.9 2024-03-11 16:18:47 +01:00
qcom Linux 6.8 2024-03-13 18:22:15 +00:00
rockchip ASoC: rockchip: i2s-tdm: Fix inaccurate sampling rates 2024-03-12 16:03:03 +00:00
samsung ASoC: samsung: odroid: don't need DUMMY Platform 2023-12-19 13:23:43 +00:00
sh ASoC: rsnd: no exception for SCU 2024-04-02 15:55:07 +01:00
sof ASoC: SOF: Intel: mtl: Correct the mtl_dsp_dump output 2024-04-03 12:04:28 +01:00
spear
sprd ASoC: sprd: Simplify memory allocation in sprd_platform_compr_dma_config() 2023-12-19 14:02:50 +00:00
starfive
sti ASoC: sti-uniperf: Use default pcm_config instead 2023-11-13 01:26:07 +00:00
stm
sunxi ASoC: sun8i-codec: Fix build with CONFIG_SND_JACK_INPUT_DEV disabled 2024-03-27 15:57:34 +00:00
tegra ASoC: tegra: tegra20_ac97: Convert to use GPIO descriptors 2023-12-18 14:03:32 +00:00
ti ASoC: use devm_snd_soc_register_card() 2024-01-22 21:08:17 +00:00
uniphier
ux500
xilinx
xtensa
Kconfig ASoC: soc-card: Add KUnit test case for snd_soc_card_get_kcontrol 2024-04-02 15:54:49 +01:00
Makefile ASoC: soc-card: Add KUnit test case for snd_soc_card_get_kcontrol 2024-04-02 15:54:49 +01:00
soc-ac97.c
soc-acpi.c
soc-card-test.c ASoC: soc-card: Add KUnit test case for snd_soc_card_get_kcontrol 2024-04-02 15:54:49 +01:00
soc-card.c ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding 2024-04-02 15:54:48 +01:00
soc-component.c
soc-compress.c ASoC: soc-compress: Fix and add DPCM locking 2024-03-18 14:41:51 +00:00
soc-core.c ASoC: dmaengine_pcm: Allow passing component name via config 2024-03-25 00:49:47 +00:00
soc-dai.c ASoC: soc-dai: Note valid values of sysclock direction 2024-03-26 12:51:23 +00:00
soc-dapm.c ASoC: trace: add event to snd_soc_dapm trace events 2024-03-06 14:03:27 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: dmaengine_pcm: Allow passing component name via config 2024-03-25 00:49:47 +00:00
soc-jack.c ASoC: soc-jack: Get rid of legacy GPIO support 2024-03-26 17:13:45 +00:00
soc-link.c
soc-ops.c ASoC: ops: add correct range check for limiting volume 2023-12-04 16:20:25 +00:00
soc-pcm.c ASoC: Updates for v6.8 2024-01-08 08:18:02 +01:00
soc-topology-test.c ASoC: topology: Replace fake root_device with kunit_device in tests 2023-12-18 13:28:08 -07:00
soc-topology.c ASoC: topology: Do not ignore route checks when parsing graphs 2024-03-25 00:32:38 +00:00
soc-utils-test.c
soc-utils.c