mbox series

[0/5] ASoC: SOF: Intel: don't download firmware at each resume

Message ID 20220120231532.196926-1-pierre-louis.bossart@linux.intel.com
Headers show
Series ASoC: SOF: Intel: don't download firmware at each resume | expand

Message

Pierre-Louis Bossart Jan. 20, 2022, 11:15 p.m. UTC
After the first firmware boot, the firmware is capable of
saving/restoring its context to/from IMR (Isolated Memory Region, set
aside by BIOS on startup). This capability improves the resume speed.

Due to an unexplained issue on Up2 boards, this capability is disabled
on ApolloLake.

For backwards compatibility, the regular boot flow is used with older
firmware. For added peace of mind, a kernel module parameter is
provided to force the regular boot flow - this shouldn't be necessary
since we've been testing these patches for 6+ months.

Keyon Jie (4):
  ASoC: SOF: add _D3_PERSISTENT flag to fw_ready message
  ASoC: SOF: Intel: hda-loader: add SSP helper
  ASoC: SOF: Intel: hda-loader: add IMR restore support
  ASoC: SOF: add flag to disable IMR restore to sof_debug

Pierre-Louis Bossart (1):
  ASoC: SOF: Intel: use inclusive language for SSP clocks

 include/sound/sof/info.h         |  1 +
 include/uapi/sound/sof/abi.h     |  2 +-
 sound/soc/sof/intel/hda-loader.c | 68 +++++++++++++++++++++++++++-----
 sound/soc/sof/intel/hda.h        |  6 +--
 sound/soc/sof/sof-priv.h         |  3 ++
 5 files changed, 66 insertions(+), 14 deletions(-)

Comments

Mark Brown Jan. 25, 2022, 10:20 a.m. UTC | #1
On Thu, 20 Jan 2022 17:15:27 -0600, Pierre-Louis Bossart wrote:
> After the first firmware boot, the firmware is capable of
> saving/restoring its context to/from IMR (Isolated Memory Region, set
> aside by BIOS on startup). This capability improves the resume speed.
> 
> Due to an unexplained issue on Up2 boards, this capability is disabled
> on ApolloLake.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/5] ASoC: SOF: add _D3_PERSISTENT flag to fw_ready message
      commit: 1dafede34dda19fc2878724145dc16c0b51dc174
[2/5] ASoC: SOF: Intel: use inclusive language for SSP clocks
      commit: bd586a0292e0724fac571a2e4b629134ab2c686c
[3/5] ASoC: SOF: Intel: hda-loader: add SSP helper
      commit: a749d744561ccc8658cebe23fc284034a57e6ceb
[4/5] ASoC: SOF: Intel: hda-loader: add IMR restore support
      commit: 5fb5f51185126059e1d7eb4e452e08c7b17c3301
[5/5] ASoC: SOF: add flag to disable IMR restore to sof_debug
      commit: d7a8fbd17bfef174e85d81d94507b8015732a58e

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark