linux/drivers/firmware/imx
Leonard Crestez 1e6a4eba69 firmware: imx: misc: Align imx sc msg structs 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:

    BUG: KASAN: stack-out-of-bounds in imx_mu_send_data+0x108/0x1f0

It shouldn't cause an issues in normal use because these structs are
always allocated on the stack.

Fixes: 15e1f2bc8b ("firmware: imx: add misc svc support")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2020-02-24 15:26:44 +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: misc: Align imx sc msg structs to 4 2020-02-24 15:26:44 +08:00
scu-pd.c firmware: imx: scu-pd: Add IRQSTR_DSP PD range 2019-07-23 15:50:09 +08:00