Re: [PATCH v3] irqchip/gic-v3-its: Reset each ITS's BASERn register before probe
From: Marc Zyngier
Date: Wed Jan 26 2022 - 06:10:19 EST
On Wed, 26 Jan 2022 09:57:26 +0000,
Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx> wrote:
>
> > static void __init its_acpi_probe(void)
> > {
> > acpi_table_parse_srat_its();
> > - acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_TRANSLATOR,
> > - gic_acpi_parse_madt_its, 0);
> > + if (acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_TRANSLATOR,
> > + its_acpi_reset, 0) > 0)
> > + acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_TRANSLATOR,
> > + gic_acpi_parse_madt_its, 0);
>
> Maybe it is worth adding a comment here as you did for DT if you
> can before merging it - to clarify the first acpi_table_parse_madt()
> call logic.
Sure, I'll add that.
>
> Other than that:
>
> Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx>
Thanks,
M.
--
Without deviation from the norm, progress is not possible.