[PATCH 0/3] ASoC: SOF: Intel: Fix IMR boot race caused by early core booting

Peter Ujfalusi peter.ujfalusi at linux.intel.com
Thu Jun 9 10:59:46 CEST 2022


Hi,

After the revisited IMR sequence patch
2a68ff846164 ("ASoC: SOF: Intel: hda: Revisit IMR boot sequence")

we have started to see random boot issues manifesting in ghost reply messages from
the DSP for a never sent message.
It turned out that an earlier commit:
d416519982cb ("ASoC: SOF: hda: don't use the core op for power up/power down")

replaced the core power up step with a full blown core power up + enable call.
The result was that we have booted the core before we would place the message
to the ROM code and based on luck and timing it got received by the (IMR) booted
firmware or in between ROM and firmware boot.

Mark, can you queue this series for 5.19 as the 2a68ff846164 is in rc1 to make
sure that we fix this random issue?

Regards,
Peter
---
Peter Ujfalusi (3):
  ASoC: SOF: Intel: hda-dsp: Expose hda_dsp_core_power_up()
  ASoC: SOF: Intel: hda-loader: Make sure that the fw load sequence is
    followed
  ASoC: SOF: Intel: hda-loader: Clarify the cl_dsp_init() flow

 sound/soc/sof/intel/hda-dsp.c    | 10 +++++++++-
 sound/soc/sof/intel/hda-loader.c | 10 +++++-----
 sound/soc/sof/intel/hda.h        |  1 +
 3 files changed, 15 insertions(+), 6 deletions(-)

-- 
2.36.1



More information about the Alsa-devel mailing list