Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: 95802c1d0328d2d0fe97fc744aa213eb8bc0e466 https://github.com/OpenAMP/open-amp/commit/95802c1d0328d2d0fe97fc744aa213eb8... Author: Guiding Li liguiding1@xiaomi.com Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths: M lib/include/openamp/remoteproc.h M lib/include/openamp/remoteproc_virtio.h M lib/include/openamp/rpmsg.h M lib/include/openamp/virtio.h M lib/remoteproc/remoteproc.c M lib/remoteproc/remoteproc_virtio.c M lib/rpmsg/rpmsg_virtio.c
Log Message: ----------- openamp: add new ops wait_notified() to avoid looping in tx buffer get
Give users a chance to handle the no tx buffer situation when get tx buffer, with this patch, user can call rproc_virtio_set_wait_notified() to set the wait_notified() callback and this callback function will be called to handle the wait when no tx buffer in tx virtqueue.
Signed-off-by: Guiding Li liguiding1@xiaomi.com Signed-off-by: Bowen Wang wangbowen6@xiaomi.com
openamp-rp@lists.openampproject.org