]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
19 years agoPrevent 64-bit constants from being cropped to 32 bits when used in C code.
Maciej W. Rozycki [Thu, 30 Jun 2005 16:10:04 +0000 (16:10 +0000)]
Prevent 64-bit constants from being cropped to 32 bits when used in C code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoAvoid tlbw* hazards for the R4600/R4700/R5000.
Maciej W. Rozycki [Thu, 30 Jun 2005 10:51:01 +0000 (10:51 +0000)]
Avoid tlbw* hazards for the R4600/R4700/R5000.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoInline ioremap() calls for constant addresses that map to KSEG1.
Maciej W. Rozycki [Thu, 30 Jun 2005 10:48:40 +0000 (10:48 +0000)]
Inline ioremap() calls for constant addresses that map to KSEG1.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoAvoid defining variables in the middle of a block which breaks older
Ralf Baechle [Thu, 30 Jun 2005 09:42:00 +0000 (09:42 +0000)]
Avoid defining variables in the middle of a block which breaks older
compilers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMore .set to keep 32-bit processors happy.
Ralf Baechle [Wed, 29 Jun 2005 13:35:19 +0000 (13:35 +0000)]
More .set to keep 32-bit processors happy.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix the diagnostic dump for the XTLB refill handler.
Maciej W. Rozycki [Wed, 29 Jun 2005 10:43:51 +0000 (10:43 +0000)]
Fix the diagnostic dump for the XTLB refill handler.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix a diagnostic message.
Maciej W. Rozycki [Wed, 29 Jun 2005 10:24:21 +0000 (10:24 +0000)]
Fix a diagnostic message.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoConversion to plat_setup() for TX4927 also.
Ralf Baechle [Mon, 27 Jun 2005 22:07:43 +0000 (22:07 +0000)]
Conversion to plat_setup() for TX4927 also.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUsing get_nasid() to find the console node will blow up nicely if
Ralf Baechle [Mon, 27 Jun 2005 08:34:27 +0000 (08:34 +0000)]
Using get_nasid() to find the console node will blow up nicely if
called on a another node than the console node, so use the master_nasid
instead and in the unlikely case that one isn't initialized yet, fall
back to get_nasid().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoAlways use ".set mips3" rather than select between "mips2" or "mips3"
Maciej W. Rozycki [Thu, 23 Jun 2005 15:57:15 +0000 (15:57 +0000)]
Always use ".set mips3" rather than select between "mips2" or "mips3"
for assembling ll/sc sequences to avoid problems with 64-bit
configurations.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoActual handlers for bus errors for Pmax and 3min.
Maciej W. Rozycki [Wed, 22 Jun 2005 20:58:45 +0000 (20:58 +0000)]
Actual handlers for bus errors for Pmax and 3min.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/dec/kn01-berr.c b/arch/mips/dec/kn01-berr.c
new file mode 100644

