summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement a more dynamic method of associating IRQs with PCI devices.Kanoj Sarcar2000-05-193-56/+79
| | | | | Instead of encoding bus/slot numbers in the IRQ, have seperate arrays to store that information.
* ip27-timer.c: Use the realtime clock for do_gettimeofday and do_settimeofdayUlf Carlsson2000-05-191-1/+33
| | | | to get microsecond precision.
* irq.h: With the current scheme of encoding the bus number into theKanoj Sarcar2000-05-183-5/+6
| | | | | | | pci irq, we need to bump up NR_IRQs to handle more than 4 PCI busses. io.h: Port numbers are really "unsigned long", since they need to contain the nasids too. ip27-pci.c: Encode the nasid into the port number for isp1020 for pio.
* Less intrusive workaround for the gas ``-P'' bug.Ralf Baechle2000-05-181-1/+4
|
* Misc fixes.Kanoj Sarcar2000-05-171-8/+7
|
* Modify the SMP bootup sequence slightly, so that the master waitsKanoj Sarcar2000-05-171-5/+7
| | | | | a little longer till the slaves are about ready to begin their idle loop.
* The device initialization code can not assume it is being invoked onKanoj Sarcar2000-05-172-2/+7
| | | | | | the master processor, aka processor 0, or on nasid 0. In an SMP environment, any cpu can be doing do_basic_setup(). This fixes the rare bootup problems we were seeing on SMP.
* Fix rx/tx byte accounting. From Flo and Klaus Naumann.Ralf Baechle2000-05-161-1/+3
|
* Some cleaning of the support for machines with HZ other than aRalf Baechle2000-05-1616-4/+40
| | | | | architecture specific standard value. Not entirely at the point where we can send this to Linus.
* Cleanup RTC definitions. Patch with the entire MIPS RTC relatedRalf Baechle2000-05-162-3/+30
| | | | headerfile changes sent to Linus.
* Some small fixes and cleanups:Harald Koerfgen2000-05-166-61/+44
| | | | | | | | o superfluidous #ifdef __KERNEL__ in include/asm-mips/socket.h removed o we don't need a little endian version of waking_non_zero_interruptible() o arch/mips/config.in fixes and improvements o compile floppy/kbd/ide support only when the CONFIG options are set o IP22s aren't the only MIPS boxes without a PC speaker
* Fix SOCK_ constant definitions for all architectures. Patch sent toRalf Baechle2000-05-1612-43/+166
| | | | | Linus. Our diffs relativ to Linus' latest and greatest is getting fairly small now.
* Remove references to dead flag ASYNC_IOC3.Ralf Baechle2000-05-162-2/+1
|
* Fix the bridge register programming to indicate a 1:1 mapping betweenKanoj Sarcar2000-05-161-2/+3
| | | | PCI slot number and intr pin number.
* Move the intercpu intr irq numbers to the lowest possible. AssignKanoj Sarcar2000-05-153-69/+57
| | | | | | | all PCI irqs above that. Fix pci_map_irq to not just have 2 bits for slot number, else irq numbers will not be unique. Include the bus number as part of the irq for now, so that scsi controllers on various PCI busses get unique irq numbers.
* Fix copyright message. Linus flamed me on these messages so pleaseRalf Baechle2000-05-153-48/+31
| | | | | make sure for the future that the (C) notice is ok. ``unpublished proprietary information of Silicon Graphics'' isn't good ...
* Fix races in the low level intr handling code to prevent intr lossKanoj Sarcar2000-05-131-14/+28
| | | | | and double servicing of intrs. Read checked in comments for more details.
* sigset_t fixes and a few new functions..Ulf Carlsson2000-05-132-26/+206
|
* sigset_t is only 2 words nowadaysUlf Carlsson2000-05-131-3/+1
|
* Merge with Linux 2.3.99-pre8. Linus must hate me, too man patches ;-)Ralf Baechle2000-05-12307-6992/+53012
|
* Merge with Linux 2.3.99-pre7 and various other bits.Ralf Baechle2000-05-12813-11975/+45630
|
* Add sys32_writev and sys32_readv.Ulf Carlsson2000-05-122-3/+154
|
* Rudimentary nmi support to be able to do simple debugging on SMPKanoj Sarcar2000-05-124-1/+300
| | | | machines.
* Enable "reboot"ing the system.Kanoj Sarcar2000-05-111-1/+20
|
* SMP FPU management: similar to what sparc does, no lazy fpu contextKanoj Sarcar2000-05-117-15/+61
| | | | | | switching in SMP mode, use PF_USEDFPU to determine whether a program used the fpu in the last time quantum and so needs the fpu context to be saved during context switch.
* When last_task_used_math gets the cpu, ST0_CU1 is set during contextKanoj Sarcar2000-05-113-23/+90
| | | | | | | | | | | switch. All other FP programs have ST0_CU1 cleared in their thread_struct, so that they incur faults on first touching the FPU, and are made the FPU owner, aka last_task_used_math. used_math determines whether a thread has used the FPU before; if not, the FPU needs to be initialized before it can own the FPU. Note: a FP program that has already been using the fpu (not neccesarily the owner), must reinit the fpu if it uses the fpu in a signal handler; a sigreturn restores the original context, discarding the context of the handler.
* Some infrastructure for supporting multiple pci busses on origin200/2000.Leo Dagum2000-05-116-197/+391
| | | | | | | nasid and widget id get incoded in pci_dev->irq. pcibr_setup() now does some rudimentary probing for bridge widgets hanging off its xbow. We're not seeing interrupts from remote devices at the cpu, so mscsi card's are turned off for now.
* UP FPU state handling fixes: make sure to save the fpu state of theKanoj Sarcar2000-05-102-1/+5
| | | | | | | last fpu owner before we assign the fpu to a new math task. However is mips/mips64 working with this bug? Fix needs to be ported to 2.2/2.3 mips code. Additionally, the mips64 lazy_fpu_switch code seems to have a ".set reorder" at the wrong place.
* Sony name change patches from Geert.Ralf Baechle2000-05-109-9/+9
|
* SMP locking for IOC3 Ethernet driver. I've got more changes pendingRalf Baechle2000-05-101-8/+15
| | | | | but currently cannot test them on a SMP, so this is only the hopefully foolproof part.
* Fix for multiple detection of ethernet interface.Florian Lohoff2000-05-101-1/+1
| | | | Thanks to Klaus Naumann <spock@mgnet.de>
* *** empty log message ***Ulf Carlsson2000-05-101-2/+0
|
* Add sys32_nanosleep to get syslogd working.Ulf Carlsson2000-05-102-3/+56
| | | | Add sys32_sched_rr_get_interval while I'm at it.
* Add a forgotten `else' while I remember it.Ulf Carlsson2000-05-091-1/+1
|
* Bomb little endian compiles for select32, so that the little endian guysKanoj Sarcar2000-05-081-0/+4
| | | | can look at the issue and develope code appropriately.
* Forkdrop IA64 version of sys32_select. Forklift the sparc64 version.Kanoj Sarcar2000-05-071-18/+79
| | | | | When will I learn sparc64 is bigendian like mips64, and ia64 is little endian?
* Revert kernel page allocationFlorian Lohoff2000-05-041-20/+0
|
* Forklift sys32_select from IA64 code.Kanoj Sarcar2000-05-042-1/+103
|
* Fix the way we use the watchlo/watchhi registers to get to the taskKanoj Sarcar2000-05-041-1/+3
| | | | | struct of the currently executing thread: handle sign extension on the watchlo register.
* More low level debugging stuff that can be turned on with DEBUG_MIPS64.Kanoj Sarcar2000-05-033-0/+29
|
* SMP bootup and slave processor wakeup needs to be improved, but forKanoj Sarcar2000-05-031-1/+1
| | | | now, allow smp kernels to boot up on single cpu systems at least.
* Fix NUMA compile problem.Kanoj Sarcar2000-05-031-2/+0
|
* Change the output format of /proc/cpuinfo slightly to report the numberKanoj Sarcar2000-05-021-0/+2
| | | | of cpus.
* Multicpu boot fixes: 1. make sure each cpu only picks up the interruptsKanoj Sarcar2000-05-021-6/+31
| | | | | | | that are not masked on it. 2. hack around a single irq_action list, instead of a per cpu/hub irq_action list; for the intercpu intrs, the master cpu sets up the irq_action block, whereas all cpus just program their mask/hub registers to be able to receive the interrupts.
* SMP debugging enhancements.Kanoj Sarcar2000-05-013-3/+4
|
* Remove dead .text.Ralf Baechle2000-04-291-1/+0
|
* Print out cpu number in debug statements for SMP debugging.Kanoj Sarcar2000-04-281-4/+4
|
* Update defconfig files. Nastyness: 2.3.99 builds only with sysctlsRalf Baechle2000-04-284-6/+7
| | | | enabled and for headless systems Magic Sysrq disabled.
* Merge with 2.3.99-pre6.Ralf Baechle2000-04-28958-24867/+47177
|
* Have the slave cpus go into the reschedule loop to pick up tasks andKanoj Sarcar2000-04-271-1/+1
| | | | execute them.