diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-09-25 09:49:59 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-10-15 11:55:41 +0200 |
| commit | d09b36d8e0e60f35bd1cd7d63aadc6dfad61700c (patch) | |
| tree | 45c4cf101386d831d6b5993b6035e7c50be4411e /scripts/Makefile.thinlto | |
| parent | 32e056cc1d1582951f981113ca8b98914f29c32a (diff) | |
| download | linux-d09b36d8e0e60f35bd1cd7d63aadc6dfad61700c.tar.gz linux-d09b36d8e0e60f35bd1cd7d63aadc6dfad61700c.zip | |
irqchip/gic-v3-its: Don't free the tables of an enabled ITS
its_probe_one() enables the ITS before its_init_domain(), the last step
that can fail, and the unwind from there frees the tables and the
command queue without disabling it. The kernel comes up with an enabled
ITS pointing at freed pages.
Enable the ITS last. Nothing reaches the new domain before then: this
runs from init_IRQ(), and the ITS joins its_nodes only after the enable.
Fixes: 4c21f3c26ecc2 ("irqchip: GICv3: ITS: DT probing and initialization")
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://patch.msgid.link/20260925085000.753400-3-fuad.tabba@linux.dev
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
