Thiemo Seufer
2fe25f67a5
More .set push/pop encapsulation, more eyefriendly code formatting.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:14 +01:00
Thiemo Seufer
f8670e66dc
Fix MAP_BASE for 64bit ip22.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:13 +01:00
Ralf Baechle
f99d3023f3
Sprinkle a few more .set mipsX over xchg to make sure we dont' end up with
...
64-bit instructions on 32-bit processors, they tend to be unhappy about
that kind of food ;-)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:11 +01:00
Ralf Baechle
fabffc13ed
Remove workaround for binutils 2.15 assembler bug; this version is not
...
suitable to reliably build kernels anymore anyway and 2.16 has this
fixed.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:11 +01:00
Ralf Baechle
27c7c1657d
Drop might_sleep() calls from get_user() & co. This should fix the issue
...
in http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=200508171321.20094.Joshua.Wise%40sicortex.com and it's the right thing to do anyway because
it was inflating those functions way too much.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:10 +01:00
Ralf Baechle
340ee4b98c
Virtual SMP support for the 34K.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:10 +01:00
Ralf Baechle
533330bf7f
On CONFIG_64BIT_PHYS_ADDR, pfn always fits in 'unsigned long', but
...
pfn<<PAGE_SHIFT sometimes extends beyond. The pte is big enough to hold
'long long', but the shift in pfn_pte() needs to do its calculation with
enough bits to hold the result.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:09 +01:00
Ralf Baechle
0952e2905c
Fix parenthesis in macros.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:08 +01:00
Ralf Baechle
8b200ce4a6
Define cpu_icache_snoops_remote_store. This is slight abuse of something
...
which originally was meant for SMP cache managment but it can be argued
to apply on the 34K as well.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:07 +01:00
Ralf Baechle
3fd5646cac
Add missing space.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:05 +01:00
Ralf Baechle
479a0e3e02
Support for CoreFPGA-3.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:32:02 +01:00
Ralf Baechle
23fbee9dd5
Support for Toshiba's RBHMA4500 eval board for the TX4938.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:57 +01:00
Pete Popov
bdf21b18b4
Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:54 +01:00
Ralf Baechle
e01402b115
More AP / SP bits for the 34K, the Malta bits and things. Still wants
...
a little polishing.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:53 +01:00
Ralf Baechle
86071b637d
Cleanups.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:53 +01:00
Ralf Baechle
7e35952baa
Move Origin crapola into a machine-specific header file.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:52 +01:00
Ralf Baechle
8f40611d2b
Detect the MIPS R2 vectored interrupt, external interrupt controller
...
options and the precense of the MT ASE.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:51 +01:00
Ralf Baechle
699dbc90e8
Macros to access the register of processors using the new MIPS
...
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
2005-10-29 19:31:51 +01:00
Pete Popov
f10fae0240
Fix the fixup_bigphys_addr compile problem.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:50 +01:00
Pete Popov
10f6567e63
Removed __ilog2 since it's no longer needed and conflicts with the
...
generic one.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:49 +01:00
Ralf Baechle
7a0fc58cd9
A few more macros to access MIPS R2 architecture registers.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:49 +01:00
Ralf Baechle
97fb5de194
Add EF_MIPS_ARCH_32R2 and EF_MIPS_ARCH_64R2 for tagging of R2 binaries.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:47 +01:00
Ralf Baechle
f039b5d366
Add a few more SHN_MIPS_* symbols from glibc.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:47 +01:00
Ralf Baechle
7db36c858c
Add inotify syscalls for MIPS.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:47 +01:00
Ralf Baechle
cc61c1fede
MIPS R2 instruction hazard handling.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2005-10-29 19:31:46 +01:00