Branch: refs/heads/main Home: https://github.com/OpenAMP/libmetal Commit: 5bdf21a54ff3d7fede7d54615c8d21e8d39de308 https://github.com/OpenAMP/libmetal/commit/5bdf21a54ff3d7fede7d54615c8d21e8d... Author: Bowen Wang wangbowen6@xiaomi.com Date: 2026-01-13 (Tue, 13 Jan 2026)
Changed paths: M lib/system/nuttx/mutex.h
Log Message: ----------- mutex: change the libmetal nuttx mutex to recursive mutex
To avoid the crash when lock are acquired twice, one case is in the destory process: we hold the rpdev->lock to iterate the rpdev->endpoints to destory all the endpoints, but rpmsg_destroy_ept() may send the name service message, and need acquire the rpdev->lock again to lead crash.
Signed-off-by: Bowen Wang wangbowen6@xiaomi.com
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
openamp-rp@lists.openampproject.org