15 years agoHandle mtc0 - tlb write hazard for VR5432.
Ralf Baechle [Mon, 29 Aug 2005 16:49:55 +0000]
Handle mtc0 - tlb write hazard for VR5432.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMake static what ought to be static.
Maciej W. Rozycki [Fri, 26 Aug 2005 13:36:42 +0000]
Make static what ought to be static.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoSprinkle a few more .set mipsX over xchg to make sure we dont' end up with
Ralf Baechle [Thu, 25 Aug 2005 16:22:09 +0000]
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>

15 years agoGet rid of a bunch of debug serial routines. Use prom_printf instead.
Pete Popov [Tue, 23 Aug 2005 00:22:48 +0000]
Get rid of a bunch of debug serial routines. Use prom_printf instead.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoRemove workaround for binutils 2.15 assembler bug; this version is not
Ralf Baechle [Fri, 19 Aug 2005 14:29:15 +0000]
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>

15 years agoDrop might_sleep() calls from get_user() & co. This should fix the issue
Ralf Baechle [Wed, 17 Aug 2005 17:57:34 +0000]
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>

15 years agoVirtual SMP support for the 34K.
Ralf Baechle [Wed, 17 Aug 2005 17:44:08 +0000]
Virtual SMP support for the 34K.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMT bulletproofing.
Ralf Baechle [Wed, 17 Aug 2005 13:44:26 +0000]
MT bulletproofing.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoOn CONFIG_64BIT_PHYS_ADDR, pfn always fits in 'unsigned long', but
Ralf Baechle [Wed, 17 Aug 2005 10:11:10 +0000]
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>

15 years agoFix parenthesis in macros.
Ralf Baechle [Wed, 17 Aug 2005 10:03:03 +0000]
Fix parenthesis in macros.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDo the timer interrupt only once on CPU 0 ...
Ralf Baechle [Tue, 16 Aug 2005 18:11:07 +0000]
Do the timer interrupt only once on CPU 0 ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDefine cpu_icache_snoops_remote_store. This is slight abuse of something
Ralf Baechle [Tue, 16 Aug 2005 17:54:41 +0000]
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>

15 years agoAdd a few simple error checks to tlb dumper.
Ralf Baechle [Tue, 16 Aug 2005 17:47:00 +0000]
Add a few simple error checks to tlb dumper.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoReindent dump_tlb.c.
Ralf Baechle [Tue, 16 Aug 2005 17:06:48 +0000]
Reindent dump_tlb.c.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoAdd missing space.
Ralf Baechle [Tue, 16 Aug 2005 16:54:12 +0000]
Add missing space.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDisplay presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo.
Ralf Baechle [Tue, 16 Aug 2005 16:39:15 +0000]
Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDelete old junk.
Ralf Baechle [Tue, 16 Aug 2005 16:10:18 +0000]
Delete old junk.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoSpelling fix.
Ralf Baechle [Tue, 16 Aug 2005 15:46:05 +0000]
Spelling fix.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoSupport for CoreFPGA-3.
Ralf Baechle [Tue, 16 Aug 2005 15:44:06 +0000]
Support for CoreFPGA-3.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoImplement get_system_type() for Qemu to get procfs-enabled kernels to
Ralf Baechle [Mon, 15 Aug 2005 11:24:34 +0000]
Implement get_system_type() for Qemu to get procfs-enabled kernels to
link.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoA little more Kconfig untangeling.
Ralf Baechle [Wed, 10 Aug 2005 15:17:11 +0000]
A little more Kconfig untangeling.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoInlining will result in back-to-back mtc0 mfc0 instructions. Break the
Ralf Baechle [Tue, 9 Aug 2005 15:23:49 +0000]
Inlining will result in back-to-back mtc0 mfc0 instructions.  Break the
hazard by using back_to_back_c0_hazard().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoUse pr_debug instead of homegrown debug print macros.
Ralf Baechle [Mon, 8 Aug 2005 12:42:26 +0000]
Use pr_debug instead of homegrown debug print macros.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoSend CONFIG_VTAG_ICACHE back into it's cold grave.
Ralf Baechle [Fri, 5 Aug 2005 14:50:35 +0000]
Send CONFIG_VTAG_ICACHE back into it's cold grave.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoGet rid of the nonsense in the CONFIG_CPU_HAS_PREFETCH block.
Ralf Baechle [Fri, 5 Aug 2005 14:28:54 +0000]
Get rid of the nonsense in the CONFIG_CPU_HAS_PREFETCH block.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agosys is only used for native o32 ...
Ralf Baechle [Fri, 5 Aug 2005 10:31:47 +0000]
sys is only used for native o32 ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoR4600 has 32 FPRs.
Thiemo Seufer [Wed, 27 Jul 2005 21:48:12 +0000]
R4600 has 32 FPRs.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoSupport for Toshiba's RBHMA4500 eval board for the TX4938.
Ralf Baechle [Mon, 25 Jul 2005 22:45:45 +0000]
Support for Toshiba's RBHMA4500 eval board for the TX4938.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoVoid functions shouldn't return values
Ladislav Michl [Sat, 23 Jul 2005 22:54:52 +0000]
Void functions shouldn't return values

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agocommit 1858f72fa2e2f63e62114a9bd40c8e68468d8c5e
Ralf Baechle [Fri, 22 Jul 2005 05:46:02 +0000]
commit 1858f72fa2e2f63e62114a9bd40c8e68468d8c5e
Author: Ralf Baechle <ralf@linux-mips.org>
Date:   Fri Jul 22 05:46:02 2005 +0000

