diff options
author | Jon Medhurst (Tixy) <tixy@yxit.co.uk> | 2011-11-29 08:16:02 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-12-01 00:54:54 +0100 |
commit | b5bed7fe801d1460424b7aeb6b06464e23d2a1e6 (patch) | |
tree | d7908f55743de30fa49d5cf01ad2c5aeafebf8eb /Documentation/cgroups | |
parent | ARM: 7180/1: Change kprobes testcase with unpredictable STRD instruction (diff) | |
download | linux-b5bed7fe801d1460424b7aeb6b06464e23d2a1e6.tar.xz linux-b5bed7fe801d1460424b7aeb6b06464e23d2a1e6.zip |
ARM: 7181/1: Restrict kprobes probing SWP instructions to ARMv5 and below
The SWP instruction is deprecated on ARMv6 and with ARMv7 it will be
UNDEFINED when CONFIG_SWP_EMULATE is selected. In this case, probing a
SWP instruction will cause an oops when the kprobes emulation code
executes an undefined instruction.
As the SWP instruction should be rare or non-existent in kernels for
ARMv6 and later, we can simply avoid these problems by not allowing
probing of these.
Reported-by: Leif Lindholm <leif.lindholm@arm.com>
Tested-by: Leif Lindholm <leif.lindholm@arm.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Documentation/cgroups')
0 files changed, 0 insertions, 0 deletions