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

authored by Marc Zyngier and committed by Thomas Gleixner f199bf5b 4dc5af1f

Changed files
+2 -2
drivers
+2 -2
drivers/irqchip/irq-gic-v3-its.c
··· 5112 } 5113 its->cmd_base = (void *)page_address(page); 5114 its->cmd_write = its->cmd_base; 5115 - its->get_msi_base = its_irq_get_msi_base; 5116 - its->msi_domain_flags = IRQ_DOMAIN_FLAG_ISOLATED_MSI; 5117 5118 err = its_alloc_tables(its); 5119 if (err) ··· 5360 its->typer = gic_read_typer(its_base + GITS_TYPER); 5361 its->base = its_base; 5362 its->phys_base = res->start; 5363 5364 its->numa_node = numa_node; 5365 its->fwnode_handle = handle;
··· 5112 } 5113 its->cmd_base = (void *)page_address(page); 5114 its->cmd_write = its->cmd_base; 5115 5116 err = its_alloc_tables(its); 5117 if (err) ··· 5362 its->typer = gic_read_typer(its_base + GITS_TYPER); 5363 its->base = its_base; 5364 its->phys_base = res->start; 5365 + its->get_msi_base = its_irq_get_msi_base; 5366 + its->msi_domain_flags = IRQ_DOMAIN_FLAG_ISOLATED_MSI; 5367 5368 its->numa_node = numa_node; 5369 its->fwnode_handle = handle;