New build target vmlinux.bin build raw binary image for Qemu.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoAu1x PM fixes.
Pete Popov [Tue, 19 Jul 2005 07:05:36 +0000]
Au1x PM fixes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDrop IP27 support for Qlogic ISP. This driver is buggy and has been
Ralf Baechle [Fri, 15 Jul 2005 16:32:34 +0000]
Drop IP27 support for Qlogic ISP.  This driver is buggy and has been
obsoleted by the qla1280 after the recent fixes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMake sure that the processor is actually online or die spectacularly.
Ralf Baechle [Fri, 15 Jul 2005 15:44:02 +0000]
Make sure that the processor is actually online or die spectacularly.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoAvoid SMP cacheflushes. This is a minor optimization of startup but
Ralf Baechle [Fri, 15 Jul 2005 15:23:23 +0000]
Avoid SMP cacheflushes.  This is a minor optimization of startup but
will also avoid smp_call_function from doing stupid things when called
from a CPU that is not yet marked online.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoPhilips PNX8550 support: MIPS32-like core with 2 Trimedias on it.
Pete Popov [Thu, 14 Jul 2005 17:47:57 +0000]
Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMore AP / SP bits for the 34K, the Malta bits and things. Still wants
Ralf Baechle [Thu, 14 Jul 2005 15:57:16 +0000]
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>

15 years agoCleanups.
Ralf Baechle [Thu, 14 Jul 2005 13:25:05 +0000]
Cleanups.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMove Origin crapola into a machine-specific header file.
Ralf Baechle [Thu, 14 Jul 2005 09:42:32 +0000]
Move Origin crapola into a machine-specific header file.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoPrevent gcc from optimizing a few functions away completly.
Ralf Baechle [Thu, 14 Jul 2005 07:39:46 +0000]
Prevent gcc from optimizing a few functions away completly.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDetect the MIPS R2 vectored interrupt, external interrupt controller
Ralf Baechle [Thu, 14 Jul 2005 07:34:18 +0000]
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>

15 years agoMacros to access the register of processors using the new MIPS
Ralf Baechle [Thu, 14 Jul 2005 07:30:27 +0000]
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

