Skip to content

Commit

Permalink
ipc: Change ipc4 message max size
Browse files Browse the repository at this point in the history
Maximym ipc4 message size changed to 4kB.
This is the size of a page.

Signed-off-by: Grzegorz Bernat <grzegorzx.bernat@intel.com>
  • Loading branch information
gbernatxintel committed Apr 25, 2024
1 parent aa60e65 commit a554d50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/include/ipc/header.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,11 @@ struct ipc_cmd_hdr;
#define SOF_IPC_MESSAGE_ID(x) ((x) & 0xffff)

/** Maximum message size for mailbox Tx/Rx */
#if CONFIG_IPC_MAJOR_4
#define SOF_IPC_MSG_MAX_SIZE 0x1000
#else
#define SOF_IPC_MSG_MAX_SIZE 384

#endif
/** @} */

/**
Expand Down
2 changes: 1 addition & 1 deletion src/include/kernel/abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/** \brief SOF ABI version major, minor and patch numbers */
#define SOF_ABI_MAJOR 3
#define SOF_ABI_MINOR 29
#define SOF_ABI_MINOR 30
#define SOF_ABI_PATCH 0

/** \brief SOF ABI version number. Format within 32bit word is MMmmmppp */
Expand Down

0 comments on commit a554d50

Please sign in to comment.