Re: [PATCH] arm/irq: Reduce size of irq_desc array to exclude local IRQs

2025-04-10 Thread Orzel, Michal
On 08/04/2025 05:42, Mykola Kvach wrote: > > > From: Mykola Kvach > > SGI and PPI descriptors are banked and stored in the per-CPU local_irq_desc > array, so not all elements of the global irq_desc array are used. This is > already accounted for in the descriptor lookup logic inside __irq_to

[PATCH] arm/irq: Reduce size of irq_desc array to exclude local IRQs

2025-04-07 Thread Mykola Kvach
From: Mykola Kvach SGI and PPI descriptors are banked and stored in the per-CPU local_irq_desc array, so not all elements of the global irq_desc array are used. This is already accounted for in the descriptor lookup logic inside __irq_to_desc: return &irq_desc[irq - NR_LOCAL_IRQS]; Therefore