Re: [PATCH v5 2/2] irqchip/riscv-aplic: force synchronous probing
From: Vladimir Kondratiev
Date: Thu Nov 12 2026 - 07:28:02 EST
On 11/10/26 10:07, Anup Patel wrote:
> Making the whole driver synchronously probe is a conservative work-around.
>
> Your original direction was good. How about the following:
> 1) Convert aplic_syscore_registered as atomic variable
> 2) Add another atomic variable aplic_direct_parent_irq_count and use
> "if (!atomic_inc_return(&aplic_direct_parent_irq_count) && domain) {"
> in aplic_direct_setup().
I will get to it some day. For now, forcing synchronous probing is the
easiest way to get things functionally correct, even not most flexible.
Thanks, Vladimir