Re: [PATCH] irqchip/gic-v3: Add Allwinner sunxi001 erratum workaround

From: yu harry
Date: Sun Jun 02 2024 - 09:24:06 EST


On Sun, Jun 2, 2024 at 5:25 PM Marc Zyngier <maz@xxxxxxxxxx> wrote:
>
> On Sun, 02 Jun 2024 08:10:58 +0100,
> "harry.yu185" <harry.yu185@xxxxxxxxx> wrote:
> >
> > Allwinner A523 GIC600 integration does not support the
> > sharability feature. So assigned Erratum ID #sunxi001 for this
> > issue.
> >
> > That the 0x0201643b ID is not Allwinner specific and thus
> > there is an extra of_machine_is_compatible() check.
> >
> > Note, because more than one soc may have this problem, the 'sunxi'
> > name is used instead of a fixed soc name like A523.
> >
> > Signed-off-by: harry.yu185 <harry.yu185@xxxxxxxxx>
>
> No, this is all already handled by the driver already (since 6.6).
>
> Please fix your DT to include the "dma-noncoherent" property in the
> GIC and ITS nodes, which should paper over the integration bug.
>
> Thanks,
>
> M.
>
> --
> Without deviation from the norm, progress is not possible.

Thank you for your reply,
the method you said may not be suitable, because this SOC
also needs RDIST_FLAGS_FORCE_NON_SHAREABLE,
just like RK3588, but it is different from the RK3588 version.