irqchip/gicv3-its: Workaround for Cavium ThunderX errata 22375, 24313
authorRobert Richter <rrichter@cavium.com>
Mon, 21 Sep 2015 20:58:38 +0000 (22:58 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Sep 2015 08:10:54 +0000 (10:10 +0200)
commit94100970743365a9f9e186520e77ef56c492058d
tree6995564ff174a9c2bf43291c69fb661ee8fbfac0
parent67510ccafb9d69e79079b5cd6c9959025bc02061
irqchip/gicv3-its: Workaround for Cavium ThunderX errata 22375, 24313

This implements two gicv3-its errata workarounds for ThunderX. Both
with small impact affecting only ITS table allocation.

 erratum 22375: only alloc 8MB table size
 erratum 24313: ignore memory access type

The fixes are in ITS initialization and basically ignore memory access
type and table size provided by the TYPER and BASER registers.

Signed-off-by: Ganapatrao Kulkarni <gkulkarni@caviumnetworks.com>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Reviewed-by: Marc Zygnier <marc.zyngier@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Tirumalesh Chalamarla <tchalamarla@cavium.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/1442869119-1814-6-git-send-email-rric@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/arm64/Kconfig
drivers/irqchip/irq-gic-v3-its.c