Pete Popov
7de8d23287
* 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 ago
Ralf Baechle
9447cbfc7a
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 ago
Ralf Baechle
ecba36dad8
Fix a few build warnings.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
88de09f351
Need to include smp.h for the definition of smp_processor_id().
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Thiemo Seufer
cce812c99c
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 ago
Ralf Baechle
b63014ad2d
Move sync into the delay slot here also.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
93b25d0621
Useless includes of everything, the kitchen sink and version.h ...
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
1342f7e6c5
Arrested for multiple offences of header file inclusion.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
1fcf1cc742
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 ago
Ralf Baechle
3c37026d43
NPTL, round one.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
38551576a3
Build fix for certain configurations.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
f03da6e28e
Fix BogoMIPS display on UP and some minor cosmetical things.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Thiemo Seufer
589391a0fe
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 ago
Ralf Baechle
05b8042ac6
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 ago
Ralf Baechle
6dd0468852
When simulating ll/sc compute the return EPC before modifying the
...
registers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Thiemo Seufer
ac5d8c022f
Use fixed up pfn.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
2b07bd0235
Detect the 4KEcR2 and for now detect handle it like the 4KEc.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Pete Popov
fe359bf584
Fixed buglet with previous patch that broke non au1x builds.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Pete Popov
494900af68
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 ago
Pete Popov
3b495f2bb7
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 ago
Thiemo Seufer
172546bf60
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 ago
Maciej W. Rozycki
202d0388e7
Remove useless casts. Fix formatting.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Thiemo Seufer
1b3a6e975c
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 ago
Ralf Baechle
7c2740f1c1
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 ago
Ralf Baechle
4f12bfe5a4
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 ago
Ralf Baechle
6cbe063159
R4300 delay slot.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
209ac8ddb1
Use compat_sigval_t in struct compat_siginfo.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
127c6f6623
SECCOMP for MIPS.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
53de0d471f
Reformat; cosmetic cleanups.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
1592dac241
Reformatting, remove debugging code.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
b4dbf95e30
Get rid of the the remains of 2.4-style ramdisk support.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
71e0e556db
Multithreaded core dumps.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Pete Popov
a3701ca487
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 ago
Thiemo Seufer
90a67b5909
sys_futex has 6 arguments.
...
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
96ed748d9d
qtronix.c: Handle kmalloc failure.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
9ff77c469e
Export shm_align_mask and flush_data_cache_page.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
07b4ebd372
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 ago
Thiemo Seufer
6d7bf017e8
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 ago
Ralf Baechle
77c728c224
Gcc 4.0 fixes.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
5eaf7a21be
Use new txx9 serial driver.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
cdaed73afb
Fix preemption bug.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Pete Popov
ebc7f12fbc
Int controller fixes.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
88d535b6b5
One definition of back_to_back_c0_hazard too much.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
fe00f943e0
Sparseify MIPS.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Ralf Baechle
14f18b7f7e
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 ago
Ralf Baechle
5068debff2
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 ago
Ralf Baechle
0f04afb595
ISOify.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
Pete Popov
2d32ffa44a
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 ago
Pete Popov
e3ad1c23ba
Base Au1200 2.6 support.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago
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>
19 years ago