[RFC PATCH] irqchip/gic-v3: Claim iomem resources

Marc Zyngier maz at kernel.org
Tue Feb 28 15:22:57 PST 2023


On Tue, 28 Feb 2023 23:11:15 +0000,
Tim Harvey <tharvey at gateworks.com> wrote:
> 
> I have bisected a kernel issue where octeontx (CN803x) will hang on
> reboot caused by commit c0db06fd0993 ("mmc: core: Disable card detect
> during shutdown"). This commit made it into 5.16 and stable kernels.
> I've found that the patch here which is commit 2b2cd74a06c3 resolves
> this hang but I'm not entirely clear why.
> 
> Does anyone have a good explanation of why the hang occurs in the
> first place and why this resolves it? I would like to get the proper
> fix into the affected stable branches.

Wild guess: the reservation prevents some other driver from probing
because the firmware describes overlapping ranges, and that driver is
what is causing your above hang.

But you don't give much information that would allow this theory to be
checked. I guess you'll have to instrument your kernel and find out.

	M.

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



More information about the linux-arm-kernel mailing list