Re: [PATCH v5 4/6] irqchip, gicv3-its: Add HW revision detection and configuration

From: Marc Zyngier
Date: Tue Sep 22 2015 - 12:51:58 EST


On Mon, 21 Sep 2015 22:58:37 +0200
Robert Richter <rric@xxxxxxxxxx> wrote:

> From: Robert Richter <rrichter@xxxxxxxxxx>
>
> Some GIC revisions require an individual configuration to esp. add
> workarounds for HW bugs. This patch implements generic code to parse
> the hw revision provided by an IIDR register value and runs specific
> code if hw matches. A function is added that reads the IIDR registers
> for ITS (GITS_IIDR) and then goes through a list of init functions to
> be called for specific versions. Same could be done for GICV3
> (GICD_IIDR), but there are no users yet for it.
>
> The patch is needed to implement workarounds for HW errata in Cavium's
> ThunderX GICV3 ITS.
>
> v5:
> * renamed caps names to quirk
>
> v4:
> * only enable hw detection for its in its_enable_quirks()
> * removed gicv3_check_capabilities()
>
> v3:
> * use arm64 errata framework for midr check
>
> v2:
> * adding MIDR check
>
> Signed-off-by: Robert Richter <rrichter@xxxxxxxxxx>

Reviewed-by: Marc Zyngier <marc.zyngier@xxxxxxx>

M.
--
Jazz is not dead. It just smells funny.
--
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/