diff options
| author | Jiangshan Yi <yijiangshan@kylinos.cn> | 2026-09-03 18:40:14 +0800 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-09-04 15:35:57 +0200 |
| commit | 94713d60707bfe26c7cbc941abe26d1855448435 (patch) | |
| tree | cde50524e40091000cb571bc4d0486a0b6440b13 /scripts/Makefile.thinlto | |
| parent | 5b104000160dec7f01c292da1082fbe4bdd5f715 (diff) | |
| download | linux-next-94713d60707bfe26c7cbc941abe26d1855448435.tar.gz linux-next-94713d60707bfe26c7cbc941abe26d1855448435.zip | |
irqchip/gic-v5: Install root IRQ handler last in gicv5_init_common()
set_handle_irq() cannot be undone: once a handler is installed, any
further call returns -EBUSY, so the set_handle_irq(NULL) in the error
path has never worked. Drop it, and install the root handler only
after gicv5_irs_enable() has succeeded.
set_handle_irq() only fails if another root handler is already
installed, which cannot happen on a GICv5 system. Should it ever
fail, the system is unusable: panic instead of unwinding.
Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/87fqzrmywu.wl-maz@kernel.org
Link: https://patch.msgid.link/20260903104014.587068-1-yijiangshan@kylinos.cn
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
