summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* prom_free_prom_memory() returns unsigned longArthur Othieno2005-10-293-3/+6
| | | | | | | | | | Some boards declare prom_free_prom_memory as a void function but the caller free_initmem() expects a return value. Fix those up and return 0 instead, just like everyone else does. Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get rid of SINGLE_ONLY_FPU. Linux does not support half FPU other thanRalf Baechle2005-10-291-62/+8
| | | | | | by emulation of a full FPU. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix all the get_user / put_user related sparse warnings.Ralf Baechle2005-10-291-15/+15
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Delete unused ieee754_cname[] and declaration.Ralf Baechle2005-10-292-11/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Include for prototypes.Ralf Baechle2005-10-291-0/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Protect against multiple inclusion.Ralf Baechle2005-10-291-0/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove useless casts of kmalloc return values.Ralf Baechle2005-10-292-5/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Hack to resolve longstanding prefetch issueRalf Baechle2005-10-291-0/+15
| | | | | | | | Prefetching may be fatal on some systems if we're prefetching beyond the end of memory on some systems. It's also a seriously bad idea on non dma-coherent systems. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* More foolproofing of the CPU configuration.Ralf Baechle2005-10-291-2/+149
| | | | | | | Limit the number of cpu type options in the cpu menu to just those types that are actually available for the select platform. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* pci-expmem-hackAndrew Isaacson2005-10-291-0/+8
| | | | | | | | | | | | | | CFE 1.2.5 and earlier fails to turn on the ExpMemEn bit in the PCIFeatureControl register, which means that DMA does not work beyond physical address 01_0000_0000, ergo to DRAM beyond 1GB. With ExpMemEn turned on, 01_0000_0000-0f_ffff_ffff is mapped, so DMA works for up to 61 GB of DRAM. Will be fixed in CFE 1.2.6 (yet to be released). Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* BCM1480 HT supportAndrew Isaacson2005-10-296-17/+253
| | | | | | | PCI support code for PLX 7250 PCI-X tunnel on BCM91480B BigSur board. Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support for the BCM1480 on-chip PCI-X bridge.Andrew Isaacson2005-10-292-0/+257
| | | | | Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* SB1 cache exception handling.Andrew Isaacson2005-10-293-8/+59
| | | | | | | | Expand SB1 cache error handling by adding SB1_CEX_ALWAYS_FATAL and SB1_CEX_STALL, allowing configurable behavior on cache errors. Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support for BigSur board.Andrew Isaacson2005-10-294-0/+65
| | | | | Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add support for BCM1480 family of chips.Andrew Isaacson2005-10-2911-5/+1093
| | | | | | | | | - Kconfig and Makefile changes - arch/mips/sibyte/bcm1480/ - changes to sibyte common code to support 1480 Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add support for SB1A CPU.Andrew Isaacson2005-10-295-2/+9
| | | | | Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Sibyte header cleanupAndrew Isaacson2005-10-2914-30/+7
| | | | | | | | | Update sibyte headers to match Broadcom internal copies: - comment cleanup and updates - fix LittleSur part number to match the board silkscreen Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* BCM1480 headersAndrew Isaacson2005-10-2917-98/+3236
| | | | | | | | | | | Add header files for BCM1480/1280/1455/1255 family of chips, and update sb1250 headers which are shared by BCM1480 family. Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> diff --git a/include/asm-mips/sibyte/bcm1480_int.h b/include/asm-mips/sibyte/bcm1480_int.h new file mode 100644
* Sibyte fixesAndrew Isaacson2005-10-291-1/+1
| | | | | | | Fix typo in cpu_probe_sibyte. Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Make UL what should be UL.Ralf Baechle2005-10-292-9/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* 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>
OpenPOWER on IntegriCloud