summaryrefslogtreecommitdiff
path: root/arch/arm/mm/cache-tauros2.c
diff options
context:
space:
mode:
authorVladimir Murzin <vladimir.murzin@arm.com>2017-04-24 10:40:48 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2017-04-26 10:57:53 +0100
commit6d80594936914e798b1b54b3bfe4bd68d8418966 (patch)
tree870eb3154904c3f0b590b72f139756c21c87c322 /arch/arm/mm/cache-tauros2.c
parent3872fe83a2fbb7366daa93ca533a22138e2d483e (diff)
downloadlinux-stable-6d80594936914e798b1b54b3bfe4bd68d8418966.tar.gz
ARM: 8670/1: V7M: Do not corrupt vector table around v7m_invalidate_l1 call
We save/restore registers around v7m_invalidate_l1 to address pointed by r12, which is vector table, so the first eight entries are overwritten with a garbage. We already have stack setup at that stage, so use it to save/restore register. Fixes: 6a8146f420be ("ARM: 8609/1: V7M: Add support for the Cortex-M7 processor") Cc: <stable@vger.kernel.org> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mm/cache-tauros2.c')
0 files changed, 0 insertions, 0 deletions