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

From: Fuad Tabba

Date: Wed Dec 02 2026 - 06:51:40 EST


On Wed, 25 Nov 2026 at 14:40, Sascha Bischoff <sascha.bischoff@xxxxxxx> 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@xxxxxxx>
> Acked-by: Lorenzo Pieralisi <lpieralisi@xxxxxxxxxx>

Reviewed-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>

Cheers,
/fuad