summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups.Ralf Baechle2005-10-291-10/+12
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move Origin crapola into a machine-specific header file.Ralf Baechle2005-10-292-0/+77
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Detect the MIPS R2 vectored interrupt, external interrupt controllerRalf Baechle2005-10-294-48/+99
| | | | | | options and the precense of the MT ASE. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Macros to access the register of processors using the new MIPSRalf Baechle2005-10-292-0/+369
| | | | | | | | | Multithreading ASE, also know as MT ASE. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> diff --git a/include/asm-mips/mipsmtregs.h b/include/asm-mips/mipsmtregs.h new file mode 100644
* Fix the fixup_bigphys_addr compile problem.Pete Popov2005-10-292-2/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Removed __ilog2 since it's no longer needed and conflicts with thePete Popov2005-10-291-23/+0
| | | | | | generic one. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* A few more macros to access MIPS R2 architecture registers.Ralf Baechle2005-10-291-0/+28
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add EF_MIPS_ARCH_32R2 and EF_MIPS_ARCH_64R2 for tagging of R2 binaries.Ralf Baechle2005-10-291-0/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add a few more SHN_MIPS_* symbols from glibc.Ralf Baechle2005-10-291-1/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add inotify syscalls for MIPS.Ralf Baechle2005-10-291-3/+13
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* MIPS R2 instruction hazard handling.Ralf Baechle2005-10-291-0/+16
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Detect the 34K.Ralf Baechle2005-10-291-1/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use ei / di MIPS32 R2 instructions if available.Ralf Baechle2005-10-291-53/+85
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use clz / dclz on MIPS32 / MIPS64 processors.Ralf Baechle2005-10-291-22/+115
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Define kmap_atomic_pfn() for MIPS.Ralf Baechle2005-10-291-0/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix endianess bugs.Ralf Baechle2005-10-291-0/+25
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Protect noat assembly with .set push/pop and make it somewhat readable.Thiemo Seufer2005-10-291-76/+78
| | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Thiemo Seufer <ths@networkno.de>
* Fix get_saved_sp for 64bit address space. Simplify set_save_sp.Thiemo Seufer2005-10-291-5/+9
| | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Thiemo Seufer <ths@networkno.de>
* IP30 Identification.Thiemo Seufer2005-10-291-0/+1
| | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Thiemo Seufer <ths@networkno.de>
* Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1.Ralf Baechle2005-10-296-13/+13
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use physical addresses at the interface level, letting drivers remapMaciej W. Rozycki2005-10-299-68/+40
| | | | | | 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>
* Inline ioremap() calls for constant addresses that map to KSEG1.Maciej W. Rozycki2005-10-293-2/+82
| | | | 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>
* Always use ".set mips3" rather than select between "mips2" or "mips3"Maciej W. Rozycki2005-10-293-29/+27
| | | | | | | for assembling ll/sc sequences to avoid problems with 64-bit configurations. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* System-specific handling of bus errors for DECstation variationsMaciej W. Rozycki2005-10-295-51/+92
| | | | | | | | 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>
* 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-291-2/+7
| | | | | | Minor clean-ups. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Mark __die() "noreturn" for real.Maciej W. Rozycki2005-10-291-1/+1
| | | | 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-295-12/+12
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Redo RM9000 workaround which along with other DSP ASE changes wasRalf Baechle2005-10-295-29/+14
| | | | | | 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-293-28/+110
| | | | | | | builds even for processors that don't support the instructions. Plus minor formatting fixes. 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>
* 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-2920-57/+568
| | | | 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>
* 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-291-10/+8
| | | | | | 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-291-1/+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-291-2/+7
| | | | | | | coprocessor unusable exception since the process can lose its fpu context by preemption. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleanup decoding of MIPSxx config registers.Ralf Baechle2005-10-294-5/+70
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Better interface to run uncached cache setup code.Thiemo Seufer2005-10-292-0/+6
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* * use 'unsigned long' as address supplied to au_write[bwl]()Pete Popov2005-10-291-95/+32
| | | | | | | * remove two already unused and commented structures * added an ULL suffix to several address constants that use bits 35-32 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix D-cache aliasing problem in the PIO IDE driver potencially resultingRalf Baechle2005-10-291-8/+65
| | | | | | in the kernel or userspace seeing stale data. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix a few build warnings.Ralf Baechle2005-10-291-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Need to include smp.h for the definition of smp_processor_id().Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move sync into the delay slot here also.Ralf Baechle2005-10-291-6/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* NPTL, round one.Ralf Baechle2005-10-293-7/+11
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>