]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - Documentation/arm64/silicon-errata.txt
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)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 13 Mar 2017 21:06:14 +0000 (16:06 -0500)
commitcc89544ab27d3f26756f0cc2ff55a679428b1578
tree1c8df4e7d45604a875f4779842fb4e4e0d9860f1
parentce034247d4e39d941caa7a1a579db88041bfe39f
irqchip/gicv3-its: Add workaround for QDF2400 ITS erratum 0065

BugLink: http://bugs.launchpad.net/bugs/1672486
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>
(cherry picked from commit 90922a2d03d84de36bf8a9979d62580102f31a92)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Documentation/arm64/silicon-errata.txt
arch/arm64/Kconfig
drivers/irqchip/irq-gic-v3-its.c