summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/traps.c
Commit message (Collapse)AuthorAgeFilesLines
* Support 512mb RAM configuration for Momenco Ocelot. Patch fromRalf Baechle2001-06-051-1/+21
| | | | David Woodhouse (dwmw2@infradead.org).
* Fix ll/sc emulation. Extracted from Linux-VR tree by Harald.Ralf Baechle2001-04-081-42/+77
|
* Eleminate CONFIG_CPU_R3912; detect TX39 / R3000 at runtime.Ralf Baechle2001-04-011-1/+3
|
* SMP for 32-bit kernel, support for Sibyte SB1. Patch from JustinRalf Baechle2001-03-281-1/+2
| | | | with minor changes by me.
* Add code to support the SB1 core, including mmu routines, processorRalf Baechle2001-03-241-1/+12
| | | | | | | detection. This also tweaks cpu_probe() to use bits 15:8 of PRId as a company ID, as per the mips32/mips64 specs, and use bits 7:0 as the processor ID within the company. Patch from Justin with mods and some additional bits by me.
* Replace set_cp0_status / set_cp0_config by three functions, clear_cp0_*,Ralf Baechle2001-03-111-3/+3
| | | | | | | | set_cp0_* and change_cp0_* which makes the kernel code somewhat more readable. Going through the kernel code I notices some stupid abuse of the old function like set_cp0_status(ST0_BEV, 1) - this clear ST0_BEV but actually looks like attempting to set it and other abuses, so will people please look over their code again.
* Silence gcc 3.0 warning.Ralf Baechle2001-03-101-0/+1
|
* We were incrementing too much for the delay slot case.Ralf Baechle2001-03-031-1/+1
|
* Support for Phillips PDAs.Ralf Baechle2001-02-221-0/+1
|
* Eliminate last occurence of vce_availableFlorian Lohoff2001-01-171-1/+0
|
* Merge with Linux 2.4.0-test12.Ralf Baechle2001-01-101-13/+0
|
* Bunch more patches from MIPS.Ralf Baechle2000-12-291-0/+7
|
* Handle break 6/7 instructions properly. From Maciej.Ralf Baechle2000-12-191-2/+35
|
* First batch of PMC Ocelot CP7000 patches.Ralf Baechle2000-12-131-13/+12
|
* Minor compile fixes. Partly R300 related.Harald Koerfgen2000-12-101-7/+0
|
* Final round of FPU emulator bits.Ralf Baechle2000-12-101-78/+155
|
* Kernel FPU emulator, chain saw edition.Ralf Baechle2000-11-251-26/+85
|
* DDB5476 support from Jun Sun.Ralf Baechle2000-10-121-0/+1
|
* More NTP and xtime_lock fixes.Ralf Baechle2000-09-071-3/+0
|
* One more RM7000 hook.Ralf Baechle2000-08-221-0/+1
|
* DECstation resp. R3000 related -Werror fixesHarald Koerfgen2000-07-091-1/+1
|
* Merge with Linux 2.4.0-test3-pre5. 64-bit kernel are still notRalf Baechle2000-07-081-12/+3
| | | | -Werror clean.
* Fix some types and some more %ld mess.Ulf Carlsson2000-07-041-3/+3
|
* Don't overwrite the cache exception handler.Ralf Baechle2000-04-211-3/+1
|
* Port paccess.h from mips64. mips32 paccess.h differs from the original one inGleb O. Raiko2000-04-071-1/+43
| | | | | | | | the following: o works in case a constant address is passed to get_dbe/put_dbe o uses faster binary search :-) o the kernel are linked successfully even if get_dbe/put_dbe aren't used
* Cleanup a large number of random junk, nothing of importance.Ralf Baechle2000-03-251-2/+3
|
* Add R3081 supportGleb O. Raiko2000-03-131-4/+4
|
* Initialize current_pgd such that vmalloc() can be used before the firstRalf Baechle2000-01-161-1/+6
| | | | fork().
* Merge with Linux 2.3.21.Ralf Baechle1999-12-041-12/+30
|
* Look ma - a tank has hit the MIPS sources ...Ralf Baechle1999-08-211-3/+2
|
* Made implicit assumptions about the availability of some CPU capabilities on ↵Harald Koerfgen1999-08-131-3/+3
| | | | certain ISA levels explicitely configurable
* My proposal for non-generic kernels:Harald Koerfgen1999-08-091-89/+29
| | | | | | | | | o only code for the configured CPU is compiled and linked (saves ~100k for R3000 kernels!) o removed a lot of indirect function calls o removed Ralf's "cowboy patch" o added sanity check for DECstations (print warning if the kernel is configured for the wrong CPU)
* The remaining R3000 changes. From now on the CVS will be R3000 aware. R3000 ↵Harald Koerfgen1999-07-261-4/+149
| | | | Indigo anyone? :-)
* Merge, cleanup, typo fixes.Ralf Baechle1999-06-231-2/+2
|
* Merge with Linux 2.2.8.Ralf Baechle1999-06-131-3/+3
|
* Spelling fixes from Alan Cox.Ralf Baechle1999-05-011-2/+2
|
* Acessing emtpy TURBOchannel slots always causes a dbe exception, keep silent.Harald Koerfgen1999-04-121-3/+2
|
* The Oops messages are now much improved, you may run them through ksymoopsUlf Carlsson1998-10-311-48/+73
| | | | | | now. Let's hope I don't break anything :) - Ulf
* o Make it work on CPUs with 128 byte cachelines.Ralf Baechle1998-10-141-32/+13
| | | | | | | | | o Implement handlers for VCEI / VCED exceptions. Install them only on SC / MC versions of the R4000 and R4400 which saves us four instructions per exception on other CPUs. o Print the number of VCED / VCEI exceptions in /proc/cpuinfo, iff available. o Many performance fixes for the SC / MC versions of R4000 and R4400.
* o Merge with Linux 2.1.116.Ralf Baechle1998-08-251-35/+14
| | | | | o New Newport console code. o New G364 console code.
* - Reformat ptrace.c for readability.Ralf Baechle1998-07-161-4/+16
| | | | | | | | | | | | | | - Handle lazy fpu context switches correctly for ptrace(2). - Don't read $fcr31 on context switch, it's pure bloat. - New processes get $fcr31 initialized to no exceptions. - First beginnings of floating point support kernel code. For now we only can handle cvt.w.s and cvt.w.d instructions where the source register is a NaN, infinity or denorm. This is good enough to get Mozilla up. - Don't send SIGFPE on every floating point instruction we don't know how to handle, rather just complain. - Cleanup headerfile inclusions in the HPC3 code. - Fix the definition of PAGE_NONE.
* o Support for the front panel on the Indy. The panel work now as aRalf Baechle1998-07-101-33/+14
| | | | | | | | | | | | | | | | | | | | | | | | | user would expect it to work, like under IRIX with the exception that the machine doesn't freeze solid as long as the button is pressed. o Realtime clock driver (CONFIG_SGI_DS1286) for the Indy. Includes /proc/rtc interface which tells you everything about your RTC which you never wanted to know. You have to configure this driver into your kernel or you won't be able to set your RTC. o Some cleanup of the RTC interfaces in Linux, RTC does no longer mean PC-style RTC. The userland interface definitions are now in <linux/rtc.h>. We still need some more cleanup until we can enable several RTC drivers. o Virtual aliasing fixes for ptrace(2). o Add ptrace(2) interface definitions needed to build GDB to <asm/ptrace.h>. o Revert to some older routines, the newer optimized ones are buggy. o On panic the Indy LED will be blinking fast crying to the admin passing by [music from Rocky Horror show] ``fix me, fix me, fix me''. o On panic the power button will only reboot the machine, not power it down. That's probably more what people want it to do. o Remove some old files. o Did I tell you that CVS is buggy?
* o Merge with Linux 2.1.100.Ralf Baechle1998-06-301-6/+2
| | | | | | | | | | | | | | | | | | o Cleanup the machine dependencies of floppy and rtc. The driver for the Dallas thingy in the Indy is still missing. o Handle allocation of zero'd pages correct for R4000SC / R4400SC. o Page colouring shit to match the virtual and physical colour of all mapped pages. This tends to produce extreme fragmentation problems, so it's deactivated for now. Users of R4000SC / R4400SC may re-enable the code in arch/mips/mm/init.c by removing the definition of CONF_GIVE_A_SHIT_ABOUT_COLOURS. Should get them somewhat further - but don't shake to hard ... o Fixed ptrace(2)-ing of syscalls, strace is now working again. o Fix the interrupt forwarding from the keyboard driver to the psaux driver, PS/2 mice are now working on the Indy. The fix is somewhat broken as it prevents generic kernels for Indy and machines which handle things different. o Things I can't remember.
* o New memset. Fastest in town for size > 6 bytes.Ralf Baechle1998-05-041-16/+8
| | | | | | | | | | | | | | | | | | | | | | | o New clear_user. o Memcpy now efficiently copies the (src^dest)&3 != 0. o Memmove new correctly deals with overlaps o Rewrite csum_partial in assembler. o Rewrte csum_partial_from_user in assembler. o __copy_user is now integrated with memcpy. o get_user now returns a zero value on error. o copy_from_user now clears the destination buffer on error. o strncpy_user now has a more efficient caller routine. o strlen_user now has a more efficient caller routines and is faster. o The unaligned handler is now much cleaner. It's now also save from interrupt. Some more esotheric bugs fixed as well. o Don't export bcopy anymore, it's now a inline function. o Delete ancient junk from the first days of Linux/MIPS. o Delete dead code in indy_sc.c. o Including the IDE driver doesn't crash an Indy anymore. o Eleminate active_ds. We now use current_ds directly in the thread structure which is faster and threadsafe. Saves almost 2kb on the kernel. o Serial console should work again.
* o Merge with Linux 2.1.91.Ralf Baechle1998-04-051-10/+36
| | | | | | | | | o First round of bugfixes for the SC/MC CPUs. o FPU context switch fixes. o Lazy context switches. o Faster syscalls. o Removed dead code. o Shitloads of other things I forgot ...
* o Speedup syscalls. Now 816ns per syscall. Yes, nanoseconds and goodbyeRalf Baechle1998-03-271-4/+8
| | | | | | | | | | Pentium :-) o Little bit smarter handling of unimplemented exceptions. o Fix FPU context switches. o Fix reboot / halt. Powerdown in software still doesn't work. o Fix the fix for handling of return values of interrupted syscalls. o Handling of the Indy second level cache now works as spec'ed. Purely cosmentic, this was not causing any problems.
* o Fix handling of interrupted syscalls.Ralf Baechle1998-03-221-23/+22
| | | | | | | | | | | | o Just count missed heartbeats on Indys but don't print a messages. This was a bug by itself. o Fix a crash in exit_mmap(). o Fix scanmem(). o Fix clear_active_bh(), a ~ was missing causing weak performance. o Remove experimental cache instructions from stackframe.h. It wasn't improving performance as I was hoping. o Shrink the size of the exception handler routines in uaccess.h. o Cleanup, remove dead code in various files.
* Look Ma' what I found on my harddisk ...Ralf Baechle1998-03-171-10/+1
| | | | | | | o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
* Merge with Linux 2.1.72, part 1.Ralf Baechle1997-12-161-4/+3
|
* Part #2 merging back my changes ...Ralf Baechle1997-12-011-11/+49
|