15 years agoFix the fixup_bigphys_addr compile problem.
Pete Popov [Thu, 14 Jul 2005 00:17:05 +0000]
Fix the fixup_bigphys_addr compile problem.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoRemoved __ilog2 since it's no longer needed and conflicts with the
Pete Popov [Thu, 14 Jul 2005 00:16:06 +0000]
Removed __ilog2 since it's no longer needed and conflicts with the
generic one.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoA few more macros to access MIPS R2 architecture registers.
Ralf Baechle [Wed, 13 Jul 2005 19:47:28 +0000]
A few more macros to access MIPS R2 architecture registers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoNew kernel option nowait allows disabling the use of the wait instruction.
Ralf Baechle [Wed, 13 Jul 2005 19:22:45 +0000]
New kernel option nowait allows disabling the use of the wait instruction.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoUse an irq_enable_hazard hazard barrier in unmask_mips_irq. This
Ralf Baechle [Wed, 13 Jul 2005 18:20:33 +0000]
Use an irq_enable_hazard hazard barrier in unmask_mips_irq.  This
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 <ralf@linux-mips.org>

15 years agoAdd EF_MIPS_ARCH_32R2 and EF_MIPS_ARCH_64R2 for tagging of R2 binaries.
Ralf Baechle [Wed, 13 Jul 2005 17:58:20 +0000]
Add EF_MIPS_ARCH_32R2 and EF_MIPS_ARCH_64R2 for tagging of R2 binaries.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoAdd a few more SHN_MIPS_* symbols from glibc.
Ralf Baechle [Wed, 13 Jul 2005 17:56:24 +0000]
Add a few more SHN_MIPS_* symbols from glibc.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoAdd inotify syscalls for MIPS.
Ralf Baechle [Wed, 13 Jul 2005 11:48:45 +0000]
Add inotify syscalls for MIPS.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMark a few variables __read_mostly.
Ralf Baechle [Wed, 13 Jul 2005 11:48:45 +0000]
Mark a few variables __read_mostly.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMIPS R2 instruction hazard handling.
Ralf Baechle [Tue, 12 Jul 2005 18:35:38 +0000]
MIPS R2 instruction hazard handling.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDetect the 34K.
Ralf Baechle [Tue, 12 Jul 2005 16:12:05 +0000]
Detect the 34K.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoGenerate code for MIPS32 / MIPS64 Release 2 if configured for one of
Ralf Baechle [Tue, 12 Jul 2005 14:56:53 +0000]
Generate code for MIPS32 / MIPS64 Release 2 if configured for one of
these architectures.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoUse ei / di MIPS32 R2 instructions if available.
Ralf Baechle [Tue, 12 Jul 2005 14:54:31 +0000]
Use ei / di MIPS32 R2 instructions if available.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMIPS 32/64 R2 config option.
Ralf Baechle [Tue, 12 Jul 2005 14:51:22 +0000]
MIPS 32/64 R2 config option.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoUse clz / dclz on MIPS32 / MIPS64 processors.
Ralf Baechle [Tue, 12 Jul 2005 12:50:30 +0000]
Use clz / dclz on MIPS32 / MIPS64 processors.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoIn pcibios_enable_resources go back to handling all PCI_NUM_RESOURCES
Ralf Baechle [Tue, 12 Jul 2005 09:18:53 +0000]
In pcibios_enable_resources go back to handling all PCI_NUM_RESOURCES
resources.  We tried previous but ran into problems ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoUse Kconfig.preempt.
Ralf Baechle [Mon, 11 Jul 2005 20:45:51 +0000]
Use Kconfig.preempt.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDefine kmap_atomic_pfn() for MIPS.
Ralf Baechle [Mon, 11 Jul 2005 20:45:51 +0000]
Define kmap_atomic_pfn() for MIPS.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoSetup_frame is now returning a success value.
Ralf Baechle [Mon, 11 Jul 2005 20:45:51 +0000]
Setup_frame is now returning a success value.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoTemporary hack for Qemu and MIPSsim until they get a proper ELF loader.
Ralf Baechle [Mon, 11 Jul 2005 11:53:44 +0000]
Temporary hack for Qemu and MIPSsim until they get a proper ELF loader.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoFix endianess bugs.
Ralf Baechle [Mon, 11 Jul 2005 10:37:51 +0000]
Fix endianess bugs.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDate: Fri Jul 8 20:10:17 2005 +0000
Ralf Baechle [Fri, 8 Jul 2005 20:10:17 +0000]
Date:   Fri Jul 8 20:10:17 2005 +0000