19 years agoSystem-specific handling of bus errors for DECstation variations
Maciej W. Rozycki [Wed, 22 Jun 2005 20:56:26 +0000 (20:56 +0000)]
System-specific handling of bus errors for DECstation variations
supporting parity errors only for memory (Pmax/3min/Maxine).
Fixes for resources decoded by the KN04/KN05 MB ASIC.  Additional
clean-ups for the ECC handler.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse correct names for bits in the R3k cp0.status register.
Maciej W. Rozycki [Wed, 22 Jun 2005 20:43:29 +0000 (20:43 +0000)]
Use correct names for bits in the R3k cp0.status register.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoGet the thing to compile again ...
Ralf Baechle [Tue, 21 Jun 2005 13:52:33 +0000 (13:52 +0000)]
Get the thing to compile again ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse macros for the RM7k cp0.config bits instead of magic numbers.
Maciej W. Rozycki [Mon, 20 Jun 2005 13:09:49 +0000 (13:09 +0000)]
Use macros for the RM7k cp0.config bits instead of magic numbers.
Minor clean-ups.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix types for firmware arguments. Don't define unneeded messages.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:50:55 +0000 (20:50 +0000)]
Fix types for firmware arguments.  Don't define unneeded messages.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoRemove left-over unused bits.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:49:03 +0000 (20:49 +0000)]
Remove left-over unused bits.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMark __die() "noreturn" for real.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:39:12 +0000 (20:39 +0000)]
Mark __die() "noreturn" for real.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix function types to ones appropriate for initcalls.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:37:40 +0000 (20:37 +0000)]
Fix function types to ones appropriate for initcalls.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoGCC 4.0.0 broke `attribute(("alias"))' -- resort to an assembly variant.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:35:48 +0000 (20:35 +0000)]
GCC 4.0.0 broke `attribute(("alias"))' -- resort to an assembly variant.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDeal with the bloody KSEG vs CKSEG horror...
Maciej W. Rozycki [Thu, 16 Jun 2005 20:30:54 +0000 (20:30 +0000)]
Deal with the bloody KSEG vs CKSEG horror...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoThere is NO port I/O space on the DECstation. Minor clean-ups.
Maciej W. Rozycki [Thu, 16 Jun 2005 20:23:20 +0000 (20:23 +0000)]
There is NO port I/O space on the DECstation.  Minor clean-ups.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoRedo RM9000 workaround which along with other DSP ASE changes was
Ralf Baechle [Wed, 15 Jun 2005 13:00:12 +0000 (13:00 +0000)]
Redo RM9000 workaround which along with other DSP ASE changes was
causing some headache for debuggers knowing about signal frames.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoEnable a suitable ISA for the assembler around ll/sc so that code
Maciej W. Rozycki [Tue, 14 Jun 2005 17:35:03 +0000 (17:35 +0000)]
Enable a suitable ISA for the assembler around ll/sc so that code
builds even for processors that don't support the instructions.
Plus minor formatting fixes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoOptimize R3k TLB Load/Store/Modified handlers, by scheduling
Maciej W. Rozycki [Mon, 13 Jun 2005 20:24:00 +0000 (20:24 +0000)]
Optimize R3k TLB Load/Store/Modified handlers, by scheduling
delay slots properly and avoiding an unnecessary jump to a jump.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFill R3k load delay slots properly.
Maciej W. Rozycki [Mon, 13 Jun 2005 20:12:01 +0000 (20:12 +0000)]
Fill R3k load delay slots properly.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoOnly dump instructions actually emitted.
Maciej W. Rozycki [Mon, 13 Jun 2005 20:09:32 +0000 (20:09 +0000)]
Only dump instructions actually emitted.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agodec_esp: Use physical addresses
Maciej W. Rozycki [Mon, 13 Jun 2005 19:55:42 +0000 (19:55 +0000)]
dec_esp: Use physical addresses

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>
19 years agoThis interrupt is *always* handled -- MIPS_BE_DISCARD just means
Maciej W. Rozycki [Mon, 13 Jun 2005 19:53:38 +0000 (19:53 +0000)]
This interrupt is *always* handled -- MIPS_BE_DISCARD just means
no further action wanted.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix dependencies for DECstation framebuffers.
Maciej W. Rozycki [Mon, 13 Jun 2005 19:50:42 +0000 (19:50 +0000)]
Fix dependencies for DECstation framebuffers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoRemove dead code which was causing warnings.
Ralf Baechle [Tue, 7 Jun 2005 11:39:57 +0000 (11:39 +0000)]
Remove dead code which was causing warnings.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFor MIPS32/MIPS64 cp0.config.mt == 1 implies a standard (R4k-style)
Maciej W. Rozycki [Mon, 6 Jun 2005 16:40:58 +0000 (16:40 +0000)]
For MIPS32/MIPS64 cp0.config.mt == 1 implies a standard (R4k-style)
TLB, so no need to set it separately for each implementation.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoThe DbAu1500 board also support big endian. Gee, imagine that.
Steven J. Hill [Sun, 5 Jun 2005 03:57:20 +0000 (03:57 +0000)]
The DbAu1500 board also support big endian. Gee, imagine that.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix build with CONFIG_PRINTK disabled.
Ralf Baechle [Wed, 1 Jun 2005 12:18:30 +0000 (12:18 +0000)]
Fix build with CONFIG_PRINTK disabled.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoSupport the MIPS32 / MIPS64 DSP ASE.
Ralf Baechle [Tue, 31 May 2005 11:49:19 +0000 (11:49 +0000)]
Support the MIPS32 / MIPS64 DSP ASE.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago64-bit fixes for Alchemy code ;)
Ralf Baechle [Wed, 25 May 2005 13:32:49 +0000 (13:32 +0000)]
64-bit fixes for Alchemy code ;)

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix build for CONFIG_BUG=n. Yes, bugs are now a compile time option ;-)
Ralf Baechle [Thu, 19 May 2005 17:05:09 +0000 (17:05 +0000)]
Fix build for CONFIG_BUG=n.  Yes, bugs are now a compile time option ;-)

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoWhen building for Atlas, Malta or SEAD convert the kernel to srecs by
Ralf Baechle [Thu, 19 May 2005 14:45:12 +0000 (14:45 +0000)]
When building for Atlas, Malta or SEAD convert the kernel to srecs by
default.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix tasteless #ifdef mess in audit_arch(), minor cleanups.
Ralf Baechle [Thu, 19 May 2005 12:08:04 +0000 (12:08 +0000)]
Fix tasteless #ifdef mess in audit_arch(), minor cleanups.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoBugs are now a configuration option.
Ralf Baechle [Thu, 19 May 2005 12:08:04 +0000 (12:08 +0000)]
Bugs are now a configuration option.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoOn MIPS the struct sigev preamble is only 8 bytes.
Ralf Baechle [Thu, 19 May 2005 12:08:04 +0000 (12:08 +0000)]
On MIPS the struct sigev preamble is only 8 bytes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoNow that a struct is the only member left in struct
Ralf Baechle [Wed, 11 May 2005 12:02:48 +0000 (12:02 +0000)]
Now that a struct is the only member left in struct
mips_fpu_emulator_stats cleanup that unnecessary nesting of structs.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoGet rid of the eir struct mips_fpu_emulator_private member. It's
Ralf Baechle [Wed, 11 May 2005 11:00:36 +0000 (11:00 +0000)]
Get rid of the eir struct mips_fpu_emulator_private member.  It's
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>
19 years ago__compute_return_epc() uses CFC1 instruction which might result in a
Ralf Baechle [Mon, 9 May 2005 13:16:07 +0000 (13:16 +0000)]
__compute_return_epc() uses CFC1 instruction which might result in a
coprocessor unusable exception since the process can lose its fpu
context by preemption.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agosys_nfsservctl() needs translation.
Maciej W. Rozycki [Fri, 6 May 2005 16:28:55 +0000 (16:28 +0000)]
sys_nfsservctl() needs translation.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoNo point in checking cpu_has_tlb before we've computed the CPU options.
Ralf Baechle [Fri, 6 May 2005 14:31:13 +0000 (14:31 +0000)]
No point in checking cpu_has_tlb before we've computed the CPU options.
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>
19 years agoCleanup decoding of MIPSxx config registers.
Ralf Baechle [Thu, 5 May 2005 16:45:59 +0000 (16:45 +0000)]
Cleanup decoding of MIPSxx config registers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix preemption and SMP problems in the FP emulator code.
Ralf Baechle [Thu, 28 Apr 2005 13:39:10 +0000 (13:39 +0000)]
Fix preemption and SMP problems in the FP emulator code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoHandle _PAGE_DIRTY correctly for CONFIG_64BIT_PHYS_ADDR on 32bit CPUs.
Thiemo Seufer [Thu, 28 Apr 2005 08:52:57 +0000 (08:52 +0000)]
Handle _PAGE_DIRTY correctly for CONFIG_64BIT_PHYS_ADDR on 32bit CPUs.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoBetter interface to run uncached cache setup code.
Thiemo Seufer [Mon, 25 Apr 2005 16:36:23 +0000 (16:36 +0000)]
Better interface to run uncached cache setup code.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago* use 'unsigned long' as address supplied to au_write[bwl]()
Pete Popov [Thu, 21 Apr 2005 05:31:59 +0000 (05:31 +0000)]
* use 'unsigned long' as address supplied to au_write[bwl]()
* 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>
19 years agoFix D-cache aliasing problem in the PIO IDE driver potencially resulting
Ralf Baechle [Tue, 19 Apr 2005 12:26:59 +0000 (12:26 +0000)]
Fix D-cache aliasing problem in the PIO IDE driver potencially resulting
in the kernel or userspace seeing stale data.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix a few build warnings.
Ralf Baechle [Mon, 18 Apr 2005 14:54:43 +0000 (14:54 +0000)]
Fix a few build warnings.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoNeed to include smp.h for the definition of smp_processor_id().
Ralf Baechle [Mon, 18 Apr 2005 10:40:09 +0000 (10:40 +0000)]
Need to include smp.h for the definition of smp_processor_id().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUstat needs a wrapper on n32.
Thiemo Seufer [Sun, 17 Apr 2005 00:04:21 +0000 (00:04 +0000)]
Ustat needs a wrapper on n32.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMove sync into the delay slot here also.
Ralf Baechle [Thu, 14 Apr 2005 15:28:28 +0000 (15:28 +0000)]
Move sync into the delay slot here also.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUseless includes of everything, the kitchen sink and version.h ...
Ralf Baechle [Thu, 14 Apr 2005 12:47:15 +0000 (12:47 +0000)]
Useless includes of everything, the kitchen sink and version.h ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoArrested for multiple offences of header file inclusion.
Ralf Baechle [Thu, 14 Apr 2005 12:34:15 +0000 (12:34 +0000)]
Arrested for multiple offences of header file inclusion.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoWe pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, so
Ralf Baechle [Wed, 13 Apr 2005 18:18:04 +0000 (18:18 +0000)]
We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, so
we need to do the set_fs(KERNEL_DS) thing around this call.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoNPTL, round one.
Ralf Baechle [Wed, 13 Apr 2005 17:43:59 +0000 (17:43 +0000)]
NPTL, round one.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoBuild fix for certain configurations.
Ralf Baechle [Wed, 13 Apr 2005 17:36:49 +0000 (17:36 +0000)]
Build fix for certain configurations.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix BogoMIPS display on UP and some minor cosmetical things.
Ralf Baechle [Wed, 13 Apr 2005 13:37:32 +0000 (13:37 +0000)]
Fix BogoMIPS display on UP and some minor cosmetical things.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agofcntl64 needs to be wrapped for n32.
Thiemo Seufer [Wed, 13 Apr 2005 09:11:22 +0000 (09:11 +0000)]
fcntl64 needs to be wrapped for n32.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix one more case of computing the return EPC after the registers have
Ralf Baechle [Tue, 12 Apr 2005 20:26:05 +0000 (20:26 +0000)]
Fix one more case of computing the return EPC after the registers have
already been modified.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoWhen simulating ll/sc compute the return EPC before modifying the
Ralf Baechle [Tue, 12 Apr 2005 11:04:15 +0000 (11:04 +0000)]
When simulating ll/sc compute the return EPC before modifying the
registers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse fixed up pfn.
Thiemo Seufer [Mon, 11 Apr 2005 12:24:16 +0000 (12:24 +0000)]
Use fixed up pfn.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDetect the 4KEcR2 and for now detect handle it like the 4KEc.
Ralf Baechle [Fri, 8 Apr 2005 20:36:05 +0000 (20:36 +0000)]
Detect the 4KEcR2 and for now detect handle it like the 4KEc.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFixed buglet with previous patch that broke non au1x builds.
Pete Popov [Fri, 8 Apr 2005 08:34:43 +0000 (08:34 +0000)]
Fixed buglet with previous patch that broke non au1x builds.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoRemove CONFIG_PM dependency from au1x wait in cpu_probe.
Pete Popov [Thu, 7 Apr 2005 00:42:10 +0000 (00:42 +0000)]
Remove CONFIG_PM dependency from au1x wait in cpu_probe.
Additional work necessary to completely remove that config option.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoAu1100 FB driver uplift for 2.6.
Pete Popov [Mon, 4 Apr 2005 01:06:19 +0000 (01:06 +0000)]
Au1100 FB driver uplift for 2.6.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Antonino Daplas <adaplas@pol.net>
19 years agoFix race conditions for read_c0_entryhi. Remove broken ASID masks in
Thiemo Seufer [Sat, 2 Apr 2005 10:21:56 +0000 (10:21 +0000)]
Fix race conditions for read_c0_entryhi. Remove broken ASID masks in
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>
19 years agoRemove useless casts. Fix formatting.
Maciej W. Rozycki [Fri, 1 Apr 2005 17:53:33 +0000 (17:53 +0000)]
Remove useless casts.  Fix formatting.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMP
Thiemo Seufer [Fri, 1 Apr 2005 14:07:13 +0000 (14:07 +0000)]
Fix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMP
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>
19 years agoHUB interrupts are allocated per node, not per slice. Make
Ralf Baechle [Mon, 21 Mar 2005 19:35:53 +0000 (19:35 +0000)]
HUB interrupts are allocated per node, not per slice.  Make
manipulation of the interrupt mask register atomic by disabling
interrupts.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoHUB interrupts are allocated per node, not per slice. Make manipulation
Ralf Baechle [Mon, 21 Mar 2005 18:59:38 +0000 (18:59 +0000)]
HUB interrupts are allocated per node, not per slice.  Make manipulation
of the interrupt mask register atomic by disabling interrupts.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoR4300 delay slot.
Ralf Baechle [Sun, 20 Mar 2005 22:57:38 +0000 (22:57 +0000)]
R4300 delay slot.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse compat_sigval_t in struct compat_siginfo.
Ralf Baechle [Fri, 18 Mar 2005 17:36:42 +0000 (17:36 +0000)]
Use compat_sigval_t in struct compat_siginfo.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoSECCOMP for MIPS.
Ralf Baechle [Fri, 18 Mar 2005 17:36:42 +0000 (17:36 +0000)]
SECCOMP for MIPS.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoReformat; cosmetic cleanups.
Ralf Baechle [Fri, 18 Mar 2005 17:36:42 +0000 (17:36 +0000)]
Reformat; cosmetic cleanups.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoReformatting, remove debugging code.
Ralf Baechle [Thu, 17 Mar 2005 21:50:49 +0000 (21:50 +0000)]
Reformatting, remove debugging code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoGet rid of the the remains of 2.4-style ramdisk support.
Ralf Baechle [Wed, 16 Mar 2005 10:23:31 +0000 (10:23 +0000)]
Get rid of the the remains of 2.4-style ramdisk support.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMultithreaded core dumps.
Ralf Baechle [Mon, 14 Mar 2005 10:16:59 +0000 (10:16 +0000)]
Multithreaded core dumps.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoWhen CONFIG_PM is enabled, it uses the TOY_MATCH2 interrupt as the system
Pete Popov [Sun, 13 Mar 2005 08:19:05 +0000 (08:19 +0000)]
When CONFIG_PM is enabled, it uses the TOY_MATCH2 interrupt as the system
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>
19 years agosys_futex has 6 arguments.
Thiemo Seufer [Sun, 13 Mar 2005 00:07:00 +0000 (00:07 +0000)]
sys_futex has 6 arguments.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoqtronix.c: Handle kmalloc failure.
Ralf Baechle [Thu, 10 Mar 2005 17:34:03 +0000 (17:34 +0000)]
qtronix.c: Handle kmalloc failure.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoExport shm_align_mask and flush_data_cache_page.
Ralf Baechle [Tue, 8 Mar 2005 14:39:39 +0000 (14:39 +0000)]
Export shm_align_mask and flush_data_cache_page.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoPut salone.o back into arclib. It's a lib so doesn't harm if unused atm.
Ralf Baechle [Mon, 7 Mar 2005 15:40:34 +0000 (15:40 +0000)]
Put salone.o back into arclib.  It's a lib so doesn't harm if unused atm.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoIt helps to not use a _mem_ function for requesting I/O space.
Thiemo Seufer [Fri, 4 Mar 2005 19:40:45 +0000 (19:40 +0000)]
It helps to not use a _mem_ function for requesting I/O space.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoGcc 4.0 fixes.
Ralf Baechle [Fri, 4 Mar 2005 19:36:51 +0000 (19:36 +0000)]
Gcc 4.0 fixes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse new txx9 serial driver.
Ralf Baechle [Fri, 4 Mar 2005 17:24:32 +0000 (17:24 +0000)]
Use new txx9 serial driver.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix preemption bug.
Ralf Baechle [Fri, 4 Mar 2005 12:35:42 +0000 (12:35 +0000)]
Fix preemption bug.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoInt controller fixes.
Pete Popov [Fri, 4 Mar 2005 08:31:06 +0000 (08:31 +0000)]
Int controller fixes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoOne definition of back_to_back_c0_hazard too much.
Ralf Baechle [Wed, 2 Mar 2005 19:18:46 +0000 (19:18 +0000)]
One definition of back_to_back_c0_hazard too much.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoSparseify MIPS.
Ralf Baechle [Tue, 1 Mar 2005 19:22:29 +0000 (19:22 +0000)]
Sparseify MIPS.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoOn 24K we did always disable cache parity protection - obviously not
Ralf Baechle [Tue, 1 Mar 2005 18:15:08 +0000 (18:15 +0000)]
On 24K we did always disable cache parity protection - obviously not
the greatest thing to do.  Try to enable parity protection, check if
we actually succeeded and print a message about the outcome of this.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoNew hazard handling function back_to_back_c0_hazard() to handle back to
Ralf Baechle [Tue, 1 Mar 2005 18:12:06 +0000 (18:12 +0000)]
New hazard handling function back_to_back_c0_hazard() to handle back to
back mtc0 / mfc0 pairs from the same coprocessor register.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoISOify.
Ralf Baechle [Tue, 1 Mar 2005 10:38:58 +0000 (10:38 +0000)]
ISOify.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMoved irq_tab_alchemy to the board specific irqmap.c files.
Pete Popov [Tue, 1 Mar 2005 07:54:50 +0000 (07:54 +0000)]
Moved irq_tab_alchemy to the board specific irqmap.c files.
Cleaned up a to of warnings in dbdma.c.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoBase Au1200 2.6 support.
Pete Popov [Tue, 1 Mar 2005 06:33:16 +0000 (06:33 +0000)]
Base Au1200 2.6 support.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix 'prctl' system call for IRIX. At this point IRIX 5.3 static binaries
Steven J. Hill [Tue, 1 Mar 2005 03:51:33 +0000 (03:51 +0000)]
Fix 'prctl' system call for IRIX. At this point IRIX 5.3 static binaries
are now working for 80% of the ones I have tried. The other ones that do
not work all fail in the same way with the same messages. Once that bug
is tracked down, we should be in good shape. Task locking still needs
some work.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>