GitHub/MotorolaMobilityLLC/kernel-slsi.git
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>
19 years agoGross macro abuse. Get rid of gpreg_t, vaddr_t, REG_TO_VA and
Ralf Baechle [Mon, 28 Feb 2005 17:55:57 +0000 (17:55 +0000)]
Gross macro abuse.  Get rid of gpreg_t, vaddr_t, REG_TO_VA and
VA_TO_REG.  Who ever wrote this apparently did enjoy the C Puzzle Book.
ISBN 0201604612, a little old but still fun reading for the next
blackout ;)

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoCleanup fpuemuprivate declarations.
Ralf Baechle [Mon, 28 Feb 2005 17:29:15 +0000 (17:29 +0000)]
Cleanup fpuemuprivate declarations.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoConvert struct hw_interrupt_type initializations to ISO C99 named
Ralf Baechle [Mon, 28 Feb 2005 13:39:57 +0000 (13:39 +0000)]
Convert struct hw_interrupt_type initializations to ISO C99 named
initializers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoNo barrier needed on au1x.
Pete Popov [Mon, 28 Feb 2005 05:15:40 +0000 (05:15 +0000)]
No barrier needed on au1x.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoComment correction after further investigation of issue.
Pete Popov [Sun, 27 Feb 2005 22:15:24 +0000 (22:15 +0000)]
Comment correction after further investigation of issue.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix initialization. Unbreak the wait-for-completion loops. Code cleanup.
Thiemo Seufer [Fri, 25 Feb 2005 13:11:18 +0000 (13:11 +0000)]
Fix initialization. Unbreak the wait-for-completion loops. Code cleanup.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoSwitch SiByte drivers back to __raw_*() functions.
Maciej W. Rozycki [Tue, 22 Feb 2005 21:51:30 +0000 (21:51 +0000)]
Switch SiByte drivers back to __raw_*() functions.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDefine mem_*() I/O accessory functions that preserve byte addresses.
Maciej W. Rozycki [Tue, 22 Feb 2005 21:49:17 +0000 (21:49 +0000)]
Define mem_*() I/O accessory functions that preserve byte addresses.
Add missing ____raw_*q() functions.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMerge do_boot_cpu() into the new style __cpu_up().
Ralf Baechle [Tue, 22 Feb 2005 21:18:01 +0000 (21:18 +0000)]
Merge do_boot_cpu() into the new style __cpu_up().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoOn multiprocessor systems the BogoMIPS for each CPU was reported was
Ralf Baechle [Mon, 21 Feb 2005 21:34:24 +0000 (21:34 +0000)]
On multiprocessor systems the BogoMIPS for each CPU was reported was
the value for the last CPU having calibrated it's delay loop.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDefine MAP_BASE for IP27
Ralf Baechle [Mon, 21 Feb 2005 19:50:31 +0000 (19:50 +0000)]
Define MAP_BASE for IP27

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoResurrect Cobalt support for 2.6.
Ralf Baechle [Mon, 21 Feb 2005 16:18:36 +0000 (16:18 +0000)]
Resurrect Cobalt support for 2.6.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoEnable/disable irq's only if needed.
Thiemo Seufer [Mon, 21 Feb 2005 11:44:31 +0000 (11:44 +0000)]
Enable/disable irq's only if needed.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago-nostdlib boilerplate.
Thiemo Seufer [Mon, 21 Feb 2005 11:22:15 +0000 (11:22 +0000)]
-nostdlib boilerplate.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix compilation, and bring 32/64 bit variants more in line.
Thiemo Seufer [Mon, 21 Feb 2005 11:11:32 +0000 (11:11 +0000)]
Fix compilation, and bring 32/64 bit variants more in line.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix wchan implementation, based on earlier by from Atsushi Nemoto.
Thiemo Seufer [Mon, 21 Feb 2005 10:55:16 +0000 (10:55 +0000)]
Fix wchan implementation, based on earlier by from Atsushi Nemoto.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoImproved modules loader, more robust and works on 64bit kernels.
Thiemo Seufer [Mon, 21 Feb 2005 10:45:09 +0000 (10:45 +0000)]
Improved modules loader, more robust and works on 64bit kernels.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUntil I figure out why NFS filesystems are having problems with
Steven J. Hill [Sat, 19 Feb 2005 16:15:54 +0000 (16:15 +0000)]
Until I figure out why NFS filesystems are having problems with
the 'load_irix_binary' and having kernel faults, Irix support is
disabled. I suspect locking of some sort, but I will now have to
investigate further.

