android_kernel_motorola_sm6225/arch/mips
Ralf Baechle f8829caee3 [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page
The current implementation uses a sequence of a cacheflush and a copy.
This is racy in case of a multithreaded debuggee and renders GDB
virtually unusable.

Aside this fixes a performance hog rendering access to /proc/cmdline very
slow and resulting in a enough cache stalls for the 34K AP/SP programming
model to make the bare metal code on the non-Linux VPE miss RT deadlines.

The main part of this patch was originally written by Ralf Baechle;
Atushi Nemoto did the the debugging.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-10-21 23:17:35 +01:00
..
arc Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
au1000 [MIPS] A few more pt_regs fixups. 2006-10-19 17:55:13 +01:00
basler/excite [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
boot Add .gitignore files for MIPS. 2005-11-07 18:05:37 +00:00
cobalt [MIPS] Cleanup unnecessary <asm/ptrace.h> inclusions. 2006-10-09 00:15:28 +01:00
configs [MIPS] Update tb0287_defconfig 2006-10-19 17:55:14 +01:00
ddb5xxx [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
dec [MIPS] ret_from_irq adjustment 2006-10-09 23:20:46 +01:00
emma2rh [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
gt64120 [MIPS] Cleanup unnecessary <asm/ptrace.h> inclusions. 2006-10-09 00:15:28 +01:00
jazz [MIPS] Fix timer setup for Jazz 2006-10-11 19:30:58 +01:00
jmr3927 [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
kernel [MIPS] Reserve syscall numbers for kexec_load. 2006-10-19 17:55:14 +01:00
lasat [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
lib Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lib-32 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lib-64 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
math-emu [MIPS] Make sure cpu_has_fpu is used only in atomic context 2006-10-09 23:20:48 +01:00
mips-boards [MIPS] Cleanup remaining references to mips_counter_frequency. 2006-10-21 23:17:35 +01:00
mm [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page 2006-10-21 23:17:35 +01:00
momentum [MIPS] Cleanup unnecessary <asm/ptrace.h> inclusions. 2006-10-09 00:15:28 +01:00
oprofile [MIPS] A few more pt_regs fixups. 2006-10-19 17:55:13 +01:00
pci [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
philips/pnx8550 [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
pmc-sierra [MIPS] Cleanup unnecessary <asm/ptrace.h> inclusions. 2006-10-09 00:15:28 +01:00
qemu [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
sgi-ip22 [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
sgi-ip27 [MIPS] IP27: Make declaration of setup_replication_mask a proper prototype. 2006-10-11 19:31:00 +01:00
sgi-ip32 [MIPS] A few more pt_regs fixups. 2006-10-19 17:55:13 +01:00
sibyte [MIPS] A few more pt_regs fixups. 2006-10-19 17:55:13 +01:00
sni [MIPS] Cleanup unnecessary <asm/ptrace.h> inclusions. 2006-10-09 00:15:28 +01:00
tx4927 [MIPS] Fix build errors related to wbflush.h on tx4927/tx4938. 2006-10-09 23:20:48 +01:00
tx4938 [MIPS] Fix build errors related to wbflush.h on tx4927/tx4938. 2006-10-09 23:20:48 +01:00
vr41xx [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
defconfig [MIPS] lockdep: update defconfigs 2006-10-01 23:16:57 +01:00
Kconfig [MIPS] Alchemy: nuke usbdev; it's useless as is ... 2006-10-09 23:20:47 +01:00
Kconfig.debug [MIPS] TRACE_IRQFLAGS_SUPPORT support. 2006-07-13 21:26:09 +01:00
Makefile [MIPS] Workaround for bug in gcc -EB / -EL options. 2006-10-11 19:30:59 +01:00