diff options
author | Will Deacon <will.deacon@arm.com> | 2013-07-15 13:26:19 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-07-22 13:29:09 (GMT) |
commit | bf3f0f332f76a85ff3a0b393aaded5a8533769c0 (patch) | |
tree | c2af37fb279885a29863ec1da7980f16976e8f21 /README | |
parent | b6992fa9a74862c5addb62cde1657c7479615d86 (diff) | |
download | linux-fsl-qoriq-bf3f0f332f76a85ff3a0b393aaded5a8533769c0.tar.xz |
ARM: 7784/1: mm: ensure SMP alternates assemble to exactly 4 bytes with Thumb-2
Commit ae8a8b9553bd ("ARM: 7691/1: mm: kill unused TLB_CAN_READ_FROM_L1_CACHE
and use ALT_SMP instead") added early function returns for page table
cache flushing operations on ARMv7 SMP CPUs.
Unfortunately, when targetting Thumb-2, these `mov pc, lr' sequences
assemble to 2 bytes which can lead to corruption of the instruction
stream after code patching.
This patch fixes the alternates to use wide (32-bit) instructions for
Thumb-2, therefore ensuring that the patching code works correctly.
Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions