kernel_optimize_test/arch/mips
Atsushi Nemoto faea623464 [MIPS] Retry {save,restore}_fp_context if failed in atomic context.
The save_fp_context()/restore_fp_context() might sleep on accessing
user stack and therefore might lose FPU ownership in middle of them.

If these function failed due to "in_atomic" test in do_page_fault,
touch the sigcontext area in non-atomic context and retry these
save/restore operation.

This is a replacement of a (broken) fix which was titled "Allow CpU
exception in kernel partially".

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-04-20 14:58:37 +01:00
..
arc [MIPS] ARC: Fix several compiler warnings. 2007-03-08 01:10:30 +00:00
au1000 [MIPS] MTX1: add idsel cardbus ressources 2007-03-04 19:02:44 +00:00
basler/excite [MIPS] excite: Set serial driver iotype to UPIO_RM9000 2007-02-26 23:06:06 +00:00
boot Add .gitignore files for MIPS. 2005-11-07 18:05:37 +00:00
cobalt [MIPS] Cobalt: Fix early printk 2007-03-07 00:07:16 +00:00
configs [MIPS] Viper2: Remove defective support. 2007-03-13 16:59:31 +00:00
ddb5xxx [MIPS] Misc fixes for plat_irq_dispatch functions 2007-03-19 20:22:43 +00:00
dec [MIPS] DEC: Remove call to register_prom_console. 2007-03-09 12:14:52 +00:00
emma2rh [MIPS] Misc fixes for plat_irq_dispatch functions 2007-03-19 20:22:43 +00:00
gt64120 [MIPS] Ocelot: Fix warning. 2007-03-29 23:46:35 +01:00
jazz [MIPS] Jazz: Fix warning. 2007-03-24 17:01:50 +00:00
jmr3927 [MIPS] Convert to RTC-class ds1742 driver 2007-03-04 19:02:34 +00:00
kernel [MIPS] Retry {save,restore}_fp_context if failed in atomic context. 2007-04-20 14:58:37 +01:00
lasat [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
lib [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
lib-32 [MIPS] Kill redundant EXTRA_AFLAGS 2007-02-26 23:06:05 +00:00
lib-64 [MIPS] Kill redundant EXTRA_AFLAGS 2007-02-26 23:06:05 +00:00
math-emu [MIPS] FPU ownership management & preemption fixes 2007-03-17 01:03:26 +00:00
mips-boards [MIPS] mips-boards: More liberal check for mips-board console 2007-03-19 20:22:43 +00:00
mm [MIPS] do_page_fault() needs to use raw_smp_processor_id(). 2007-03-29 23:46:36 +01:00
momentum [MIPS] Misc fixes for plat_irq_dispatch functions 2007-03-19 20:22:43 +00:00
oprofile [MIPS] Oprofile: Reset all performance registers for MIPS_MT_SMP configs 2007-03-13 16:59:31 +00:00
pci [MIPS] EV64120: Include <asm/irq.h> to fix warning. 2007-03-29 23:46:35 +01:00
philips/pnx8550 [MIPS] Misc fixes for plat_irq_dispatch functions 2007-03-19 20:22:43 +00:00
pmc-sierra [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
qemu [MIPS] Qemu: Fix Symmetric Uniprocessor support. 2007-03-19 20:22:43 +00:00
sgi-ip22 [MIPS] Misc fixes for plat_irq_dispatch functions 2007-03-19 20:22:43 +00:00
sgi-ip27 [MIPS] IP27: Build fix 2007-03-07 00:07:18 +00:00
sgi-ip32 [MIPS] Misc fixes for plat_irq_dispatch functions 2007-03-19 20:22:43 +00:00
sibyte [MIPS] Add missing silicon revisions for BCM112x 2007-04-20 14:58:37 +01:00
sni [MIPS] Misc fixes for plat_irq_dispatch functions 2007-03-19 20:22:43 +00:00
tx4927 [MIPS] Misc fixes for plat_irq_dispatch functions 2007-03-19 20:22:43 +00:00
tx4938 [MIPS] No need to write c0_compare in plat_timer_setup 2007-03-04 19:02:35 +00:00
vr41xx [MIPS] Kill redundant EXTRA_AFLAGS 2007-02-26 23:06:05 +00:00
defconfig [MIPS] Viper2: Remove defective support. 2007-03-13 16:59:31 +00:00
Kconfig [MIPS] MT: MIPS_MT_SMTC_INSTANT_REPLAY currently conflicts with PREEMPT. 2007-03-29 23:46:35 +01:00
Kconfig.debug [MIPS] Make SMTC_IDLE_HOOK_DEBUG a proper option in Kconfig.debug. 2007-02-26 23:06:06 +00:00
Makefile [MIPS] Add basic SMARTMIPS ASE support 2007-02-22 00:50:44 +00:00