Re: [PATCH] soc: mediatek: mtk-svs: Enable the IRQ later

From: AngeloGioacchino Del Regno
Date: Wed Nov 30 2022 - 06:00:31 EST


Il 27/11/22 21:22, Ricardo Ribalda ha scritto:
If the system does not come from reset (like when is booted via
kexec()), the peripheral might triger an IRQ before the data structures
are initialised.

Fixes:

[ 0.227710] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000f08
[ 0.227913] Call trace:
[ 0.227918] svs_isr+0x8c/0x538

Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>