[PATCH v2] iommu/mediatek: Fix crash on isr after kexec()
Joerg Roedel
joro at 8bytes.org
Mon Dec 5 02:55:45 PST 2022
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 at chromium.org>
Applied with commit-message spelling fix.
More information about the Linux-mediatek
mailing list