summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1.Ralf Baechle2005-10-2918-37/+51
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Don't redeclare ll_local_timer_interrupt.Ralf Baechle2005-10-291-1/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Brian Murphy says:Thiemo Seufer2005-10-291-3/+1
| | | | | | | | 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-291-26/+24
| | | | | 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-2918-164/+149
| | | | | | them as appropriate. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Prevent 64-bit constants from being cropped to 32 bits when used in C code.Maciej W. Rozycki2005-10-291-38/+42
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Avoid tlbw* hazards for the R4600/R4700/R5000.Maciej W. Rozycki2005-10-291-1/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Inline ioremap() calls for constant addresses that map to KSEG1.Maciej W. Rozycki2005-10-295-15/+86
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Avoid defining variables in the middle of a block which breaks olderRalf Baechle2005-10-291-4/+10
| | | | | | compilers. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* More .set to keep 32-bit processors happy.Ralf Baechle2005-10-291-0/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix the diagnostic dump for the XTLB refill handler.Maciej W. Rozycki2005-10-291-1/+8
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix a diagnostic message.Maciej W. Rozycki2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Conversion to plat_setup() for TX4927 also.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Using get_nasid() to find the console node will blow up nicely ifRalf Baechle2005-10-291-1/+3
| | | | | | | | 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-294-31/+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-292-0/+338
| | | | | | | 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-299-70/+121
| | | | | | | | 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-291-26/+41
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get the thing to compile again ...Ralf Baechle2005-10-291-1/+1
| | | | 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-292-11/+16
| | | | | | 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-291-7/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove left-over unused bits.Maciej W. Rozycki2005-10-291-12/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Mark __die() "noreturn" for real.Maciej W. Rozycki2005-10-292-3/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix function types to ones appropriate for initcalls.Maciej W. Rozycki2005-10-291-3/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* GCC 4.0.0 broke `attribute(("alias"))' -- resort to an assembly variant.Maciej W. Rozycki2005-10-291-13/+15
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Deal with the bloody KSEG vs CKSEG horror...Maciej W. Rozycki2005-10-2910-26/+26
| | | | 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-291-5/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Redo RM9000 workaround which along with other DSP ASE changes wasRalf Baechle2005-10-299-86/+98
| | | | | | 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-294-32/+118
| | | | | | | 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-291-40/+30
| | | | | | 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-291-0/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Only dump instructions actually emitted.Maciej W. Rozycki2005-10-291-7/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* dec_esp: Use physical addressesMaciej W. Rozycki2005-10-291-1/+1
| | | | | | | These should really be addresses obtained with ioremap() or some bus-specific backend, but for now... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* This interrupt is *always* handled -- MIPS_BE_DISCARD just meansMaciej W. Rozycki2005-10-291-1/+1
| | | | | | no further action wanted. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix dependencies for DECstation framebuffers.Maciej W. Rozycki2005-10-291-4/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove dead code which was causing warnings.Ralf Baechle2005-10-291-3/+0
| | | | 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-291-5/+1
| | | | | | 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-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix build with CONFIG_PRINTK disabled.Ralf Baechle2005-10-291-0/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support the MIPS32 / MIPS64 DSP ASE.Ralf Baechle2005-10-2934-139/+876
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* 64-bit fixes for Alchemy code ;)Ralf Baechle2005-10-291-6/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix build for CONFIG_BUG=n. Yes, bugs are now a compile time option ;-)Ralf Baechle2005-10-291-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* When building for Atlas, Malta or SEAD convert the kernel to srecs byRalf Baechle2005-10-291-0/+12
| | | | | | default. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix tasteless #ifdef mess in audit_arch(), minor cleanups.Ralf Baechle2005-10-291-17/+12
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Bugs are now a configuration option.Ralf Baechle2005-10-291-0/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* On MIPS the struct sigev preamble is only 8 bytes.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Now that a struct is the only member left in structRalf Baechle2005-10-293-36/+34
| | | | | | 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-292-5/+0
| | | | | | | | | 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-292-5/+14
| | | | | | | 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-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>