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

From: Matthias Brugger
Date: Fri Dec 16 2022 - 07:47:59 EST




On 30/11/2022 12:00, AngeloGioacchino Del Regno wrote:
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>



Applied thanks!