[PATCH v4 05/13] irqchip/gic-v5: Use linear DT and ITT when L2 covers all IDs

Fuad Tabba fuad.tabba at linux.dev
Wed Dec 2 03:50:49 PST 2026


On Wed, 25 Nov 2026 at 14:40, Sascha Bischoff <sascha.bischoff at arm.com> wrote:
>
> The DT and ITT level selector incorrectly chooses a two-level table
> when the selected L2 table has exactly enough entries to cover the
> full ID space. There are no L1 index bits in this case. ITT allocation
> correctly rejects the layout and device registration fails; the DT
> path instead allocates an unnecessary one-entry L1 table.
>
> Select a linear DT or ITT when the L2 width equals the ID width.
>
> Fixes: 57d72196dfc85 ("irqchip/gic-v5: Add GICv5 ITS support")
> Signed-off-by: Sascha Bischoff <sascha.bischoff at arm.com>
> Acked-by: Lorenzo Pieralisi <lpieralisi at kernel.org>

Reviewed-by: Fuad Tabba <fuad.tabba at linux.dev>

Cheers,
/fuad



More information about the linux-arm-kernel mailing list