2024-10-17 11:01 PM - last edited on 2024-10-17 11:46 PM by Peter BENSCH
Hi all,
I work on a STM32MP153 device and I used the command echo mem > /sys/power/state to put CPU A7 in Cstop mode, but I still have MCU running.
Before to enter suspend mode I have shared some memory buffers with MCU M4 with virtio RPMSG (as recommended).
In such case the suspend procedure doesn't come to end and it freezes in the middle.
If DMA buffers are not allocated everything works.
I have stopped every write operation from MCU M4 to don't interfere with the suspend process, but it freezes as well.
Thank you in advance
Andrea
Solved! Go to Solution.
2024-10-18 03:30 AM
With no_console_suspend I have been able to see that the suspend procedure is completed (so my assumption was wrong).
There is an issue in the coprocessor code preventing it to reach the point where it will wake-up Linux again.
So, it isn't related to DMA buffers allocation/deallocation.
Andrea
2024-10-18 03:30 AM
With no_console_suspend I have been able to see that the suspend procedure is completed (so my assumption was wrong).
There is an issue in the coprocessor code preventing it to reach the point where it will wake-up Linux again.
So, it isn't related to DMA buffers allocation/deallocation.
Andrea