Those literals are long.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoProtect noat assembly with .set push/pop and make it somewhat readable.
Thiemo Seufer [Fri, 8 Jul 2005 09:17:05 +0000]
Protect noat assembly with .set push/pop and make it somewhat readable.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>

15 years agoFix get_saved_sp for 64bit address space. Simplify set_save_sp.
Thiemo Seufer [Fri, 8 Jul 2005 08:03:48 +0000]
Fix get_saved_sp for 64bit address space. Simplify set_save_sp.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>

15 years agoIP30 Identification.
Thiemo Seufer [Fri, 8 Jul 2005 07:36:51 +0000]
IP30 Identification.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>

15 years ago... and it isn't a canonicalized triplet but just the n-plet used to
Thiemo Seufer [Thu, 7 Jul 2005 11:42:49 +0000]
... and it isn't a canonicalized triplet but just the n-plet used to
configure gcc.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>

15 years agoGrep deesn't like shell-style matching...
Thiemo Seufer [Thu, 7 Jul 2005 11:18:49 +0000]
Grep deesn't like shell-style matching...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>

15 years agoHack to make compiles for the other endianness easier.
Thiemo Seufer [Thu, 7 Jul 2005 09:19:31 +0000]
Hack to make compiles for the other endianness easier.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>

15 years agoRename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1.
Ralf Baechle [Wed, 6 Jul 2005 12:08:11 +0000]
Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDon't redeclare ll_local_timer_interrupt.
Ralf Baechle [Wed, 6 Jul 2005 10:43:52 +0000]
Don't redeclare ll_local_timer_interrupt.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoBrian Murphy says:
Thiemo Seufer [Sun, 3 Jul 2005 19:16:13 +0000]
Brian Murphy says:
    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>

15 years agoCode cleanup, thanks Brian Murphy.
Thiemo Seufer [Sun, 3 Jul 2005 19:12:05 +0000]
Code cleanup, thanks Brian Murphy.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>

15 years agoUse physical addresses at the interface level, letting drivers remap
Maciej W. Rozycki [Fri, 1 Jul 2005 16:10:40 +0000]
Use physical addresses at the interface level, letting drivers remap
them as appropriate.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoPrevent 64-bit constants from being cropped to 32 bits when used in C code.
Maciej W. Rozycki [Thu, 30 Jun 2005 16:10:04 +0000]
Prevent 64-bit constants from being cropped to 32 bits when used in C code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoAvoid tlbw* hazards for the R4600/R4700/R5000.
Maciej W. Rozycki [Thu, 30 Jun 2005 10:51:01 +0000]
Avoid tlbw* hazards for the R4600/R4700/R5000.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoInline ioremap() calls for constant addresses that map to KSEG1.
Maciej W. Rozycki [Thu, 30 Jun 2005 10:48:40 +0000]
Inline ioremap() calls for constant addresses that map to KSEG1.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoAvoid defining variables in the middle of a block which breaks older
Ralf Baechle [Thu, 30 Jun 2005 09:42:00 +0000]
Avoid defining variables in the middle of a block which breaks older
compilers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMore .set to keep 32-bit processors happy.
Ralf Baechle [Wed, 29 Jun 2005 13:35:19 +0000]
More .set to keep 32-bit processors happy.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoFix the diagnostic dump for the XTLB refill handler.
Maciej W. Rozycki [Wed, 29 Jun 2005 10:43:51 +0000]
Fix the diagnostic dump for the XTLB refill handler.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoFix a diagnostic message.
Maciej W. Rozycki [Wed, 29 Jun 2005 10:24:21 +0000]
Fix a diagnostic message.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoConversion to plat_setup() for TX4927 also.
Ralf Baechle [Mon, 27 Jun 2005 22:07:43 +0000]
Conversion to plat_setup() for TX4927 also.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoUsing get_nasid() to find the console node will blow up nicely if
Ralf Baechle [Mon, 27 Jun 2005 08:34:27 +0000]
Using get_nasid() to find the console node will blow up nicely if
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>

