From c8a6bf973338bb64e76c80dbb49f38bdeb50d46f Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Fri, 17 May 2024 11:28:42 -0500 Subject: [PATCH] samples: ipc: openamp_rsc_table: Send virtio ID as message content The message data field is currently empty, this works for some as the all available virtqueues can be signaled when any message comes in on the host side. For TI Mailbox and RemoteProc Linux drivers we do check the content and expect the message to contain the correct Vring ID to signal. Signed-off-by: Andrew Davis --- samples/subsys/ipc/openamp_rsc_table/src/main_remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/subsys/ipc/openamp_rsc_table/src/main_remote.c b/samples/subsys/ipc/openamp_rsc_table/src/main_remote.c index a28e017e9be..6f0d36924a8 100644 --- a/samples/subsys/ipc/openamp_rsc_table/src/main_remote.c +++ b/samples/subsys/ipc/openamp_rsc_table/src/main_remote.c @@ -133,7 +133,7 @@ int mailbox_notify(void *priv, uint32_t id) ARG_UNUSED(priv); LOG_DBG("%s: msg received", __func__); - ipm_send(ipm_handle, 0, id, NULL, 0); + ipm_send(ipm_handle, 0, id, &id, 4); return 0; }