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

From: Matthias Brugger
Date: Wed Jan 25 2023 - 14:11:16 EST




On 21/12/2022 09:56, Matthias Brugger wrote:


On 20/12/2022 22:35, Ricardo Ribalda wrote:
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>

Thanks Ricardo. Roger I'll wait for a Tested-by tag from you to make sure this time everything is fine.


Given the chinese new year holidays I don't expect a Tested-by tag from Roger in time. So I just took this one without it.

Thanks!
Matthias