Static IRIX binaries are now being detected properly and are using the
ELF interpreter found in this file.

Signed-off-by: Steven J. Hill <sjhill@realitydiluted.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoInitialize iomem_resource.
Thiemo Seufer [Sat, 19 Feb 2005 13:58:37 +0000 (13:58 +0000)]
Initialize iomem_resource.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoHandle addresses beyond VMALLOC_END correctly.
Thiemo Seufer [Sat, 19 Feb 2005 13:56:04 +0000 (13:56 +0000)]
Handle addresses beyond VMALLOC_END correctly.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse intermediate variable.
Thiemo Seufer [Sat, 19 Feb 2005 13:32:02 +0000 (13:32 +0000)]
Use intermediate variable.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoO2 doesn't have _that_ much RAM.
Thiemo Seufer [Sat, 19 Feb 2005 13:27:41 +0000 (13:27 +0000)]
O2 doesn't have _that_ much RAM.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoChanged all Au1x boards to noncoherent again.
Pete Popov [Fri, 18 Feb 2005 06:27:25 +0000 (06:27 +0000)]
Changed all Au1x boards to noncoherent again.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago32-bit compatibility for various timer-related system calls.
Ralf Baechle [Wed, 16 Feb 2005 21:25:03 +0000 (21:25 +0000)]
32-bit compatibility for various timer-related system calls.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUpdate to match the native siginfo structure and code.
Ralf Baechle [Wed, 16 Feb 2005 21:24:16 +0000 (21:24 +0000)]
Update to match the native siginfo structure and code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago32-bit compatibility for ptrace GETEVENTMSG operation.
Ralf Baechle [Wed, 16 Feb 2005 21:22:40 +0000 (21:22 +0000)]
32-bit compatibility for ptrace GETEVENTMSG operation.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoImplement 32-bit compatibility for waitid(2).
Ralf Baechle [Wed, 16 Feb 2005 21:21:29 +0000 (21:21 +0000)]
Implement 32-bit compatibility for waitid(2).

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoWaitid(2) now has 5 arguments.
Ralf Baechle [Wed, 16 Feb 2005 21:19:59 +0000 (21:19 +0000)]
Waitid(2) now has 5 arguments.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse generic compat_sys_wait4 to implement 32-bit wait4(2).
Ralf Baechle [Wed, 16 Feb 2005 21:18:52 +0000 (21:18 +0000)]
Use generic compat_sys_wait4 to implement 32-bit wait4(2).

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoAllocate break code 513 to KDB.
Ralf Baechle [Wed, 16 Feb 2005 20:15:40 +0000 (20:15 +0000)]
Allocate break code 513 to KDB.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoReplace the complicated and broken attempt to clean interrupt by
Ralf Baechle [Sun, 13 Feb 2005 23:10:08 +0000 (23:10 +0000)]
Replace the complicated and broken attempt to clean interrupt by
something simple - doesn't need to be fast, after all.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoIf you want RM7000 better fix it to build first ...
Ralf Baechle [Sun, 13 Feb 2005 21:31:24 +0000 (21:31 +0000)]
If you want RM7000 better fix it to build first ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoIt's unwise to disable all interrupts of the boot node ;-)
Ralf Baechle [Sun, 13 Feb 2005 18:53:26 +0000 (18:53 +0000)]
It's unwise to disable all interrupts of the boot node ;-)

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoRewrite to avoid the use of $at. Unfortunately binutils 2.15 and CVS
Ralf Baechle [Sun, 13 Feb 2005 00:32:43 +0000 (00:32 +0000)]
Rewrite to avoid the use of $at.  Unfortunately binutils 2.15 and CVS
binutils are broken and don't warn about this use of $at even though
gas is in .set noat mode so this for now is an accident waiting to
happen.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoEnable RM7000 secondary cache for Atlas and Malta boards.
Maciej W. Rozycki [Sat, 12 Feb 2005 04:31:49 +0000 (04:31 +0000)]
Enable RM7000 secondary cache for Atlas and Malta boards.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMoves a test which determines if we actually need to perform a
Ralf Baechle [Thu, 10 Feb 2005 13:54:37 +0000 (13:54 +0000)]
Moves a test which determines if we actually need to perform a
cacheflush to the right place.  That's a bug which is harmless on UP
but a severe bug on SMP.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUpdate MIPS to use the 4-level pagetable code thereby getting rid of
Ralf Baechle [Thu, 10 Feb 2005 12:19:59 +0000 (12:19 +0000)]
Update MIPS to use the 4-level pagetable code thereby getting rid of
the compacrapability headers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDocument why calling smp_call_function will deadlock when called with
Ralf Baechle [Thu, 10 Feb 2005 12:00:06 +0000 (12:00 +0000)]
Document why calling smp_call_function will deadlock when called with
interrupts disabled.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix ptrace aliasing issue in copy_from_user_page / copy_to_user_page.
Ralf Baechle [Wed, 9 Feb 2005 12:59:39 +0000 (12:59 +0000)]
Fix ptrace aliasing issue in copy_from_user_page / copy_to_user_page.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago25Kf is also physically indexed.
Ralf Baechle [Mon, 7 Feb 2005 21:53:39 +0000 (21:53 +0000)]
25Kf is also physically indexed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoAdd a few more PrId vendor IDs.
Ralf Baechle [Mon, 7 Feb 2005 21:52:35 +0000 (21:52 +0000)]
Add a few more PrId vendor IDs.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago20Kc and SB1 don't suffer from aliases.
Ralf Baechle [Mon, 7 Feb 2005 21:41:32 +0000 (21:41 +0000)]
20Kc and SB1 don't suffer from aliases.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDelete duplicate copy of fixrange_init.
Ralf Baechle [Mon, 7 Feb 2005 16:13:07 +0000 (16:13 +0000)]
Delete duplicate copy of fixrange_init.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agorm9000_init() really is __init code.
Ralf Baechle [Mon, 7 Feb 2005 12:14:00 +0000 (12:14 +0000)]
rm9000_init() really is __init code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse preempt_schedule_irq.
Ralf Baechle [Mon, 7 Feb 2005 02:54:29 +0000 (02:54 +0000)]
Use preempt_schedule_irq.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMore oprofile bits for MIPS32-style performance counters. The code to
Ralf Baechle [Mon, 7 Feb 2005 02:54:29 +0000 (02:54 +0000)]
More oprofile bits for MIPS32-style performance counters.  The code to
bolt this into the actual hardware interrupt is yet missing from this
commit.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
 FEXPORT(ret_from_fork)

19 years agoIt works better when including arch/mips/sgi-ip27/Kconfig ...
Ralf Baechle [Mon, 7 Feb 2005 01:27:14 +0000 (01:27 +0000)]
It works better when including arch/mips/sgi-ip27/Kconfig ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMove missplaced code line to the right place.
Ralf Baechle [Sun, 6 Feb 2005 21:55:49 +0000 (21:55 +0000)]
Move missplaced code line to the right place.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoProvide functions to access cop0 config4-7 registers
Ralf Baechle [Sun, 6 Feb 2005 21:24:55 +0000 (21:24 +0000)]
Provide functions to access cop0 config4-7 registers

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