aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/kernel
AgeCommit message (Collapse)AuthorFilesLines
2005-10-29Detect the MIPS R2 vectored interrupt, external interrupt controllerRalf Baechle1-0/+6
options and the precense of the MT ASE. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29New kernel option nowait allows disabling the use of the wait instruction.Ralf Baechle1-0/+16
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Use an irq_enable_hazard hazard barrier in unmask_mips_irq. ThisRalf Baechle1-0/+2
hasn't been an actual bug, so it's more a change to be 100% compliant with the requirements of the architecture spec. Similar fix to mask_mips_irq where there was a slightly less theoretical chance of getting hit. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Add inotify syscalls for MIPS.Ralf Baechle4-1/+12
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Mark a few variables __read_mostly.Ralf Baechle2-7/+11
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Detect the 34K.Ralf Baechle2-0/+6
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Setup_frame is now returning a success value.Ralf Baechle4-25/+32
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Temporary hack for Qemu and MIPSsim until they get a proper ELF loader.Ralf Baechle1-0/+12
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1.Ralf Baechle3-4/+4
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Avoid defining variables in the middle of a block which breaks olderRalf Baechle1-4/+10
compilers. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Always use ".set mips3" rather than select between "mips2" or "mips3"Maciej W. Rozycki1-2/+2
for assembling ll/sc sequences to avoid problems with 64-bit configurations. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Use correct names for bits in the R3k cp0.status register.Maciej W. Rozycki1-26/+41
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Mark __die() "noreturn" for real.Maciej W. Rozycki1-2/+3
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Redo RM9000 workaround which along with other DSP ASE changes wasRalf Baechle4-57/+84
causing some headache for debuggers knowing about signal frames. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Enable a suitable ISA for the assembler around ll/sc so that codeMaciej W. Rozycki1-4/+8
builds even for processors that don't support the instructions. Plus minor formatting fixes. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29For MIPS32/MIPS64 cp0.config.mt == 1 implies a standard (R4k-style)Maciej W. Rozycki1-5/+1
TLB, so no need to set it separately for each implementation. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Support the MIPS32 / MIPS64 DSP ASE.Ralf Baechle14-82/+308
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-2964-bit fixes for Alchemy code ;)Ralf Baechle1-6/+5
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Fix tasteless #ifdef mess in audit_arch(), minor cleanups.Ralf Baechle1-17/+12
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29__compute_return_epc() uses CFC1 instruction which might result in aRalf Baechle1-3/+7
coprocessor unusable exception since the process can lose its fpu context by preemption. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29sys_nfsservctl() needs translation.Maciej W. Rozycki1-1/+1
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29No point in checking cpu_has_tlb before we've computed the CPU options.Ralf Baechle1-4/+4
So for now we just unconditionally set the option - Linux wouldn't work without a TLB anyway. Setting MIPS_CPU_4KTLB was missing for Alchemy and Sandcraft, add that back. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Cleanup decoding of MIPSxx config registers.Ralf Baechle2-44/+105
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Fix preemption and SMP problems in the FP emulator code.Ralf Baechle1-2/+17
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Ustat needs a wrapper on n32.Thiemo Seufer1-1/+1
Signed-off-by: Thiemo Seufer <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, soRalf Baechle1-0/+4
we need to do the set_fs(KERNEL_DS) thing around this call. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29NPTL, round one.Ralf Baechle11-7/+118
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Fix BogoMIPS display on UP and some minor cosmetical things.Ralf Baechle2-2/+0
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29fcntl64 needs to be wrapped for n32.Thiemo Seufer1-1/+1
Signed-off-by: Thiemo Seufer <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Fix one more case of computing the return EPC after the registers haveRalf Baechle1-1/+1
already been modified. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29When simulating ll/sc compute the return EPC before modifying theRalf Baechle1-2/+3
registers. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Detect the 4KEcR2 and for now detect handle it like the 4KEc.Ralf Baechle1-0/+4
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Fixed buglet with previous patch that broke non au1x builds.Pete Popov1-9/+7
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Remove CONFIG_PM dependency from au1x wait in cpu_probe.Pete Popov1-24/+19
Additional work necessary to completely remove that config option. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Fix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMPThiemo Seufer1-0/+1
TLB handlers a bit, match definitions in pgtable-{32,64}.h better. Signed-off-by: Thiemo Seufer <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Use compat_sigval_t in struct compat_siginfo.Ralf Baechle1-1/+1
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Reformatting, remove debugging code.Ralf Baechle1-37/+26
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Get rid of the the remains of 2.4-style ramdisk support.Ralf Baechle1-7/+0
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Multithreaded core dumps.Ralf Baechle1-0/+8
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29sys_futex has 6 arguments.Thiemo Seufer1-1/+1
Signed-off-by: Thiemo Seufer <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Export shm_align_mask and flush_data_cache_page.Ralf Baechle1-0/+3
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Gcc 4.0 fixes.Ralf Baechle1-4/+6
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Fix preemption bug.Ralf Baechle1-2/+1
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Sparseify MIPS.Ralf Baechle10-478/+489
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29On 24K we did always disable cache parity protection - obviously notRalf Baechle1-9/+5
the greatest thing to do. Try to enable parity protection, check if we actually succeeded and print a message about the outcome of this. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29ISOify.Ralf Baechle1-60/+60
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Base Au1200 2.6 support.Pete Popov2-0/+8
Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Fix 'prctl' system call for IRIX. At this point IRIX 5.3 static binariesSteven J. Hill1-33/+27
are now working for 80% of the ones I have tried. The other ones that do not work all fail in the same way with the same messages. Once that bug is tracked down, we should be in good shape. Task locking still needs some work. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Convert struct hw_interrupt_type initializations to ISO C99 namedRalf Baechle6-61/+56
initializers. Signed-off-by: Ralf Baechle <[email protected]>
2005-10-29Merge do_boot_cpu() into the new style __cpu_up().Ralf Baechle1-21/+9
Signed-off-by: Ralf Baechle <[email protected]>