commit | 51468ea91efad9c7e6dbae43cd8bdc423ec61709 | [log] [tgz] |
---|---|---|
author | Jon Medhurst <tixy@yxit.co.uk> | Thu Apr 07 13:25:15 2011 +0100 |
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | Thu Apr 28 23:40:55 2011 -0400 |
tree | 301e078b5aacee6250c3f89ea03cd5b98a9738d0 | |
parent | 896a74e19d0131413a96502429994bc8e6bbbe5a [diff] |
ARM: kprobes: Reject probing MRS instructions which read SPSR We need to reject probing of instructions which read SPSR because we can't handle this as the value in SPSR is lost when the exception handler for the probe breakpoint first runs. This patch also fixes the bitmask for MRS instructions decoding to include checking bits 5-7. Signed-off-by: Jon Medhurst <tixy@yxit.co.uk> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>