summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/vpe.c
Commit message (Collapse)AuthorAgeFilesLines
* [MIPS] Remove duplicate includes.Lucas Woods2008-01-291-1/+0Star
| | | | | Signed-off-by: Lucas Woods <woodzy@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] vpe: Add missing "space"Joe Perches2007-11-261-2/+2
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] vpe: handle halting TCs in an errata safe way.Nigel Stephens2007-11-161-4/+10
| | | | | | | Adds a JR.HB after halting a TC, to ensure that the TC has really halted. only modifies the TCSTATUS register when the TC is safely halted. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] vpe: Use p_paddr instead of p_vaddr loader.Ralf Baechle2007-10-291-2/+2
| | | | | | This subtle difference makes ELF overlays work. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] VPE loader: convert from struct class_ device to struct deviceKay Sievers2007-10-161-12/+15
| | | | | Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] VPE: reimplement ELF loader.Ralf Baechle2007-10-121-34/+11Star
| | | | | | | | | | Loading ELF binaries based on the section table is totally wrong. This still leaves the other fat bug of referencing symbols in an executable unfixed, so people better don't run strip on their binaries ... As added bonus the new loader is also 23 lines shorter. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] checkfiles: Fix "need space after that ','" errors.Ralf Baechle2007-10-121-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] RP: Sysfs interface for stopping RP programRalf Baechle2007-07-311-0/+18
| | | | | | The old method of attempting to load a invalid program was just too icky. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] RP: Pass number of TCs available to RP program in $2.Ralf Baechle2007-07-311-9/+73
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] MT: Enable coexistence of AP/SP with VSMP and SMTC.Ralf Baechle2007-07-311-126/+137
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Replace __attribute_used__ with __usedDavid Rientjes2007-07-241-2/+1Star
| | | | | | | | | Replaces the deprecated __attribute_used__ with __used. Also makes some style adjustments to abide by the kernel coding conventions. Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] AP/SP: Avoid triggering the 34K E125 performance issueRalf Baechle2007-07-061-4/+0Star
| | | | | | | C0_status doesn't need to be initialized at this point anyway; the register will be initialized later. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] RTLX, VPE: Make open actually atomic.Ralf Baechle2007-02-271-4/+3Star
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] mark struct file_operations const 2Arjan van de Ven2007-02-121-1/+1
| | | | | | | | | | | | Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch accidental writes at compile time to these shared resources. [akpm@osdl.org: sparc64 fix] Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* [MIPS] VPE: Sprinkle device model code into code to make udev happier.Ralf Baechle2007-02-101-1/+21
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Whitespace cleanups.Ralf Baechle2007-02-061-16/+16
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] vpe_elfload and vpe_run are only used locally, make them static.Ralf Baechle2007-02-061-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] VPE loader: Initialize lists before they're actually being used ...Ralf Baechle2007-01-241-4/+5
| | | | | | | | kspd which due to makefile order happens to be initialized before the vpe loader causes references to vpecontrol lists before they're actually been initialized. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] struct path: convert mipsJosef Sipek2006-12-081-1/+1
| | | | | | Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [MIPS] MT: Fix setting of XTC.Elizabeth Oldham2006-09-271-0/+6
| | | | | | | | XTC can only be set if VPA is clear, which it may not be. There is also the possibility of a back to back c0 register access hazard to take care of. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Don't include obsolete <linux/config.h>.Ralf Baechle2006-07-131-1/+0Star
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Cleanup inode->r_dev usage.Ralf Baechle2006-04-271-3/+3
| | | | | | | | imajor()/iminor() should be used instead of accessing r_dev directly. Based on patch from Eric Sesterhenn (snakebyte@gmx.de). Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] kpsd and other AP/SP improvements.Ralf Baechle2006-04-191-225/+434
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* MIPS: MT: Fix 32-bit dependencies.Ralf Baechle2006-01-101-4/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] Fix more "if ((err = foo() < 0))" typosAlexey Dobriyan2006-01-091-1/+2
| | | | | | | | | | | Another reason to use: ret = foo(); if (ret < 0) goto out; Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* VPE loader janitoringRalf Baechle2005-11-071-56/+44Star
| | | | | | | | | | o Switch to dynamic major o Remove duplicate SHN_MIPS_SCOMMON definition o Coding style: remove typedefs. o Coding style: reorder to avoid the need for forward declarations o Use kzalloc. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Virtual SMP support for the 34K.Ralf Baechle2005-10-291-7/+8
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* More AP / SP bits for the 34K, the Malta bits and things. Still wantsRalf Baechle2005-10-291-0/+1295
a little polishing. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>