mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 13:16:22 +00:00
79963fbfc2
Xilinx IPI message buffers allows 32-byte data transfer.
Fix documentation that says 12 bytes
Fixes: 4981b82ba2
("mailbox: ZynqMP IPI mailbox controller")
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230311012407.1292118-4-tanmay.shah@amd.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
21 lines
501 B
C
21 lines
501 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _LINUX_ZYNQMP_IPI_MESSAGE_H_
|
|
#define _LINUX_ZYNQMP_IPI_MESSAGE_H_
|
|
|
|
/**
|
|
* struct zynqmp_ipi_message - ZynqMP IPI message structure
|
|
* @len: Length of message
|
|
* @data: message payload
|
|
*
|
|
* This is the structure for data used in mbox_send_message
|
|
* the maximum length of data buffer is fixed to 32 bytes.
|
|
* Client is supposed to be aware of this.
|
|
*/
|
|
struct zynqmp_ipi_message {
|
|
size_t len;
|
|
u8 data[];
|
|
};
|
|
|
|
#endif /* _LINUX_ZYNQMP_IPI_MESSAGE_H_ */
|