android_kernel_xiaomi_sm8350/arch/s390
David Wilder 9c5f225f1a [S390] kprobes: fix instruction length calculation
Placing a kprobe on "bc" instruction (s390/s390x) can cause an oops.
The instruction length is encoded into the first two bits of the s390
instruction. Kprobe is incorrectly computing the instruction length.
The instruction length is used for determining what type of "fix-up" is
needed for conditional branch instruction. The problem can bee seen by
placing a kprobe on a "bc" instruction that will not branch. The
results is that Kprobe incorrectly computes the new instruction
pointer (psw.addr) after single stepping the instruction. The problem
is corrected with this patch.

Signed-off-by: David Wilder <dwilder@us.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2007-08-22 13:51:49 +02:00
..
appldata [S390] Convert to smp_call_function_single. 2007-07-27 12:29:17 +02:00
boot
crypto [S390] Fixed comment typo. 2007-07-10 11:24:42 +02:00
hypfs [S390] hypfs: inode corruption due to missing locking 2007-08-22 13:51:49 +02:00
kernel [S390] kprobes: fix instruction length calculation 2007-08-22 13:51:49 +02:00
lib mm: fault feedback #2 2007-07-19 10:04:41 -07:00
math-emu [S390] Calibrate delay and bogomips. 2007-02-05 21:18:31 +01:00
mm [S390] vmur: fix diag14 exceptions with addresses > 2GB. 2007-08-22 13:51:47 +02:00
oprofile
defconfig [S390] z/VM unit record device driver 2007-07-17 13:36:19 +02:00
Kconfig [S390] remove DEFAULT_MIGRATION_COST 2007-08-10 14:32:37 +02:00
Kconfig.debug
Makefile pass -msize-long to sparse on s390 2007-07-15 16:40:52 -07:00