[PATCH v3 0/4] irqchip/gic-v4, KVM: arm64: Fix the vgic init error paths
Marc Zyngier
maz at kernel.org
Tue Nov 3 05:05:38 PST 2026
On Mon, 21 Sep 2026 08:29:54 +0100, Fuad Tabba wrote:
> 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!)
>
> [...]
Applied to fixes, thanks!
[1/4] irqchip/gic-v4: Clear the domain and fwnode pointers after freeing them
commit: 861bebd1fac5f5a25c11e40aec3c3291542045d1
[2/4] irqchip/gic-v4: Unwind what its_alloc_vcpu_irqs() allocated on failure
commit: fd86d69c951765e24e89a162c53dfe33a8aba976
[3/4] KVM: arm64: vgic: Tear down what vgic_init() created when it fails
commit: 9f63ac1e31c370d5ed9d49caec4faa469d0007fc
[4/4] KVM: arm64: vgic-v4: Restore nr_vpes before freeing the vPE resources
commit: 1ad8b8b8827e72b7d5907ee47c43ca0e2506b4f5
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list