]> bbs.cooldavid.org Git - net-next-2.6.git/log
net-next-2.6.git
18 years agoConvert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK.
Ralf Baechle [Mon, 3 Oct 2005 12:41:19 +0000 (13:41 +0100)]
Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDefine and initialize kdb_lock using DEFINE_SPINLOCK.
Ralf Baechle [Mon, 3 Oct 2005 12:40:26 +0000 (13:40 +0100)]
Define and initialize kdb_lock using DEFINE_SPINLOCK.
Convert kgdb_cpulock into a raw_spinlock_t.

SPIN_LOCK_UNLOCKED is deprecated and it's replacement DEFINE_SPINLOCK is
not suitable for arrays of spinlocks.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMake kgdb_wait static.
Ralf Baechle [Mon, 3 Oct 2005 12:30:57 +0000 (13:30 +0100)]
Make kgdb_wait static.

Nothing outside gdb-stub.c uses kgdb_wait, so change it's definition to
static.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDon't copy SB1 cache error handler to uncached memory.
Ralf Baechle [Sat, 1 Oct 2005 19:22:39 +0000 (20:22 +0100)]
Don't copy SB1 cache error handler to uncached memory.

This may have made sense on a paranoid day with pass 1 BCM1250 processors
that were throwing cache error exception left and right for no good
reason.  On modern silicion that hardly makes sense and the code had
gotten just an obscurity ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoProvide 64-bit address space definitions for the Sibyte SB1 CPU core.
Ralf Baechle [Sat, 1 Oct 2005 16:34:35 +0000 (17:34 +0100)]
Provide 64-bit address space definitions for the Sibyte SB1 CPU core.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoNo need to explicitly call __read_64bit_c0_split; __read_64bit_c0_register
Ralf Baechle [Sat, 1 Oct 2005 12:14:58 +0000 (13:14 +0100)]
No need to explicitly call __read_64bit_c0_split; __read_64bit_c0_register
will do that itself iff needed.  Fix format string.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoFix stale comment in c-sb1.c.
Andrew Isaacson [Wed, 22 Jun 2005 23:02:03 +0000 (16:02 -0700)]
Fix stale comment in c-sb1.c.

Signed-Off-By: Andrew Isaacson <adi@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoCleanup the mess in cpu_cache_init.
Ralf Baechle [Sat, 1 Oct 2005 12:06:32 +0000 (13:06 +0100)]
Cleanup the mess in cpu_cache_init.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoUse cpumask_t rather than hand-rolled bitmask code in sb1250_set_affinity.
Andrew Isaacson [Wed, 22 Jun 2005 23:01:09 +0000 (16:01 -0700)]
Use cpumask_t rather than hand-rolled bitmask code in sb1250_set_affinity.

Signed-Off-By: Andrew Isaacson <adi@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoUse R4000 TLB routines for SB1 also.
Ralf Baechle [Sat, 1 Oct 2005 10:14:17 +0000 (11:14 +0100)]
Use R4000 TLB routines for SB1 also.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoFix build error caused by missmatching duplicate declaration.
Ralf Baechle [Sat, 1 Oct 2005 09:17:54 +0000 (10:17 +0100)]
Fix build error caused by missmatching duplicate declaration.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDon't call memset to clean irq_desc; these data fields have already
Ralf Baechle [Fri, 30 Sep 2005 23:03:42 +0000 (00:03 +0100)]
Don't call memset to clean irq_desc; these data fields have already
previously been initialized statically in kernel/irq/handle.c.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoFix ARCH_KMALLOC_MINALIGN values on MIPS
Ralf Baechle [Fri, 30 Sep 2005 23:00:00 +0000 (00:00 +0100)]
Fix ARCH_KMALLOC_MINALIGN values on MIPS

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoSupport for MIPSsim, the cycle accurate MIPS simulator.
Ralf Baechle [Fri, 30 Sep 2005 12:59:37 +0000 (13:59 +0100)]
Support for MIPSsim, the cycle accurate MIPS simulator.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoSwitch Sibyte profiling driver to ->compat_ioctl
Ralf Baechle [Fri, 30 Sep 2005 00:51:21 +0000 (01:51 +0100)]
Switch Sibyte profiling driver to ->compat_ioctl

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoRevise MIPS 64-bit ptrace interface
Daniel Jacobowitz [Wed, 28 Sep 2005 22:11:15 +0000 (18:11 -0400)]
Revise MIPS 64-bit ptrace interface

