Pete Popov
e3ad1c23ba
Base Au1200 2.6 support.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:47 +01:00
Steven J. Hill
784f7b9d89
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>
2005-10-29 19:30:47 +01:00
Ralf Baechle
333d1f6794
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>
2005-10-29 19:30:46 +01:00
Ralf Baechle
0bd5d2e9ec
Cleanup fpuemuprivate declarations.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:46 +01:00
Ralf Baechle
8ab00b9a02
Convert struct hw_interrupt_type initializations to ISO C99 named
...
initializers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:46 +01:00
Pete Popov
d437441ef5
No barrier needed on au1x.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:45 +01:00
Pete Popov
13d1d73ea5
Comment correction after further investigation of issue.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:44 +01:00
Thiemo Seufer
685f779e60
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>
2005-10-29 19:30:44 +01:00
Maciej W. Rozycki
65bda1a95d
Switch SiByte drivers back to __raw_*() functions.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:44 +01:00
Maciej W. Rozycki
4912ba72d6
Define mem_*() I/O accessory functions that preserve byte addresses.
...
Add missing ____raw_*q() functions.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:43 +01:00
Ralf Baechle
b727a60258
Merge do_boot_cpu() into the new style __cpu_up().
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:43 +01:00
Ralf Baechle
0ac354801a
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>
2005-10-29 19:30:42 +01:00
Ralf Baechle
1f82bdb11b
Define MAP_BASE for IP27
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:42 +01:00
Ralf Baechle
c4ed38a0c6
Resurrect Cobalt support for 2.6.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:42 +01:00
Thiemo Seufer
049b13c358
Enable/disable irq's only if needed.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:41 +01:00
Thiemo Seufer
9f83d839df
-nostdlib boilerplate.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:41 +01:00
Thiemo Seufer
f29244a594
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>
2005-10-29 19:30:40 +01:00
Thiemo Seufer
dc953df1ba
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>
2005-10-29 19:30:40 +01:00
Thiemo Seufer
4e6a05fe5f
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>
2005-10-29 19:30:39 +01:00
Steven J. Hill
7ee8798f37
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>
2005-10-29 19:30:39 +01:00
Thiemo Seufer
dd19326148
Initialize iomem_resource.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:39 +01:00
Thiemo Seufer
16033d6104
Handle addresses beyond VMALLOC_END correctly.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:38 +01:00
Thiemo Seufer
26a51b270f
Use intermediate variable.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:38 +01:00
Thiemo Seufer
1ba582a128
O2 doesn't have _that_ much RAM.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:37 +01:00
Pete Popov
d8f5d86178
Changed all Au1x boards to noncoherent again.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:37 +01:00
Ralf Baechle
d1abb6a2b8
32-bit compatibility for various timer-related system calls.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:37 +01:00
Ralf Baechle
a982099ca5
Update to match the native siginfo structure and code.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:36 +01:00
Ralf Baechle
09276d905e
32-bit compatibility for ptrace GETEVENTMSG operation.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:36 +01:00
Ralf Baechle
54f2da755b
Implement 32-bit compatibility for waitid(2).
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:35 +01:00
Ralf Baechle
a19050f301
Waitid(2) now has 5 arguments.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:34 +01:00
Ralf Baechle
b6e203d84d
Use generic compat_sys_wait4 to implement 32-bit wait4(2).
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:34 +01:00
Ralf Baechle
a4f23e3dfc
Allocate break code 513 to KDB.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:34 +01:00
Ralf Baechle
39408c6af4
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>
2005-10-29 19:30:33 +01:00
Ralf Baechle
ca8a597d53
If you want RM7000 better fix it to build first ...
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:33 +01:00
Ralf Baechle
de1db6ffe2
It's unwise to disable all interrupts of the boot node ;-)
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:32 +01:00
Ralf Baechle
85b6e8184b
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>
2005-10-29 19:30:32 +01:00
Maciej W. Rozycki
f4b7cdb481
Enable RM7000 secondary cache for Atlas and Malta boards.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:32 +01:00
Ralf Baechle
79acf83e50
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>
2005-10-29 19:30:31 +01:00
Ralf Baechle
c6e8b58771
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>
2005-10-29 19:30:31 +01:00
Ralf Baechle
57f0060b8a
Document why calling smp_call_function will deadlock when called with
...
interrupts disabled.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:30 +01:00
Ralf Baechle
26852d5cdb
Fix ptrace aliasing issue in copy_from_user_page / copy_to_user_page.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:29 +01:00
Ralf Baechle
505403b6a0
25Kf is also physically indexed.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:29 +01:00
Ralf Baechle
55a6feb671
Add a few more PrId vendor IDs.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:29 +01:00
Ralf Baechle
a95970f323
20Kc and SB1 don't suffer from aliases.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:28 +01:00
Ralf Baechle
84fd089a42
Delete duplicate copy of fixrange_init.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:28 +01:00
Ralf Baechle
cc26b815dd
rm9000_init() really is __init code.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:27 +01:00
Ralf Baechle
a18815abcd
Use preempt_schedule_irq.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:27 +01:00
Ralf Baechle
54176736f7
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)
2005-10-29 19:30:27 +01:00
Ralf Baechle
29c4869946
It works better when including arch/mips/sgi-ip27/Kconfig ...
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:26 +01:00
Ralf Baechle
ae6aafe309
Move missplaced code line to the right place.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2005-10-29 19:30:26 +01:00