]> git.ipfire.org Git - thirdparty/linux.git/commit - arch/arm64/Kconfig
irqchip/gicv3-its: Add workaround for QDF2400 ITS erratum 0065
authorShanker Donthineni <shankerd@codeaurora.org>
Tue, 7 Mar 2017 14:20:38 +0000 (08:20 -0600)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 7 Mar 2017 14:34:27 +0000 (14:34 +0000)
commit90922a2d03d84de36bf8a9979d62580102f31a92
tree5f0f9da3b20bf6b01a1f6f87f25496d62c59676c
parentb3e228473e6cec7cf83b4025b4570c8066ab2dd8
irqchip/gicv3-its: Add workaround for QDF2400 ITS erratum 0065

On Qualcomm Datacenter Technologies QDF2400 SoCs, the ITS hardware
implementation uses 16Bytes for Interrupt Translation Entry (ITE),
but reports an incorrect value of 8Bytes in GITS_TYPER.ITTE_size.

It might cause kernel memory corruption depending on the number
of MSI(x) that are configured and the amount of memory that has
been allocated for ITEs in its_create_device().

This patch fixes the potential memory corruption by setting the
correct ITE size to 16Bytes.

Cc: stable@vger.kernel.org
Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Documentation/arm64/silicon-errata.txt
arch/arm64/Kconfig
drivers/irqchip/irq-gic-v3-its.c