summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-10-29Deal with the bloody KSEG vs CKSEG horror...Maciej W. Rozycki10-26/+26
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29There is NO port I/O space on the DECstation. Minor clean-ups.Maciej W. Rozycki1-5/+9
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Redo RM9000 workaround which along with other DSP ASE changes wasRalf Baechle9-86/+98
causing some headache for debuggers knowing about signal frames. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Enable a suitable ISA for the assembler around ll/sc so that codeMaciej W. Rozycki4-32/+118
builds even for processors that don't support the instructions. Plus minor formatting fixes. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Optimize R3k TLB Load/Store/Modified handlers, by schedulingMaciej W. Rozycki1-40/+30
delay slots properly and avoiding an unnecessary jump to a jump. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fill R3k load delay slots properly.Maciej W. Rozycki1-0/+3
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Only dump instructions actually emitted.Maciej W. Rozycki1-7/+7
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29dec_esp: Use physical addressesMaciej W. Rozycki1-1/+1
These should really be addresses obtained with ioremap() or some bus-specific backend, but for now... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29This interrupt is *always* handled -- MIPS_BE_DISCARD just meansMaciej W. Rozycki1-1/+1
no further action wanted. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fix dependencies for DECstation framebuffers.Maciej W. Rozycki1-4/+4
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Remove dead code which was causing warnings.Ralf Baechle1-3/+0
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29For MIPS32/MIPS64 cp0.config.mt == 1 implies a standard (R4k-style)Maciej W. Rozycki1-5/+1
TLB, so no need to set it separately for each implementation. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29The DbAu1500 board also support big endian. Gee, imagine that.Steven J. Hill1-0/+1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fix build with CONFIG_PRINTK disabled.Ralf Baechle1-0/+4
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Support the MIPS32 / MIPS64 DSP ASE.Ralf Baechle34-139/+876
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-2964-bit fixes for Alchemy code ;)Ralf Baechle1-6/+5
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fix build for CONFIG_BUG=n. Yes, bugs are now a compile time option ;-)Ralf Baechle1-2/+2
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29When building for Atlas, Malta or SEAD convert the kernel to srecs byRalf Baechle1-0/+12
default. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fix tasteless #ifdef mess in audit_arch(), minor cleanups.Ralf Baechle1-17/+12
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Bugs are now a configuration option.Ralf Baechle1-0/+6
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29On MIPS the struct sigev preamble is only 8 bytes.Ralf Baechle1-0/+1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Now that a struct is the only member left in structRalf Baechle3-36/+34
mips_fpu_emulator_stats cleanup that unnecessary nesting of structs. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Get rid of the eir struct mips_fpu_emulator_private member. It'sRalf Baechle2-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>
2005-10-29__compute_return_epc() uses CFC1 instruction which might result in aRalf Baechle2-5/+14
coprocessor unusable exception since the process can lose its fpu context by preemption. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29sys_nfsservctl() needs translation.Maciej W. Rozycki1-1/+1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29No point in checking cpu_has_tlb before we've computed the CPU options.Ralf Baechle1-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>
2005-10-29Cleanup decoding of MIPSxx config registers.Ralf Baechle6-49/+175
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fix preemption and SMP problems in the FP emulator code.Ralf Baechle5-119/+122
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Handle _PAGE_DIRTY correctly for CONFIG_64BIT_PHYS_ADDR on 32bit CPUs.Thiemo Seufer1-23/+29
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Better interface to run uncached cache setup code.Thiemo Seufer6-27/+94
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29* use 'unsigned long' as address supplied to au_write[bwl]()Pete Popov1-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>
2005-10-29Fix D-cache aliasing problem in the PIO IDE driver potencially resultingRalf Baechle1-8/+65
in the kernel or userspace seeing stale data. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fix a few build warnings.Ralf Baechle1-2/+2
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Need to include smp.h for the definition of smp_processor_id().Ralf Baechle1-1/+1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Ustat needs a wrapper on n32.Thiemo Seufer1-1/+1
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Move sync into the delay slot here also.Ralf Baechle1-6/+3
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Useless includes of everything, the kitchen sink and version.h ...Ralf Baechle4-4/+0
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Arrested for multiple offences of header file inclusion.Ralf Baechle7-8/+1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, soRalf Baechle1-0/+4
we need to do the set_fs(KERNEL_DS) thing around this call. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29NPTL, round one.Ralf Baechle14-14/+129
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Build fix for certain configurations.Ralf Baechle1-0/+1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fix BogoMIPS display on UP and some minor cosmetical things.Ralf Baechle4-8/+5
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29fcntl64 needs to be wrapped for n32.Thiemo Seufer1-1/+1
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fix one more case of computing the return EPC after the registers haveRalf Baechle1-1/+1
already been modified. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29When simulating ll/sc compute the return EPC before modifying theRalf Baechle1-2/+3
registers. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Use fixed up pfn.Thiemo Seufer1-1/+1
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Detect the 4KEcR2 and for now detect handle it like the 4KEc.Ralf Baechle1-0/+4
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Fixed buglet with previous patch that broke non au1x builds.Pete Popov2-10/+8
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Remove CONFIG_PM dependency from au1x wait in cpu_probe.Pete Popov3-29/+22
Additional work necessary to completely remove that config option. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29Au1100 FB driver uplift for 2.6.Pete Popov6-779/+851
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Acked-by: Antonino Daplas <adaplas@pol.net>