linux/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
..
asm-offsets.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
audit.c [PATCH] audit: AUDIT_PERM support 2006-09-11 13:32:30 -04:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_audit.c [PATCH] audit: AUDIT_PERM support 2006-09-11 13:32:30 -04:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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
entry64.S [S390] Whitespace cleanup. 2006-09-28 16:56:37 +02:00
entry.S [S390] Whitespace cleanup. 2006-09-28 16:56:37 +02:00
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
head.S [S390] remove salipl memory detection. 2006-12-04 15:39:47 +01:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
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
Makefile [S390] Convert memory detection into C code. 2007-02-05 21:18:37 +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
reipl64.S [S390] reipl: move dump_prefix_page out of text section. 2007-03-05 23:35:43 +01:00
reipl.S [S390] reipl: move dump_prefix_page out of text section. 2007-03-05 23:35:43 +01:00
relocate_kernel64.S [S390] Reset infrastructure for re-IPL. 2006-12-04 15:40:26 +01:00
relocate_kernel.S [S390] Reset infrastructure for re-IPL. 2006-12-04 15:40:26 +01:00
s390_ext.c [S390] ETR support. 2007-02-05 21:18:19 +01:00
s390_ksyms.c [PATCH] remove bogus arch-specific syscall exports 2006-10-11 11:17:07 -07:00
semaphore.c [S390] Inline assembly cleanup. 2006-09-28 16:56:43 +02:00
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 [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
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