Re: [PATCH v3 0/4] irqchip/gic-v4, KVM: arm64: Fix the vgic init error paths

From: Thomas Gleixner

Date: Thu Oct 15 2026 - 05:32:50 EST


On Mon, Sep 21 2026 at 08:29, Fuad Tabba wrote:
> Hi folks,
>
> Changes since v2 [1]:
> - Patch 3: a vgic_v4_init() failure now frees only the SPI array,
> since that function unwinds its own state; the teardown label is
> for the routing failure. (Yuan Yao)
> - Rebased on kvmarm/next, where the routing failure already tears
> down the GICv5 state. Patch 3 moves that into the shared label, so
> the SPI array is freed on that path too.
> - Collected Reviewed-by from Yuan Yao on patches 1 and 2. (thanks!)
>
> Four fixes on the paths that run when vgic init fails partway. Each one
> needs an allocation failure to reach.

Marc?