linux-stable-rt/arch/s390/kernel
David Wilder b70842df77 [S390] kprobes: Align probe address.
Running a probe on s390 with a probe address that is not 4 byte aligned
results in a Kernel BUG.  The problem is that the stura instruction used
by swap_instruction requires the destination address to be 4 byte aligned.
As stura only writes 4 bytes, aligning to the next 4 byte aligned address
results in the breakpoint instruction being stored past the probe address.
The fix is to align the address backward (to the previous 4 byte aligned
address) and writing the two byte breakpoint instruction in the appropriate
bytes.

Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: David Wilder <dwilder@us.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2007-03-26 20:43:46 +02:00
..
Makefile [S390] Convert memory detection into C code. 2007-02-05 21:18:37 +01:00
asm-offsets.c
audit.c
base.S [S390] Convert memory detection into C code. 2007-02-05 21:18:37 +01:00
binfmt_elf32.c [S390] Avoid excessive inlining. 2007-02-05 21:18:53 +01:00
bitmap.S
compat_audit.c
compat_exec_domain.c [S390] Get rid of a lot of sparse warnings. 2007-02-05 21:16:47 +01:00
compat_linux.c [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
compat_linux.h [S390] noexec protection 2007-02-05 21:18:17 +01:00
compat_ptrace.h
compat_signal.c [S390] noexec protection 2007-02-05 21:18:17 +01:00
compat_wrapper.S [S390] Wire up sys_utimes. 2007-03-19 13:19:07 +01:00
cpcmd.c [S390] cpcmd with vmalloc addresses. 2007-02-05 21:16:54 +01:00
crash.c [S390] Get rid of a lot of sparse warnings. 2007-02-05 21:16:47 +01:00
debug.c [S390] strlcpy is smart enough 2007-03-19 13:18:53 +01:00
early.c [S390] memory detection: fix off by one bug. 2007-03-19 13:18:50 +01:00
ebcdic.c [S390] Get rid of a lot of sparse warnings. 2007-02-05 21:16:47 +01:00
entry.S
entry64.S
head.S
head31.S [S390] Fixed handling of access register mode faults. 2007-03-05 23:35:54 +01:00
head64.S [S390] Fixed handling of access register mode faults. 2007-03-05 23:35:54 +01:00
init_task.c
ipl.c [S390] reboot from and dump to SCSI under z/VM fails. 2007-03-19 13:19:03 +01:00
irq.c [S390] Move init_irq_proc to the other irq related functions. 2007-02-05 21:16:44 +01:00
kprobes.c [S390] kprobes: Align probe address. 2007-03-26 20:43:46 +02:00
machine_kexec.c [S390] nss: disable kexec. 2007-03-05 23:35:45 +01:00
module.c [S390] Avoid excessive inlining. 2007-02-05 21:18:53 +01:00
process.c [S390] noexec protection 2007-02-05 21:18:17 +01:00
ptrace.c [S390] noexec protection 2007-02-05 21:18:17 +01:00
reipl.S [S390] reipl: move dump_prefix_page out of text section. 2007-03-05 23:35:43 +01:00
reipl64.S [S390] reipl: move dump_prefix_page out of text section. 2007-03-05 23:35:43 +01:00
relocate_kernel.S
relocate_kernel64.S
s390_ext.c [S390] ETR support. 2007-02-05 21:18:19 +01:00
s390_ksyms.c
semaphore.c
setup.c [S390] nss: Free unused memory in kernel image. 2007-02-21 10:55:37 +01:00
signal.c [S390] noexec protection 2007-02-05 21:18:17 +01:00
smp.c [S390] smp: disable preemption in smp_call_function/smp_call_function_on 2007-03-05 23:35:41 +01:00
stacktrace.c [S390] Avoid excessive inlining. 2007-02-05 21:18:53 +01:00
sys_s390.c
syscalls.S [S390] Wire up sys_utimes. 2007-03-19 13:19:07 +01:00
time.c [S390] etr: Add barrier() to etr_sync_cpu_start(). 2007-02-21 10:55:15 +01:00
traps.c [S390] Fix kprobes breakpoint handling. 2007-02-05 21:17:29 +01:00
vmlinux.lds.S [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
vtime.c [S390] ETR support. 2007-02-05 21:18:19 +01:00