summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Now that a struct is the only member left in structRalf Baechle2005-10-293-36/+34
| | | | | | mips_fpu_emulator_stats cleanup that unnecessary nesting of structs. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get rid of the eir struct mips_fpu_emulator_private member. It'sRalf Baechle2005-10-292-5/+0
| | | | | | | | | never initialized been initialized anywhere, just saved to and restored from signal frames so nonsense anyway. As neat side effect of being shared between all processors it was also abusable as a nice covert channel between processes. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* __compute_return_epc() uses CFC1 instruction which might result in aRalf Baechle2005-10-292-5/+14
| | | | | | | coprocessor unusable exception since the process can lose its fpu context by preemption. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* sys_nfsservctl() needs translation.Maciej W. Rozycki2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* No point in checking cpu_has_tlb before we've computed the CPU options.Ralf Baechle2005-10-291-4/+4
| | | | | | | | | | So for now we just unconditionally set the option - Linux wouldn't work without a TLB anyway. Setting MIPS_CPU_4KTLB was missing for Alchemy and Sandcraft, add that back. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleanup decoding of MIPSxx config registers.Ralf Baechle2005-10-296-49/+175
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix preemption and SMP problems in the FP emulator code.Ralf Baechle2005-10-295-119/+122
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Handle _PAGE_DIRTY correctly for CONFIG_64BIT_PHYS_ADDR on 32bit CPUs.Thiemo Seufer2005-10-291-23/+29
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Better interface to run uncached cache setup code.Thiemo Seufer2005-10-296-27/+94
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* * use 'unsigned long' as address supplied to au_write[bwl]()Pete Popov2005-10-291-95/+32
| | | | | | | * remove two already unused and commented structures * added an ULL suffix to several address constants that use bits 35-32 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix D-cache aliasing problem in the PIO IDE driver potencially resultingRalf Baechle2005-10-291-8/+65
| | | | | | in the kernel or userspace seeing stale data. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix a few build warnings.Ralf Baechle2005-10-291-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Need to include smp.h for the definition of smp_processor_id().Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Ustat needs a wrapper on n32.Thiemo Seufer2005-10-291-1/+1
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move sync into the delay slot here also.Ralf Baechle2005-10-291-6/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Useless includes of everything, the kitchen sink and version.h ...Ralf Baechle2005-10-294-4/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Arrested for multiple offences of header file inclusion.Ralf Baechle2005-10-297-8/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, soRalf Baechle2005-10-291-0/+4
| | | | | | we need to do the set_fs(KERNEL_DS) thing around this call. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* NPTL, round one.Ralf Baechle2005-10-2914-14/+129
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Build fix for certain configurations.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix BogoMIPS display on UP and some minor cosmetical things.Ralf Baechle2005-10-294-8/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* fcntl64 needs to be wrapped for n32.Thiemo Seufer2005-10-291-1/+1
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix one more case of computing the return EPC after the registers haveRalf Baechle2005-10-291-1/+1
| | | | | | already been modified. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* When simulating ll/sc compute the return EPC before modifying theRalf Baechle2005-10-291-2/+3
| | | | | | registers. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use fixed up pfn.Thiemo Seufer2005-10-291-1/+1
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Detect the 4KEcR2 and for now detect handle it like the 4KEc.Ralf Baechle2005-10-291-0/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fixed buglet with previous patch that broke non au1x builds.Pete Popov2005-10-292-10/+8
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove CONFIG_PM dependency from au1x wait in cpu_probe.Pete Popov2005-10-293-29/+22
| | | | | | Additional work necessary to completely remove that config option. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Au1100 FB driver uplift for 2.6.Pete Popov2005-10-296-779/+851
| | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Acked-by: Antonino Daplas <adaplas@pol.net>
* Fix race conditions for read_c0_entryhi. Remove broken ASID masks inThiemo Seufer2005-10-292-45/+63
| | | | | | | tlb-sb1.c. Make tlb-r4k.c and tlb-sb1.c more similiar and more efficient. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove useless casts. Fix formatting.Maciej W. Rozycki2005-10-291-12/+19
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMPThiemo Seufer2005-10-295-41/+34
| | | | | | | TLB handlers a bit, match definitions in pgtable-{32,64}.h better. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* HUB interrupts are allocated per node, not per slice. MakeRalf Baechle2005-10-291-1/+1
| | | | | | | manipulation of the interrupt mask register atomic by disabling interrupts. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* HUB interrupts are allocated per node, not per slice. Make manipulationRalf Baechle2005-10-292-46/+48
| | | | | | of the interrupt mask register atomic by disabling interrupts. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* R4300 delay slot.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use compat_sigval_t in struct compat_siginfo.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* SECCOMP for MIPS.Ralf Baechle2005-10-292-4/+23
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reformat; cosmetic cleanups.Ralf Baechle2005-10-292-14/+20
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reformatting, remove debugging code.Ralf Baechle2005-10-292-39/+32
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get rid of the the remains of 2.4-style ramdisk support.Ralf Baechle2005-10-291-7/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Multithreaded core dumps.Ralf Baechle2005-10-292-0/+10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* When CONFIG_PM is enabled, it uses the TOY_MATCH2 interrupt as the systemPete Popov2005-10-292-15/+26
| | | | | | | | | | timer tick. Prior to this patch, if IDE IRQ probing occured, then the TOY_MATCH2 interrupt would be permanently disabled, and no system timer tick occurs. This patch corrects this situation by correctly registering the TOY_MATCH2 interrupt so that IDE IRQ probing doesn't have adverse side effects. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* sys_futex has 6 arguments.Thiemo Seufer2005-10-291-1/+1
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* qtronix.c: Handle kmalloc failure.Ralf Baechle2005-10-291-0/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Export shm_align_mask and flush_data_cache_page.Ralf Baechle2005-10-292-0/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Put salone.o back into arclib. It's a lib so doesn't harm if unused atm.Ralf Baechle2005-10-291-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* It helps to not use a _mem_ function for requesting I/O space.Thiemo Seufer2005-10-291-7/+13
| | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Gcc 4.0 fixes.Ralf Baechle2005-10-293-9/+11
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use new txx9 serial driver.Ralf Baechle2005-10-295-29/+53
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix preemption bug.Ralf Baechle2005-10-291-2/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
OpenPOWER on IntegriCloud