ASoC: SOF: Intel: don't download firmware at each resume
authorMark Brown <broonie@kernel.org>
Tue, 25 Jan 2022 02:36:22 +0000 (02:36 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jan 2022 02:36:22 +0000 (02:36 +0000)
commit01f5060e42514db1abd31583eae3085aa8c684c5
tree161dfa7877ccc2f8bf41f681a7df8102bcc14936
parentcef982dc4885c1c11495c5cc0ca66fd232075276
parentd7a8fbd17bfef174e85d81d94507b8015732a58e
ASoC: SOF: Intel: don't download firmware at each resume

Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:

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.