STM32MP153 freezes at suspend when DMA buffers are allocated with stm32_rpmsg_sdb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
STM32MP13 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-18 3: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-18 3: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
