]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kprobes: Reject probing of undefined multiply instructions
authorJon Medhurst <tixy@yxit.co.uk>
Thu, 7 Apr 2011 12:25:19 +0000 (13:25 +0100)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 29 Apr 2011 03:40:56 +0000 (23:40 -0400)
commit613ba22eba5ff68077110b00225b38edc579fa5d
tree73079ecaad2611329b481e2982bf5eeb5fb42787
parent39bf244629e31f15ec8f567a702c83909e389d34
ARM: kprobes: Reject probing of undefined multiply instructions

The instructions space for 'Multiply and multiply-accumulate'
instructions contains some undefined patterns. We need to reject
probing of these because they may in future become defined and the
kprobes code may then emulate them faultily.

This has already happened with the new MLS instruction which this patch
also adds correct decoding for as well as tightening up other decoding
tests. (Before this patch the wrong emulation routine was being called
for MLS though it still produced correct results.)

Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/kernel/kprobes-decode.c