alistair23-linux/drivers/firmware/imx
Leonard Crestez f5bfeff446 firmware: imx: Align imx_sc_msg_req_cpu_start to 4
The imx SC api strongly assumes that messages are composed out of
4-bytes words but some of our message structs have odd sizeofs.

This produces many oopses with CONFIG_KASAN=y.

Fix by marking with __aligned(4).

Fixes: d90bf296ae ("firmware: imx: Add support to start/stop a CPU")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2020-02-24 15:27:48 +08:00
..
imx-dsp.c firmware: imx: Remove call to devm_of_platform_populate 2019-10-28 09:57:13 +08:00
imx-scu-irq.c firmware: imx: add missing include of <linux/firmware/imx/sci.h> 2019-10-28 14:50:09 +08:00
imx-scu.c firmware: imx: scu: Ensure sequential TX 2020-02-24 15:02:25 +08:00
Kconfig firmware: imx: Allow IMX DSP to be selected as module 2020-01-09 17:21:33 +08:00
Makefile firmware: imx: Add DSP IPC protocol interface 2019-08-12 15:19:25 +02:00
misc.c firmware: imx: Align imx_sc_msg_req_cpu_start to 4 2020-02-24 15:27:48 +08:00
scu-pd.c firmware: imx: scu-pd: Align imx sc msg structs to 4 2020-02-24 15:26:55 +08:00