Go to file
Pan Xiuli 882ef66c68 cavs: pm: fix wrong usage of poll_for_register_delay
In current kernel logs the CTX_SAVE IPC will always take more than 10ms,
but before 0b2876b279 it only need less than 1ms. This patch fix the
wrong usage of always timeout for poll_for_register_delay.

IPC_DIPCIDR_MSG_MASK is the mask for msg from BIT 0 to 30 while
we want to check if BIT 31 is 0. now change the MASK and VAL to correct
values to make the poll and delay will return when there is no DSP sent
IPC.

fixes commit 0b2876b279 ("cavs: pm: poll for IPC_DIPCIDR_BUSY to be
clear before powerdown hpsram")

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2021-01-28 22:46:55 +00:00
.github .github: rename workflow from "Github Action CI" to "Github Actions" 2021-01-28 13:20:22 +00:00
doc sof.doxygen.in: change ../test to @top_srcdir@/test 2021-01-27 11:00:04 +00:00
keys Move signing key pair from rimage/ up one level 2020-05-13 10:16:04 +01:00
rimage@d1f91efdc1 rimage: Update to commit d1f91efdc1 2020-12-09 11:06:31 +00:00
scripts docker-run.sh: use --tty only when we have one 2021-01-22 13:42:03 +00:00
smex ipc: Remove user_abi_version from mailbox 2020-10-12 11:41:11 +01:00
src cavs: pm: fix wrong usage of poll_for_register_delay 2021-01-28 22:46:55 +00:00
test trace: Rename trace_log() function to trace_log_filtered() 2020-11-27 15:10:46 +00:00
tools tools: topology: Add common Codec Adapter capture pipeline tplg 2021-01-27 18:20:17 -08:00
zephyr zephyr: fixed cached rimage path 2021-01-22 13:35:29 +00:00
.gitignore gitignore: Add checkpatch temporary file to gitignore 2020-10-22 13:05:23 +01:00
.gitmodules Add rimage as a git submodule 2020-05-13 10:16:04 +01:00
.travis.yml .travis.yml: build Sue Creek 2021-01-18 14:34:04 +00:00
CMakeLists.txt build: allow host build to be static 2020-10-20 09:28:28 +01:00
CODEOWNERS CODEOWNERS -= jajanusz 2021-01-11 16:24:06 +00:00
Kconfig ipc: debug: Add KConfig to conditionally compile memory scan feature 2020-10-06 11:35:04 +01:00
LICENCE Remove rimage from source tree 2020-05-13 10:16:04 +01:00
README.md .github: rename workflow from "Github Action CI" to "Github Actions" 2021-01-28 13:20:22 +00:00

README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter chat IRC chat

Documentation

See docs

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details