Change the N32 debugging ABI to something more sane, and add support
for o32 and n32 debuggers to trace n64 programs.

Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoSync c-tx39.c with c-r4k.c.
Atsushi Nemoto [Wed, 28 Sep 2005 11:24:58 +0000 (20:24 +0900)]
Sync c-tx39.c with c-r4k.c.

tx39_flush_cache_range() does nothing if !cpu_has_dc_aliases.  It should
flush d-cache and invalidate i-cache since the TX39(H2) has separate I/D
cache.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoGlue again after removal of BUILD_BUG().
Ralf Baechle [Fri, 23 Sep 2005 20:02:38 +0000 (20:02 +0000)]
Glue again after removal of BUILD_BUG().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoLet it compile again after i2c algo id removal. Sort headers.
Ladislav Michl [Fri, 23 Sep 2005 10:52:27 +0000 (10:52 +0000)]
Let it compile again after i2c algo id removal. Sort headers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoSMP on Malta needs to define ARCH_HAS_IRQ_PER_CPU since 2.6.14-rc1.
Ralf Baechle [Thu, 22 Sep 2005 14:55:21 +0000 (14:55 +0000)]
SMP on Malta needs to define ARCH_HAS_IRQ_PER_CPU since 2.6.14-rc1.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/include/asm-mips/mach-mips/irq.h b/include/asm-mips/mach-mips/irq.h
new file mode 100644

18 years agosmc91x platform support; requires patch to smc91x.h which was sent
Pete Popov [Wed, 21 Sep 2005 21:39:44 +0000 (21:39 +0000)]
smc91x platform support; requires patch to smc91x.h which was sent
upstream.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoAu1[12]00 mmc driver. Only tested on the Au1200 at this point though
Pete Popov [Wed, 21 Sep 2005 06:18:27 +0000 (06:18 +0000)]
Au1[12]00 mmc driver. Only tested on the Au1200 at this point though
it should work on the Au1100 as well. Updated defconfig to include driver.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoAdd SOCK_DCCP definition for MIPS also.
Ralf Baechle [Tue, 20 Sep 2005 13:43:51 +0000 (13:43 +0000)]
Add SOCK_DCCP definition for MIPS also.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoThe type of sum in csum_tcpudp_nofold is "unsigned int", so when we assign
Ralf Baechle [Tue, 20 Sep 2005 10:56:26 +0000 (10:56 +0000)]
The type of sum in csum_tcpudp_nofold is "unsigned int", so when we assign
to it in an asm() block, and we're running on a system with 64-bit
registers, it is vitally important that we sign extend it correctly before
returning to C.  Otherwise the stray high bits will be preserved into
csum_fold, and on the SB-1 processor, 32-bit arithmetic on a non
sign-extended register will yield surprising results.

This caused incorrect checksums in some UDP packets for NFS root.  The
problem was mild when using a 10.0.1.x IP address, but severe when
using 192.168.1.x.

Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoKernel gpio/2 routines that will be used by some drivers.
Pete Popov [Sun, 18 Sep 2005 11:18:10 +0000 (11:18 +0000)]
Kernel gpio/2 routines that will be used by some drivers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoFix a cache snooping issue.
Pete Popov [Sun, 18 Sep 2005 01:10:46 +0000 (01:10 +0000)]
Fix a cache snooping issue.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoUpdated pcmcia driver with pb1200 and db1200 support.
Pete Popov [Sat, 17 Sep 2005 00:38:10 +0000 (00:38 +0000)]
Updated pcmcia driver with pb1200 and db1200 support.
Updated db1200_defconfig so pcmcia is enabled by default.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago- moved platform structure to platform.c
Pete Popov [Thu, 15 Sep 2005 23:42:27 +0000 (23:42 +0000)]
- moved platform structure to platform.c
- fixed an iounmap warning
- export fixup_xx, needed by the module

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoFix excessive signal latencies.
Ralf Baechle [Thu, 15 Sep 2005 16:43:50 +0000 (16:43 +0000)]
Fix excessive signal latencies.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoReorder & reformat a bit.
Ralf Baechle [Thu, 15 Sep 2005 08:52:34 +0000 (08:52 +0000)]
Reorder & reformat a bit.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoUse ARCH_MAY_HAVE_PC_FDC where needed.
Ralf Baechle [Thu, 15 Sep 2005 08:52:34 +0000 (08:52 +0000)]
Use ARCH_MAY_HAVE_PC_FDC where needed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoGCC bulletproofing: __mips64 is only defined when compiling for 64-bit
Ralf Baechle [Thu, 15 Sep 2005 08:52:34 +0000 (08:52 +0000)]
GCC bulletproofing: __mips64 is only defined when compiling for 64-bit
processors.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoThe values for SO_SNDBUFFORCE / SO_RCVBUFFORCE were already taken ...
Ralf Baechle [Thu, 15 Sep 2005 08:52:34 +0000 (08:52 +0000)]
The values for SO_SNDBUFFORCE / SO_RCVBUFFORCE were already taken ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoFutexes for MIPS, for the time being only the R10000_LLSC_WAR version.
Ralf Baechle [Thu, 15 Sep 2005 08:52:34 +0000 (08:52 +0000)]
Futexes for MIPS, for the time being only the R10000_LLSC_WAR version.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDefine pcibus_to_node() for IP27.
Ralf Baechle [Thu, 15 Sep 2005 08:52:34 +0000 (08:52 +0000)]
Define pcibus_to_node() for IP27.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoCleaned up AMD Au1200 IDE driver:
Pete Popov [Thu, 15 Sep 2005 08:03:12 +0000 (08:03 +0000)]
Cleaned up AMD Au1200 IDE driver:
- converted to platform bus
- removed pci dependencies
- removed virt_to_phys/phys_to_virt calls

System now can root off of a disk.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README
new file mode 100644

18 years agoMisc au1200 updates.
Pete Popov [Wed, 14 Sep 2005 16:17:59 +0000 (16:17 +0000)]
Misc au1200 updates.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDelete the SABLE_RTL case.
Ralf Baechle [Wed, 14 Sep 2005 14:52:16 +0000 (14:52 +0000)]
Delete the SABLE_RTL case.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoWhen no yamon command line is passed to the kernel, preserve the default
Pete Popov [Tue, 13 Sep 2005 22:52:55 +0000 (22:52 +0000)]
When no yamon command line is passed to the kernel, preserve the default
compiled in command line.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoProvide MODULE_ARCH_VERMAGIC for MIPS.
Ralf Baechle [Mon, 12 Sep 2005 20:22:07 +0000 (20:22 +0000)]
Provide MODULE_ARCH_VERMAGIC for MIPS.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoAdd/Fix missing bit of R4600 hit cacheop workaround.
Thiemo Seufer [Fri, 9 Sep 2005 20:26:54 +0000 (20:26 +0000)]
Add/Fix missing bit of R4600 hit cacheop workaround.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMinor code cleanup.
Thiemo Seufer [Fri, 9 Sep 2005 19:45:41 +0000 (19:45 +0000)]
Minor code cleanup.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoR4600 v2.0 needs a nop before tlbp.
Thiemo Seufer [Fri, 9 Sep 2005 17:11:50 +0000 (17:11 +0000)]
R4600 v2.0 needs a nop before tlbp.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDon't set up a sg dma address if we have no page address for some reason.
Thiemo Seufer [Fri, 9 Sep 2005 17:09:18 +0000 (17:09 +0000)]
Don't set up a sg dma address if we have no page address for some reason.
Code cleanup.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMove MIPS Technologies processor IDs to where they belong.
Maciej W. Rozycki [Mon, 5 Sep 2005 10:31:27 +0000 (10:31 +0000)]
Move MIPS Technologies processor IDs to where they belong.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMore .set push/pop.
Thiemo Seufer [Fri, 2 Sep 2005 09:56:12 +0000 (09:56 +0000)]
More .set push/pop.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMove genrtc.c's functions into <asm/rtc.h>
Ralf Baechle [Thu, 1 Sep 2005 20:42:46 +0000 (20:42 +0000)]
Move genrtc.c's functions into <asm/rtc.h>

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoLet r4600 PRID detection match only legacy CPUs, cleanups.
Thiemo Seufer [Thu, 1 Sep 2005 18:33:58 +0000 (18:33 +0000)]
Let r4600 PRID detection match only legacy CPUs, cleanups.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDefine some more common ip22 CPU features.
Thiemo Seufer [Thu, 1 Sep 2005 09:02:08 +0000 (09:02 +0000)]
Define some more common ip22 CPU features.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoTypo fix.
Thiemo Seufer [Thu, 1 Sep 2005 09:00:51 +0000 (09:00 +0000)]
Typo fix.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMore .set push/pop encapsulation, more eyefriendly code formatting.
Thiemo Seufer [Thu, 1 Sep 2005 08:59:55 +0000 (08:59 +0000)]
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>
18 years agoFix MAP_BASE for 64bit ip22.
Thiemo Seufer [Thu, 1 Sep 2005 08:56:18 +0000 (08:56 +0000)]
Fix MAP_BASE for 64bit ip22.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoIP22 EISA support update.
Thiemo Seufer [Wed, 31 Aug 2005 15:55:16 +0000 (15:55 +0000)]
IP22 EISA support update.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoHandle mtc0 - tlb write hazard for VR5432.
Ralf Baechle [Mon, 29 Aug 2005 16:49:55 +0000 (16:49 +0000)]
Handle mtc0 - tlb write hazard for VR5432.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMake static what ought to be static.
Maciej W. Rozycki [Fri, 26 Aug 2005 13:36:42 +0000 (13:36 +0000)]
Make static what ought to be static.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 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 (16:22 +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>
18 years agoGet rid of a bunch of debug serial routines. Use prom_printf instead.
Pete Popov [Tue, 23 Aug 2005 00:22:48 +0000 (00:22 +0000)]
Get rid of a bunch of debug serial routines. Use prom_printf instead.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoRemove workaround for binutils 2.15 assembler bug; this version is not
Ralf Baechle [Fri, 19 Aug 2005 14:29:15 +0000 (14:29 +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>
18 years agoDrop might_sleep() calls from get_user() & co. This should fix the issue
Ralf Baechle [Wed, 17 Aug 2005 17:57:34 +0000 (17:57 +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>
18 years agoVirtual SMP support for the 34K.
Ralf Baechle [Wed, 17 Aug 2005 17:44:08 +0000 (17:44 +0000)]
Virtual SMP support for the 34K.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMT bulletproofing.
Ralf Baechle [Wed, 17 Aug 2005 13:44:26 +0000 (13:44 +0000)]
MT bulletproofing.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoOn CONFIG_64BIT_PHYS_ADDR, pfn always fits in 'unsigned long', but
Ralf Baechle [Wed, 17 Aug 2005 10:11:10 +0000 (10:11 +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>
18 years agoFix parenthesis in macros.
Ralf Baechle [Wed, 17 Aug 2005 10:03:03 +0000 (10:03 +0000)]
Fix parenthesis in macros.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDo the timer interrupt only once on CPU 0 ...
Ralf Baechle [Tue, 16 Aug 2005 18:11:07 +0000 (18:11 +0000)]
Do the timer interrupt only once on CPU 0 ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDefine cpu_icache_snoops_remote_store. This is slight abuse of something
Ralf Baechle [Tue, 16 Aug 2005 17:54:41 +0000 (17:54 +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>
18 years agoAdd a few simple error checks to tlb dumper.
Ralf Baechle [Tue, 16 Aug 2005 17:47:00 +0000 (17:47 +0000)]
Add a few simple error checks to tlb dumper.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoReindent dump_tlb.c.
Ralf Baechle [Tue, 16 Aug 2005 17:06:48 +0000 (17:06 +0000)]
Reindent dump_tlb.c.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoAdd missing space.
Ralf Baechle [Tue, 16 Aug 2005 16:54:12 +0000 (16:54 +0000)]
Add missing space.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDisplay presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo.
Ralf Baechle [Tue, 16 Aug 2005 16:39:15 +0000 (16:39 +0000)]
Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDelete old junk.
Ralf Baechle [Tue, 16 Aug 2005 16:10:18 +0000 (16:10 +0000)]
Delete old junk.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoSpelling fix.
Ralf Baechle [Tue, 16 Aug 2005 15:46:05 +0000 (15:46 +0000)]
Spelling fix.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoSupport for CoreFPGA-3.
Ralf Baechle [Tue, 16 Aug 2005 15:44:06 +0000 (15:44 +0000)]
Support for CoreFPGA-3.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoImplement get_system_type() for Qemu to get procfs-enabled kernels to
Ralf Baechle [Mon, 15 Aug 2005 11:24:34 +0000 (11:24 +0000)]
Implement get_system_type() for Qemu to get procfs-enabled kernels to
link.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoA little more Kconfig untangeling.
Ralf Baechle [Wed, 10 Aug 2005 15:17:11 +0000 (15:17 +0000)]
A little more Kconfig untangeling.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoInlining will result in back-to-back mtc0 mfc0 instructions. Break the
Ralf Baechle [Tue, 9 Aug 2005 15:23:49 +0000 (15:23 +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>
18 years agoUse pr_debug instead of homegrown debug print macros.
Ralf Baechle [Mon, 8 Aug 2005 12:42:26 +0000 (12:42 +0000)]
Use pr_debug instead of homegrown debug print macros.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoSend CONFIG_VTAG_ICACHE back into it's cold grave.
Ralf Baechle [Fri, 5 Aug 2005 14:50:35 +0000 (14:50 +0000)]
Send CONFIG_VTAG_ICACHE back into it's cold grave.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoGet rid of the nonsense in the CONFIG_CPU_HAS_PREFETCH block.
Ralf Baechle [Fri, 5 Aug 2005 14:28:54 +0000 (14:28 +0000)]
Get rid of the nonsense in the CONFIG_CPU_HAS_PREFETCH block.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agosys is only used for native o32 ...
Ralf Baechle [Fri, 5 Aug 2005 10:31:47 +0000 (10:31 +0000)]
sys is only used for native o32 ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoR4600 has 32 FPRs.
Thiemo Seufer [Wed, 27 Jul 2005 21:48:12 +0000 (21:48 +0000)]
R4600 has 32 FPRs.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoSupport for Toshiba's RBHMA4500 eval board for the TX4938.
Ralf Baechle [Mon, 25 Jul 2005 22:45:45 +0000 (22:45 +0000)]
Support for Toshiba's RBHMA4500 eval board for the TX4938.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoVoid functions shouldn't return values
Ladislav Michl [Sat, 23 Jul 2005 22:54:52 +0000 (22:54 +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>
18 years agocommit 1858f72fa2e2f63e62114a9bd40c8e68468d8c5e
Ralf Baechle [Fri, 22 Jul 2005 05:46:02 +0000 (05:46 +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>
18 years agoAu1x PM fixes.
Pete Popov [Tue, 19 Jul 2005 07:05:36 +0000 (07:05 +0000)]
Au1x PM fixes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDrop IP27 support for Qlogic ISP. This driver is buggy and has been
Ralf Baechle [Fri, 15 Jul 2005 16:32:34 +0000 (16:32 +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>
18 years agoMake sure that the processor is actually online or die spectacularly.
Ralf Baechle [Fri, 15 Jul 2005 15:44:02 +0000 (15:44 +0000)]
Make sure that the processor is actually online or die spectacularly.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoAvoid SMP cacheflushes. This is a minor optimization of startup but
Ralf Baechle [Fri, 15 Jul 2005 15:23:23 +0000 (15: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>
18 years agoPhilips PNX8550 support: MIPS32-like core with 2 Trimedias on it.
Pete Popov [Thu, 14 Jul 2005 17:47:57 +0000 (17:47 +0000)]
Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 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 (15:57 +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>
18 years agoCleanups.
Ralf Baechle [Thu, 14 Jul 2005 13:25:05 +0000 (13:25 +0000)]
Cleanups.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMove Origin crapola into a machine-specific header file.
Ralf Baechle [Thu, 14 Jul 2005 09:42:32 +0000 (09:42 +0000)]
Move Origin crapola into a machine-specific header file.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoPrevent gcc from optimizing a few functions away completly.
Ralf Baechle [Thu, 14 Jul 2005 07:39:46 +0000 (07:39 +0000)]
Prevent gcc from optimizing a few functions away completly.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoDetect the MIPS R2 vectored interrupt, external interrupt controller
Ralf Baechle [Thu, 14 Jul 2005 07:34:18 +0000 (07:34 +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>
18 years agoMacros to access the register of processors using the new MIPS
Ralf Baechle [Thu, 14 Jul 2005 07:30:27 +0000 (07:30 +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

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoRemoved __ilog2 since it's no longer needed and conflicts with the
Pete Popov [Thu, 14 Jul 2005 00:16:06 +0000 (00:16 +0000)]
Removed __ilog2 since it's no longer needed and conflicts with the
generic one.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoA few more macros to access MIPS R2 architecture registers.
Ralf Baechle [Wed, 13 Jul 2005 19:47:28 +0000 (19:47 +0000)]
A few more macros to access MIPS R2 architecture registers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoNew kernel option nowait allows disabling the use of the wait instruction.
Ralf Baechle [Wed, 13 Jul 2005 19:22:45 +0000 (19:22 +0000)]
New kernel option nowait allows disabling the use of the wait instruction.

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