linux-stable-rt/arch/powerpc/kernel
Prasanna S Panchamukhi 50e21f2b28 [PATCH] kprobes: fix broken fault handling for powerpc64
Provide proper kprobes fault handling, if a user-specified pre/post handlers
tries to access user address space, through copy_from_user(), get_user() etc.

The user-specified fault handler gets called only if the fault occurs while
executing user-specified handlers.  In such a case user-specified handler is
allowed to fix it first, later if the user-specifed fault handler does not fix
it, we try to fix it by calling fix_exception().

The user-specified handler will not be called if the fault happens when single
stepping the original instruction, instead we reset the current probe and
allow the system page fault handler to fix it up.

Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 08:57:04 -08:00
..
vdso32
vdso64 [PATCH] powerpc: vdso 64bits gettimeofday bug 2006-02-28 16:25:54 +11:00
Makefile
align.c
asm-offsets.c Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
binfmt_elf32.c
btext.c
cpu_setup_power4.S
cputable.c Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
crash.c [PATCH] powerpc: Trivial fix to set the proper timeout value for kdump 2006-02-24 11:36:21 +11:00
crash_dump.c
dma_64.c
entry_32.S powerpc: Fix various syscall/signal/swapcontext bugs 2006-03-08 13:24:22 +11:00
entry_64.S Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
firmware.c
fpu.S
head_4xx.S
head_8xx.S
head_32.S [PATCH] powerpc: fix altivec_unavailable_exception Oopses 2006-02-24 11:36:23 +11:00
head_44x.S
head_64.S Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
head_booke.h
head_fsl_booke.S
ibmebus.c
idle_6xx.S
idle_64.c
idle_power4.S
init_task.c
iomap.c
iommu.c
irq.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
kprobes.c [PATCH] kprobes: fix broken fault handling for powerpc64 2006-03-26 08:57:04 -08:00
legacy_serial.c
lparcfg.c
lparmap.c
machine_kexec.c
machine_kexec_32.c
machine_kexec_64.c [PATCH] powerpc: Only calculate htab_size in one place for kexec 2006-02-24 11:36:18 +11:00
misc_32.S
misc_64.S
module_64.c
nvram_64.c
of_device.c [PATCH] powerpc: tidy-up of_register_driver()/driver_register() return values 2006-03-23 14:40:54 +11:00
paca.c
pci_32.c
pci_64.c [PATCH] powerpc: properly configure DDR/P5IOC children devs 2006-03-16 16:55:07 +11:00
pci_direct_iommu.c
pci_dn.c
pci_iommu.c
pmc.c
ppc32.h
ppc_ksyms.c Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
proc_ppc64.c
process.c [PATCH] kretprobe instance recycled by parent process 2006-03-26 08:57:04 -08:00
prom.c Merge ../powerpc-merge 2006-02-28 16:35:24 +11:00
prom_init.c [PATCH] powerpc: incorrect rmo_top handling in prom_init 2006-03-03 22:01:05 +11:00
prom_parse.c
ptrace-common.h
ptrace.c powerpc: Fix various syscall/signal/swapcontext bugs 2006-03-08 13:24:22 +11:00
ptrace32.c
rtas-proc.c
rtas-rtc.c [PATCH] powerpc: RTC memory corruption 2006-03-16 16:55:03 +11:00
rtas.c
rtas_flash.c
rtas_pci.c Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
semaphore.c
setup-common.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
setup.h
setup_32.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
setup_64.c [PATCH] powerpc: Remove calculation of io hole 2006-03-22 15:04:30 +11:00
signal_32.c powerpc: Fix various syscall/signal/swapcontext bugs 2006-03-08 13:24:22 +11:00
signal_64.c Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
smp-tbsync.c
smp.c powerpc: Implement accurate task and CPU time accounting 2006-02-24 14:05:56 +11:00
sys_ppc32.c [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
syscalls.c
sysfs.c
systbl.S powerpc: Fix various syscall/signal/swapcontext bugs 2006-03-08 13:24:22 +11:00
time.c Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
traps.c powerpc: Fix might-sleep warning in program check exception handler 2006-03-03 17:11:40 +11:00
udbg.c
udbg_16550.c
vdso.c Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
vecemu.c
vector.S
vio.c
vmlinux.lds.S