summaryrefslogtreecommitdiffstats
path: root/arch/mips
Commit message (Collapse)AuthorAgeFilesLines
...
* | [MIPS] SMP: Kill useless casts.Ralf Baechle2007-10-111-7/+7
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Kill num_online_cpus() loops.Ralf Baechle2007-10-113-16/+25
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] SMP: Implement smp_call_function_mask().Ralf Baechle2007-10-112-40/+21
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Make facility to convert CPU types to strings generally available.Ralf Baechle2007-10-113-77/+94
| | | | | | | | | | | | | | So far /proc/cpuinfo has been the only user but human readable processor name are more useful than that for proc. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] checkfiles: Fix "need space after that ','" errors.Ralf Baechle2007-10-1154-217/+225
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Fix "no space between function name and open parenthesis" warnings.Ralf Baechle2007-10-1178-378/+378
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Allow hardwiring of the CPU type to a single type for optimization.Ralf Baechle2007-10-1119-85/+85
| | | | | | | | | | | | This saves a few k on systems which only ever ship with a single CPU type. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] tlbex: Size optimize code by declaring a few functions inline.Ralf Baechle2007-10-111-4/+4
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] pg-r4k.c: Dump the generated codeMaciej W. Rozycki2007-10-111-0/+20
| | | | | | | | | | | | | | | | Dump the generated code for clear/copy page calls like it is done for TLB fault handlers. Useful for debugging. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Cobalt: Remove cobalt_machine_power_off()Yoichi Yuasa2007-10-112-11/+1
| | | | | | | | | | | | | | It's same as cobalt_machine_halt(). Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Cobalt: Move reset port definition to arch/mips/cobalt/reset.cYoichi Yuasa2007-10-111-2/+6
| | | | | | | | | | | | | | It's only used in arch/mips/cobalt/reset.c. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Cobalt: Move UART base definition to arch/mips/cobalt/console.cYoichi Yuasa2007-10-111-5/+4
| | | | | | | | | | | | | | They're only used in arch/mips/cobalt/console.c. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Cobalt: Move PCI definitions to arch/mips/pci/fixup-cobalt.c.Yoichi Yuasa2007-10-111-0/+17
| | | | | | | | | | | | | | These PCI definitions are only used in arch/mips/pci/fixup-cobalt.c. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] MTX1: Add defconfig fileFlorian Fainelli2007-10-111-0/+3115
| | | | | | | | | | Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Cobalt: Add LED support to cobalt_defconfigYoichi Yuasa2007-10-111-3/+20
| | | | | | | | | | | | | | Add LED support to cobalt_defconfig. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Cobalt: Add Qube series front LED support to platform registerYoichi Yuasa2007-10-111-1/+7
| | | | | | | | | | | | | | Add Cobalt Qube series front LED support to platform register. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Cobalt: Add Cobalt Raq LED platform register and power off triggerYoichi Yuasa2007-10-113-9/+71
| | | | | | | | | | Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Avoid indexed cacheops.Ralf Baechle2007-10-111-46/+28
| | | | | | | | | | | | | | | | On MP configurations it's highly dubious what this code will actually affect since blasting away cachelines may or may not do the right thing wrt. cache coherency. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Don't abort the build process if '-msym32' isn't supportedFranck Bui-Huu2007-10-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -msym32 and previously the strategy to tell the compiler to generate 64-bit code but the assembler to put it into 32-bit ELF was initially a hack to get around the lack of proper 64-bit binutils support and later turned into a neat optimization with significant code size savings. But it's really just an optimization so there is nothing wrong with just dropping the option (and whatever else goes along with it, I forgot all the nasty details) on the floor if due to a vintage compiler it can't be suported. Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Clockevent driver for BCM1480Ralf Baechle2007-10-111-25/+80
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Clockevent driver for BCM1250Ralf Baechle2007-10-111-21/+160
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] i8253 PIT clocksource and clockevent driversRalf Baechle2007-10-119-5/+250
| | | | | | | | | | | | Derived from the i386 variant with a few x86 complexities chopped off. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] IP27: Add clocksource driversRalf Baechle2007-10-111-3/+11
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Jazz clockevent driverRalf Baechle2007-10-112-7/+48
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Dyntick support for SMTC:Ralf Baechle2007-10-114-49/+134
| | | | | | | | | | | | | | | | | | The kernel currently only supports broadcasting of the timer interrupt from a single timer, not multicasting into two multicast groups of processors. So the implemented mechanism for SMTC works by broadcasting the cp0 compare interrupt on VPE 0 and ignoring it on any additional VPEs. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Implement clockevents for R4000-style cp0 count/compare interruptRalf Baechle2007-10-1117-194/+202
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Consolidate all variants of MIPS cp0 timer interrupt handlers.Ralf Baechle2007-10-1110-284/+80
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Switch from to_tm to rtc_time_to_tmRalf Baechle2007-10-116-56/+14
| | | | | | | | | | | | | | | | | | This replaces the MIPS-specific to_tm function with the generic rtc_time_to_tm function. The big difference between the two functions is that rtc_time_to_tm uses epoch 70 while to_tm uses 1970, so the result of rtc_time_to_tm needs to be fixed up. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Deforest the function pointer jungle in the time code.Ralf Baechle2007-10-1142-199/+110
| | | | | | | | | | | | | | Hard to follow who is pointing what to where and why so it's simply getting in the way of the time code renovation. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Use generic NTP code for all MIPS platformsRalf Baechle2007-10-113-38/+8
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Replace deprecated SA_* IRQ flags with modern IRQF_ variants.Ahmed S. Darwish2007-10-111-1/+1
| | | | | | | | | | Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] ARC: Get rid of mips_machgroupRalf Baechle2007-10-1127-57/+1
| | | | | | | | | | | | | | This has not been any serious user of this ill conceived thing since the original invention in like '95. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] ARC: Convert mach_table[] to ISO C initializers.Ralf Baechle2007-10-111-40/+48
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] dec/time.c: Remove no longer needed inclusion of <asm/div64.h>.Maciej W. Rozycki2007-10-111-1/+0
| | | | | | | | | | Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] GPIO LED driver for the WGT634U machineAurelien Jarno2007-10-112-1/+65
| | | | | | | | | | | | | | | | Add LED support to the WGT634U machine. It uses the new gpio-led driver and a platform driver for the pin definitions. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Add gpio support to the BCM47XX platformAurelien Jarno2007-10-112-1/+80
| | | | | | | | | | | | | | | | Add GPIO support to the BCM47XX platform. It will be used by a GPIO LED driver. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Add CFE support to BCM47XXAurelien Jarno2007-10-113-5/+161
| | | | | | | | | | | | | | | | | | Add CFE support to the BCM47XX code. That includes querying CFE environment variables as well as using CFE to print messages before the serial port is initialized (early printk). Signed-off-by: Aurelien Jarno <aurel32@farad.aurel32.net> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Move ARC code into arch/mips/fw/arcAurelien Jarno2007-10-1115-7/+7
| | | | | | | | | | | | | | Move the ARC code to arch/mips/fw/arc from arch/mips/arc. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Move CFE code into arch/mips/fw/cfeAurelien Jarno2007-10-1112-278/+18
| | | | | | | | | | | | | | | | Move the platform independent part of the CFE code to arch/mips/fw/cfe from arch/mips/sibyte/cfe. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Remove IP27 specific structures from struct cpuinfo_mipsRalf Baechle2007-10-112-1/+4
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Sibyte: Replace SB1 cachecode with standard R4000 class cache code.Ralf Baechle2007-10-117-555/+35
| | | | | | | | | | | | | | | | | | | | | | It may not be perfect yet but the SB1 code is badly borken and has horrible performance issues. Downside: This seriously breaks support for pass 1 parts of the BCM1250 where indexed cacheops don't work quite reliable but I seem to be the last one on the planet with a pass 1 part anyway. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Alchemy: remove useless prototypes.Ralf Baechle2007-10-111-11/+0
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Sibyte: cleanup static inline forward declarations.Ralf Baechle2007-10-112-76/+76
| | | | | | | | | | | | | | In fact there are no foward declarations at all needed when moving things into the right order. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] R3000 setup for kernel_thread()Maciej W. Rozycki2007-10-111-2/+2
| | | | | | | | | | | | | | | | Match the R4000 semantics for the initial state of interrupt/kernel status register flags for the R3000 in kernel_thread(). Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Introduce a consistent style for vmlinux.lds.Sam Ravnborg2007-10-111-150/+189
| | | | | | | | | | | | | | | | | | | | | | This style will be consitent with all other arch's - soon. In addition: - Moved a few labels inside brackets for the sections they specify to prevent that linker alignmnet made them point before the section start Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Add GT641xx IRQ routines.Yoichi Yuasa2007-10-118-109/+189
| | | | | | | | | | Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] i8295 cleanups.Yoichi Yuasa2007-10-111-6/+8
| | | | | | | | | | | | | | | | o Move i8259 function declarations to include/asm-mips/i8259.h o Make i8259.c functions static where possible. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Kill useless volatile keywordRalf Baechle2007-10-111-2/+2
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] Kill redundant EXTRA_AFLAGSAtsushi Nemoto2007-10-112-2/+0
| | | | | | | | | | | | | | | | Kill redundant EXTRA_AFLAGS added after the commit d2af363cfb94f1bacb3e60327bc44a97881a38c2. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [MIPS] PCI: Always enable CONFIG_PCI_DOMAINSRalf Baechle2007-10-111-3/+1
| | | | | | | | | | | | The cost is just too low. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
OpenPOWER on IntegriCloud