mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-19 03:59:45 +02:00

commit79963fbfc2
upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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_ */
|