Skip to content

Commit 8b02da0

Browse files
Marc ZyngierKAGA-KOKO
authored andcommitted
irqchip/gic-v3-its: Restore quirk probing for ACPI-based systems
While refactoring the way the ITSs are probed, the handling of quirks applicable to ACPI-based platforms was lost. As a result, systems such as HIP07 lose their GICv4 functionnality, and some other may even fail to boot, unless they are configured to boot with DT. Move the enabling of quirks into its_probe_one(), making it common to all firmware implementations. Fixes: 9585a49 ("irqchip/gic-v3-its: Split allocation from initialisation of its_node") Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20240213101206.2137483-3-maz@kernel.org
1 parent 846297e commit 8b02da0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/irqchip/irq-gic-v3-its.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5091,6 +5091,8 @@ static int __init its_probe_one(struct its_node *its)
50915091
u32 ctlr;
50925092
int err;
50935093

5094+
its_enable_quirks(its);
5095+
50945096
if (is_v4(its)) {
50955097
if (!(its->typer & GITS_TYPER_VMOVP)) {
50965098
err = its_compute_its_list_map(its);
@@ -5442,7 +5444,6 @@ static int __init its_of_probe(struct device_node *node)
54425444
if (!its)
54435445
return -ENOMEM;
54445446

5445-
its_enable_quirks(its);
54465447
err = its_probe_one(its);
54475448
if (err) {
54485449
its_node_destroy(its);

0 commit comments

Comments
 (0)