Searched hist:"4881658 a4bf6dc5335e5033d0916b2e86687463d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/misc/ |
H A D | imx6_src.c | diff 4881658a4bf6dc5335e5033d0916b2e86687463d Thu Feb 23 12:29:26 CST 2017 Alex Bennée <alex.bennee@linaro.org> hw/misc/imx6_src: defer clearing of SRC_SCR reset bits
The arm_reset_cpu/set_cpu_on/set_cpu_off() functions do their work asynchronously in the target vCPUs context. As a result we need to ensure the SRC_SCR reset bits correctly report the reset status at the right time. To do this we defer the clearing of the bit with an async job which will run after the work queued by ARM powerctl functions.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
|