Re: [PATCH v4 5/5] irqchip, gicv3-its: Workaround for Cavium ThunderX errata 22375, 24313

From: Robert Richter
Date: Fri Sep 18 2015 - 04:34:14 EST


On 07.09.15 17:32:25, Marc Zyngier wrote:
> On 14/08/15 19:28, Robert Richter wrote:

> > + if (its->flags & ITS_FLAGS_CAVIUM_THUNDERX) {
> > + /*
> > + * erratum 22375: only alloc 8MB table size
> > + * erratum 24313: ignore memory access type
> > + */
> > + cache = 0;
> > + ids = 0x13; /* 20 bits, 8MB */
> > + } else {
>
> You can move the typer definition here, as it is only used here.
>
> > + cache = GITS_BASER_WaWb;
> > + typer = readq_relaxed(its->base + GITS_TYPER);
> > + ids = GITS_TYPER_DEVBITS(typer);
> > + }

I am dropping this change as this would raise merge conflicts with
others, e.g. KVM patches.

-Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/