[PATCH v3] irqchip/gic-v3-its: Size the collection table for all possible CPUs

Marc Zyngier maz at kernel.org
Wed Nov 18 09:20:04 PST 2026


On Wed, 18 Nov 2026 16:44:11 +0000,
Zenghui Yu <zenghui.yu at linux.dev> wrote:
> 
> On 11/18/26 10:51 AM, Jinjie Ruan wrote:
> > The collection table is currently sized at a single ITS page size,
> > and the driver's allocation policy is to allocate a single collection
> > per CPU. On systems with more CPUs that the ITS can fit in a single
> > page, no LPI can be routed to the CPUs that don't have an allocated
> > collection, and the system grinds to a halt.
> 
> The issue on the reported hardware ("384-CPU HiSilicon HIP12 system", as
> described in v1) is fixed by allocating 2 pages for the flat collection
> table. That is fine.
> 
> > 
> > Change the allocation policy to allow two-level tables, similarly to
> > the other tables.
> 
> But I'm afraid that the two-level CT is still not supported: nothing in the
> driver allocates the level-2 CTs.

Hmmm. You're are absolutely right.

It should only be a matter of plugging its_alloc_table_entry() in
its_alloc_collections() and getting the error handling right (which
is, I reckon, the hardest part).

Thanks,

	M.

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



More information about the linux-arm-kernel mailing list