* [PATCH] irqchip/gic-v3-its: Export its_cpu_init for hibernation restore path
@ 2026-11-27 6:17 Amrit Anand
2026-11-27 10:59 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: Amrit Anand @ 2026-11-27 6:17 UTC (permalink / raw)
To: maz, tglx; +Cc: radu, linux-arm-kernel, linux-kernel, Amrit Anand
After hibernation restore on affected systems, MSI users can observe
timeout/failure symptoms consistent with ITS LPIs not being fully
re-initialized for restored CPUs.
Export its_cpu_init() so restore code can invoke ITS per-CPU
re-initialization explicitly at the required point in resume flow.
This also avoids relying on fragile probe-based invocation.
Signed-off-by: Amrit Anand <amrit.anand@oss.qualcomm.com>
---
drivers/irqchip/irq-gic-v3-its.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index c952c069f937..6cf156d1aee6 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -5456,6 +5456,7 @@ int its_cpu_init(void)
return 0;
}
+EXPORT_SYMBOL_GPL(its_cpu_init);
static void rdist_memreserve_cpuhp_cleanup_workfn(struct work_struct *work)
{
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] irqchip/gic-v3-its: Export its_cpu_init for hibernation restore path
2026-11-27 6:17 [PATCH] irqchip/gic-v3-its: Export its_cpu_init for hibernation restore path Amrit Anand
@ 2026-11-27 10:59 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2026-11-27 10:59 UTC (permalink / raw)
To: Amrit Anand; +Cc: tglx, radu, linux-arm-kernel, linux-kernel
On Fri, 27 Nov 2026 06:17:11 +0000,
Amrit Anand <amrit.anand@oss.qualcomm.com> wrote:
>
> After hibernation restore on affected systems, MSI users can observe
> timeout/failure symptoms consistent with ITS LPIs not being fully
> re-initialized for restored CPUs.
>
> Export its_cpu_init() so restore code can invoke ITS per-CPU
> re-initialization explicitly at the required point in resume flow.
> This also avoids relying on fragile probe-based invocation.
No. Never. The design of GICv3 completely *prevents* things like
hibernation from working *at all*. Why do you think we have all this
crap about pre-allocating tables? Pretending that hibernation works
with GICv3 is simply asking for memory corruption.
You are just trying to paper over a much bigger issue, and this sort
of hack is simply not acceptable.
M.
--
Without deviation from the norm, progress is not possible.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-27 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 6:17 [PATCH] irqchip/gic-v3-its: Export its_cpu_init for hibernation restore path Amrit Anand
2026-11-27 10:59 ` Marc Zyngier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®