[PATCH v5 2/2] irqchip/riscv-aplic: force synchronous probing
Vladimir Kondratiev
Vladimir.Kondratiev at mobileye.com
Thu Nov 12 04:11:11 PST 2026
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
More information about the linux-riscv
mailing list