irqchip/gic-v3-its: Don't override quirk settings with default values
authorMarc Zyngier <maz@kernel.org>
Tue, 24 Oct 2023 14:34:31 +0000 (15:34 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 25 Oct 2023 19:44:49 +0000 (21:44 +0200)
commitf199bf5bf84c19a4f488a39d7d694ab10787de35
tree95132b48f6a2f2f9984eeb1c8b68afac1f6bd7a3
parent4dc5af1fee55e38b5016e45b66bec1e1312973f5
irqchip/gic-v3-its: Don't override quirk settings with default values

When splitting the allocation of the ITS node from its configuration,
some of the default settings were kept in the latter instead of
being moved to the former.

This has the side effect of negating some of the quirk detections that
have happened in between, amongst which the dreaded Synquacer hack
(that also affect Dominic's TI platform).

Move the initialisation of these fields early, so that they can again be
overriden by the Synquacer quirk.

Fixes: 9585a495ac93 ("irqchip/gic-v3-its: Split allocation from initialisation of its_node")
Reported by: Dominic Rath <dominic.rath@ibv-augsburg.net>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Dominic Rath <dominic.rath@ibv-augsburg.net>
Link: https://lore.kernel.org/r/20231024084831.GA3788@JADEVM-DRA
Link: https://lore.kernel.org/r/20231024143431.2144579-1-maz@kernel.org
drivers/irqchip/irq-gic-v3-its.c