[PATCH 15/16] irqchip/gic-v3: fail T241 quirk if alias ioremap fails

Marc Zyngier maz at kernel.org
Tue Jul 14 07:53:34 PDT 2026


On Tue, 14 Jul 2026 14:24:51 +0100,
Haofeng Li <920484857 at qq.com> wrote:
> 
> From: Haofeng Li <lihaofeng at kylinos.cn>
> 
> NVIDIA T241 GICD alias setup only warns about a failed ioremap, then
> enables gic_nvidia_t241_erratum. Later accesses through the missing
> alias can dereference NULL.

There won't be any later accesses, the machine is *dead*, short of
reliably handle interrupts. The only thing this patch is doing is
giving a false sense of having fixed something, while it is far worse
than the existing situation.

Please tell that to your LLM.

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list