Skip to content
Commit 5ca918e5 authored by Robin Murphy's avatar Robin Murphy Committed by Russell King
Browse files

ARM: 8165/1: alignment: don't break misaligned NEON load/store



The alignment fixup incorrectly decodes faulting ARM VLDn/VSTn
instructions (where the optional alignment hint is given but incorrect)
as LDR/STR, leading to register corruption. Detect these and correctly
treat them as unhandled, so that userspace gets the fault it expects.

Reported-by: default avatarSimon Hosie <simon.hosie@arm.com>
Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 2c553ac1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment