summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix zero length sys_cacheflushAtsushi Nemoto2005-10-291-0/+2
| | | | | | | | | Cacheflush(0, 0, 0) was crashing the system. This is because flush_icache_range(start, end) tries to flushing whole address space (0 - ~0UL) if both start and end are zero. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get 64-bit right in the kgdb stub.Ralf Baechle2005-10-291-3/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Sys_lookup_dcookie arguments occupy 4 argument slots.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* FPU emulator garbage collection.Ralf Baechle2005-10-292-4/+4
| | | | | | First argument of fpu_emulator_cop1Handler() was unused. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Don't print file name and line in die and die_if_kernel.Ralf Baechle2005-10-292-23/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Rename page argument of flush_cache_page to something more descriptive.Ralf Baechle2005-10-291-16/+17
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Define EOWNERDEAD and ENOTRECOVERABLE.Ralf Baechle2005-10-291-0/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Sliceup Kconfig; it's grown too large.Ralf Baechle2005-10-2910-554/+610
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* More configcheck fixes.Ralf Baechle2005-10-293-3/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* 2.6.14-rc1 updates for MIPS compat types.Ralf Baechle2005-10-291-6/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Complete the fcntl.h cleanup.Ralf Baechle2005-10-291-10/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleanup Sibyte Kconfig a bit further.Ralf Baechle2005-10-291-14/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Date: Fri Jan 14 03:03:23 2005 +0000Ralf Baechle2005-10-291-1/+1
| | | | | | Locking cleanups. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix weirdness in <asm/bug.h>Ralf Baechle2005-10-291-3/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix wrong comment.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fixup a few lose ends in explicit support for MIPS R1/R2.Ralf Baechle2005-10-2913-50/+49
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Document the meaning of the CPU_MIPS32, CPU_MIPS64, CPU_MIPSR1 andRalf Baechle2005-10-291-0/+6
| | | | | | CPU_MIPSR2. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Protect manipulation of c0_status against preemption and multithreading.Ralf Baechle2005-10-292-12/+47
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Detect 4KSD and treat it like 4KSc.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* We're no longer hosted on oss for ages ...Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK.Ralf Baechle2005-10-295-6/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Define and initialize kdb_lock using DEFINE_SPINLOCK.Ralf Baechle2005-10-291-6/+8
| | | | | | | | | 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>
* Make kgdb_wait static.Ralf Baechle2005-10-291-1/+1
| | | | | | | Nothing outside gdb-stub.c uses kgdb_wait, so change it's definition to static. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Don't copy SB1 cache error handler to uncached memory.Ralf Baechle2005-10-291-1/+0
| | | | | | | | | 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>
* Provide 64-bit address space definitions for the Sibyte SB1 CPU core.Ralf Baechle2005-10-291-0/+10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* No need to explicitly call __read_64bit_c0_split; __read_64bit_c0_registerRalf Baechle2005-10-291-6/+1
| | | | | | will do that itself iff needed. Fix format string. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix stale comment in c-sb1.c.Andrew Isaacson2005-10-291-1/+1
| | | | | Signed-Off-By: Andrew Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleanup the mess in cpu_cache_init.Ralf Baechle2005-10-2912-88/+102
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use cpumask_t rather than hand-rolled bitmask code in sb1250_set_affinity.Andrew Isaacson2005-10-291-11/+4
| | | | | Signed-Off-By: Andrew Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use R4000 TLB routines for SB1 also.Ralf Baechle2005-10-293-388/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix build error caused by missmatching duplicate declaration.Ralf Baechle2005-10-291-1/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Don't call memset to clean irq_desc; these data fields have alreadyRalf Baechle2005-10-292-2/+0
| | | | | | previously been initialized statically in kernel/irq/handle.c. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix ARCH_KMALLOC_MINALIGN values on MIPSRalf Baechle2005-10-294-2/+34
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support for MIPSsim, the cycle accurate MIPS simulator.Ralf Baechle2005-10-2917-1/+1229
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Switch Sibyte profiling driver to ->compat_ioctlRalf Baechle2005-10-292-11/+8
| | | | | Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Revise MIPS 64-bit ptrace interfaceDaniel Jacobowitz2005-10-294-5/+222
| | | | | | | | 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>
* Sync c-tx39.c with c-r4k.c.Atsushi Nemoto2005-10-291-4/+5
| | | | | | | | | 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>
* Glue again after removal of BUILD_BUG().Ralf Baechle2005-10-291-25/+32
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Let it compile again after i2c algo id removal. Sort headers.Ladislav Michl2005-10-293-17/+14
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* SMP on Malta needs to define ARCH_HAS_IRQ_PER_CPU since 2.6.14-rc1.Ralf Baechle2005-10-291-0/+14
| | | | | | | 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
* smc91x platform support; requires patch to smc91x.h which was sentPete Popov2005-10-291-0/+28
| | | | | | upstream. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Au1[12]00 mmc driver. Only tested on the Au1200 at this point thoughPete Popov2005-10-295-0/+1166
| | | | | | it should work on the Au1100 as well. Updated defconfig to include driver. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add SOCK_DCCP definition for MIPS also.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* The type of sum in csum_tcpudp_nofold is "unsigned int", so when we assignRalf Baechle2005-10-291-1/+1
| | | | | | | | | | | | | | | 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>
* Kernel gpio/2 routines that will be used by some drivers.Pete Popov2005-10-293-1/+140
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix a cache snooping issue.Pete Popov2005-10-291-9/+17
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Updated pcmcia driver with pb1200 and db1200 support.Pete Popov2005-10-296-6/+41
| | | | | | Updated db1200_defconfig so pcmcia is enabled by default. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* - moved platform structure to platform.cPete Popov2005-10-293-7/+9
| | | | | | | - fixed an iounmap warning - export fixup_xx, needed by the module Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix excessive signal latencies.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reorder & reformat a bit.Ralf Baechle2005-10-291-15/+16
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>