aboutsummaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAge
* Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Don't redeclare ll_local_timer_interrupt.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Brian Murphy says:Thiemo Seufer2005-10-29
| | | | | | | | this fixes Lasat pci to work with multi-function devices by assigning the correct values based on pin number (instead of ignoring them). Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Thiemo Seufer <ths@networkno.de>
* Code cleanup, thanks Brian Murphy.Thiemo Seufer2005-10-29
| | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Thiemo Seufer <ths@networkno.de>
* Use physical addresses at the interface level, letting drivers remapMaciej W. Rozycki2005-10-29
| | | | | | them as appropriate. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Avoid tlbw* hazards for the R4600/R4700/R5000.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Inline ioremap() calls for constant addresses that map to KSEG1.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Avoid defining variables in the middle of a block which breaks olderRalf Baechle2005-10-29
| | | | | | compilers. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix the diagnostic dump for the XTLB refill handler.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix a diagnostic message.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Conversion to plat_setup() for TX4927 also.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Using get_nasid() to find the console node will blow up nicely ifRalf Baechle2005-10-29
| | | | | | | | called on a another node than the console node, so use the master_nasid instead and in the unlikely case that one isn't initialized yet, fall back to get_nasid(). Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Always use ".set mips3" rather than select between "mips2" or "mips3"Maciej W. Rozycki2005-10-29
| | | | | | | for assembling ll/sc sequences to avoid problems with 64-bit configurations. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Actual handlers for bus errors for Pmax and 3min.Maciej W. Rozycki2005-10-29
| | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> diff --git a/arch/mips/dec/kn01-berr.c b/arch/mips/dec/kn01-berr.c new file mode 100644
* System-specific handling of bus errors for DECstation variationsMaciej W. Rozycki2005-10-29
| | | | | | | | supporting parity errors only for memory (Pmax/3min/Maxine). Fixes for resources decoded by the KN04/KN05 MB ASIC. Additional clean-ups for the ECC handler. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use correct names for bits in the R3k cp0.status register.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use macros for the RM7k cp0.config bits instead of magic numbers.Maciej W. Rozycki2005-10-29
| | | | | | Minor clean-ups. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix types for firmware arguments. Don't define unneeded messages.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Mark __die() "noreturn" for real.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Deal with the bloody KSEG vs CKSEG horror...Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* There is NO port I/O space on the DECstation. Minor clean-ups.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Redo RM9000 workaround which along with other DSP ASE changes wasRalf Baechle2005-10-29
| | | | | | causing some headache for debuggers knowing about signal frames. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Enable a suitable ISA for the assembler around ll/sc so that codeMaciej W. Rozycki2005-10-29
| | | | | | | builds even for processors that don't support the instructions. Plus minor formatting fixes. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Optimize R3k TLB Load/Store/Modified handlers, by schedulingMaciej W. Rozycki2005-10-29
| | | | | | delay slots properly and avoiding an unnecessary jump to a jump. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fill R3k load delay slots properly.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Only dump instructions actually emitted.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* This interrupt is *always* handled -- MIPS_BE_DISCARD just meansMaciej W. Rozycki2005-10-29
| | | | | | no further action wanted. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* For MIPS32/MIPS64 cp0.config.mt == 1 implies a standard (R4k-style)Maciej W. Rozycki2005-10-29
| | | | | | TLB, so no need to set it separately for each implementation. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* The DbAu1500 board also support big endian. Gee, imagine that.Steven J. Hill2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support the MIPS32 / MIPS64 DSP ASE.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* 64-bit fixes for Alchemy code ;)Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* When building for Atlas, Malta or SEAD convert the kernel to srecs byRalf Baechle2005-10-29
| | | | | | default. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix tasteless #ifdef mess in audit_arch(), minor cleanups.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Now that a struct is the only member left in structRalf Baechle2005-10-29
| | | | | | mips_fpu_emulator_stats cleanup that unnecessary nesting of structs. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get rid of the eir struct mips_fpu_emulator_private member. It'sRalf Baechle2005-10-29
| | | | | | | | | never initialized been initialized anywhere, just saved to and restored from signal frames so nonsense anyway. As neat side effect of being shared between all processors it was also abusable as a nice covert channel between processes. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* __compute_return_epc() uses CFC1 instruction which might result in aRalf Baechle2005-10-29
| | | | | | | coprocessor unusable exception since the process can lose its fpu context by preemption. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* sys_nfsservctl() needs translation.Maciej W. Rozycki2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* No point in checking cpu_has_tlb before we've computed the CPU options.Ralf Baechle2005-10-29
| | | | | | | | | | 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 <ralf@linux-mips.org>
* Cleanup decoding of MIPSxx config registers.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix preemption and SMP problems in the FP emulator code.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Handle _PAGE_DIRTY correctly for CONFIG_64BIT_PHYS_ADDR on 32bit CPUs.Thiemo Seufer2005-10-29
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Better interface to run uncached cache setup code.Thiemo Seufer2005-10-29
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Ustat needs a wrapper on n32.Thiemo Seufer2005-10-29
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Useless includes of everything, the kitchen sink and version.h ...Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Arrested for multiple offences of header file inclusion.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, soRalf Baechle2005-10-29
| | | | | | we need to do the set_fs(KERNEL_DS) thing around this call. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* NPTL, round one.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix BogoMIPS display on UP and some minor cosmetical things.Ralf Baechle2005-10-29
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* fcntl64 needs to be wrapped for n32.Thiemo Seufer2005-10-29
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix one more case of computing the return EPC after the registers haveRalf Baechle2005-10-29
| | | | | | already been modified. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>