Re: [PATCH v2] iommu/mediatek: Fix crash on isr after kexec()
From: Joerg Roedel
Date: Mon Dec 05 2022 - 05:55:51 EST
On Mon, Nov 28, 2022 at 11:16:48PM +0100, Ricardo Ribalda wrote:
> If the system is rebooted via isr(), the IRQ handler might be triggerd
> before the domain is initialized. Resulting on an invalid memory access
> error.
>
> Fix:
> [ 0.500930] Unable to handle kernel read from unreadable memory at virtual address 0000000000000070
> [ 0.501166] Call trace:
> [ 0.501174] report_iommu_fault+0x28/0xfc
> [ 0.501180] mtk_iommu_isr+0x10c/0x1c0
>
> Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>
Applied with commit-message spelling fix.