15 years agoAlways use ".set mips3" rather than select between "mips2" or "mips3"
Maciej W. Rozycki [Thu, 23 Jun 2005 15:57:15 +0000]
Always use ".set mips3" rather than select between "mips2" or "mips3"
for assembling ll/sc sequences to avoid problems with 64-bit
configurations.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoActual handlers for bus errors for Pmax and 3min.
Maciej W. Rozycki [Wed, 22 Jun 2005 20:58:45 +0000]
Actual handlers for bus errors for Pmax and 3min.

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

15 years agoSystem-specific handling of bus errors for DECstation variations
Maciej W. Rozycki [Wed, 22 Jun 2005 20:56:26 +0000]
System-specific handling of bus errors for DECstation variations
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>

15 years agoUse correct names for bits in the R3k cp0.status register.
Maciej W. Rozycki [Wed, 22 Jun 2005 20:43:29 +0000]
Use correct names for bits in the R3k cp0.status register.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoGet the thing to compile again ...
Ralf Baechle [Tue, 21 Jun 2005 13:52:33 +0000]
Get the thing to compile again ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoUse macros for the RM7k cp0.config bits instead of magic numbers.
Maciej W. Rozycki [Mon, 20 Jun 2005 13:09:49 +0000]
Use macros for the RM7k cp0.config bits instead of magic numbers.
Minor clean-ups.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoFix types for firmware arguments. Don't define unneeded messages.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:50:55 +0000]
Fix types for firmware arguments.  Don't define unneeded messages.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoRemove left-over unused bits.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:49:03 +0000]
Remove left-over unused bits.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoMark __die() "noreturn" for real.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:39:12 +0000]
Mark __die() "noreturn" for real.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoFix function types to ones appropriate for initcalls.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:37:40 +0000]
Fix function types to ones appropriate for initcalls.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoGCC 4.0.0 broke `attribute(("alias"))' -- resort to an assembly variant.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:35:48 +0000]
GCC 4.0.0 broke `attribute(("alias"))' -- resort to an assembly variant.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoDeal with the bloody KSEG vs CKSEG horror...
Maciej W. Rozycki [Thu, 16 Jun 2005 20:30:54 +0000]
Deal with the bloody KSEG vs CKSEG horror...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoThere is NO port I/O space on the DECstation. Minor clean-ups.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:23:20 +0000]
There is NO port I/O space on the DECstation.  Minor clean-ups.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoRedo RM9000 workaround which along with other DSP ASE changes was
Ralf Baechle [Wed, 15 Jun 2005 13:00:12 +0000]
Redo RM9000 workaround which along with other DSP ASE changes was
causing some headache for debuggers knowing about signal frames.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoEnable a suitable ISA for the assembler around ll/sc so that code
Maciej W. Rozycki [Tue, 14 Jun 2005 17:35:03 +0000]
Enable a suitable ISA for the assembler around ll/sc so that code
builds even for processors that don't support the instructions.
Plus minor formatting fixes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoOptimize R3k TLB Load/Store/Modified handlers, by scheduling
Maciej W. Rozycki [Mon, 13 Jun 2005 20:24:00 +0000]
Optimize R3k TLB Load/Store/Modified handlers, by scheduling
delay slots properly and avoiding an unnecessary jump to a jump.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

15 years agoFill R3k load delay slots properly.
Maciej W. Rozycki [Mon, 13 Jun 2005 20:12:01 +0000]
Fill R3k load delay slots properly.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>