Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add sys32_writev and sys32_readv. | Ulf Carlsson | 2000-05-12 | 2 | -3/+154 |
| | |||||
* | Rudimentary nmi support to be able to do simple debugging on SMP | Kanoj Sarcar | 2000-05-12 | 3 | -1/+169 |
| | | | | machines. | ||||
* | Enable "reboot"ing the system. | Kanoj Sarcar | 2000-05-11 | 1 | -1/+20 |
| | |||||
* | SMP FPU management: similar to what sparc does, no lazy fpu context | Kanoj Sarcar | 2000-05-11 | 5 | -15/+36 |
| | | | | | | 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 context | Kanoj Sarcar | 2000-05-11 | 3 | -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 Dagum | 2000-05-11 | 3 | -195/+377 |
| | | | | | | | 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 the | Kanoj Sarcar | 2000-05-10 | 2 | -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 Baechle | 2000-05-10 | 7 | -7/+7 |
| | |||||
* | *** empty log message *** | Ulf Carlsson | 2000-05-10 | 1 | -2/+0 |
| | |||||
* | Add sys32_nanosleep to get syslogd working. | Ulf Carlsson | 2000-05-10 | 2 | -3/+56 |
| | | | | Add sys32_sched_rr_get_interval while I'm at it. | ||||
* | Bomb little endian compiles for select32, so that the little endian guys | Kanoj Sarcar | 2000-05-08 | 1 | -0/+4 |
| | | | | can look at the issue and develope code appropriately. | ||||
* | Forkdrop IA64 version of sys32_select. Forklift the sparc64 version. | Kanoj Sarcar | 2000-05-07 | 1 | -18/+79 |
| | | | | | When will I learn sparc64 is bigendian like mips64, and ia64 is little endian? | ||||
* | Revert kernel page allocation | Florian Lohoff | 2000-05-04 | 1 | -20/+0 |
| | |||||
* | Forklift sys32_select from IA64 code. | Kanoj Sarcar | 2000-05-04 | 2 | -1/+103 |
| | |||||
* | More low level debugging stuff that can be turned on with DEBUG_MIPS64. | Kanoj Sarcar | 2000-05-03 | 3 | -0/+29 |
| | |||||
* | SMP bootup and slave processor wakeup needs to be improved, but for | Kanoj Sarcar | 2000-05-03 | 1 | -1/+1 |
| | | | | now, allow smp kernels to boot up on single cpu systems at least. | ||||
* | Change the output format of /proc/cpuinfo slightly to report the number | Kanoj Sarcar | 2000-05-02 | 1 | -0/+2 |
| | | | | of cpus. | ||||
* | Multicpu boot fixes: 1. make sure each cpu only picks up the interrupts | Kanoj Sarcar | 2000-05-02 | 1 | -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 Sarcar | 2000-05-01 | 3 | -3/+4 |
| | |||||
* | Print out cpu number in debug statements for SMP debugging. | Kanoj Sarcar | 2000-04-28 | 1 | -4/+4 |
| | |||||
* | Update defconfig files. Nastyness: 2.3.99 builds only with sysctls | Ralf Baechle | 2000-04-28 | 4 | -6/+7 |
| | | | | enabled and for headless systems Magic Sysrq disabled. | ||||
* | Merge with 2.3.99-pre6. | Ralf Baechle | 2000-04-28 | 210 | -6311/+5686 |
| | |||||
* | Have the slave cpus go into the reschedule loop to pick up tasks and | Kanoj Sarcar | 2000-04-27 | 1 | -1/+1 |
| | | | | execute them. | ||||
* | sigprocmask needs to be 32-bitized. | Kanoj Sarcar | 2000-04-27 | 2 | -1/+20 |
| | |||||
* | Initialize the slave cpu tlb registers during bootup. | Kanoj Sarcar | 2000-04-26 | 1 | -0/+2 |
| | |||||
* | Fix the sysentry debugging code: can never do a SAVE_SOME with intrs | Kanoj Sarcar | 2000-04-26 | 1 | -2/+5 |
| | | | | | enabled, that might wipe out the effects of the previous SAVE_SOME done at the beginning of handle_sys. | ||||
* | Enalbe interrupts on slave cpus. | Kanoj Sarcar | 2000-04-26 | 1 | -0/+1 |
| | |||||
* | Make the sysentry debugging code a little more versatile. | Kanoj Sarcar | 2000-04-25 | 2 | -2/+8 |
| | |||||
* | We use the ST0_CU0 bit to determine whether we are coming into | Kanoj Sarcar | 2000-04-25 | 2 | -1/+13 |
| | | | | | | | | | | kernel mode for the first time from user mode (on intr/exception/ syscall etc). If so, we need to set the sp to point to the kernel stack. On UP kernels, the kernel stack pointer is stored in the global variable "kernelsp". For SMP kernel, the physical address of the current task structure is stuffed into the watchlo/watchhi registers, so on first entry into the kernel, we need to munge this value properly to setup the sp register. | ||||
* | Pick a name for the idle process on each cpu - easier for debugging. | Kanoj Sarcar | 2000-04-24 | 1 | -0/+1 |
| | |||||
* | Fix the init_new_context code not to zap the percpu tlbpid array when | Kanoj Sarcar | 2000-04-24 | 2 | -4/+4 |
| | | | | | | doing a clone-vm operation. Also, the intercpu tlbflush code now properly does its job by flushing the tlbpid only on the current processor, and not on all. | ||||
* | scall_64.S: Move to kernel mode and enable intrs properly. | Kanoj Sarcar | 2000-04-23 | 5 | -23/+36 |
| | | | | | | | | r4k_tlb_glue.S: The fast handlers must work with intrs disabled, since we can not risk changes in entryhi/lo/tlbregisters. do_page_fault() _must_ work with intrs enabled, to prevent deadlocks in the intercpu tlbflush code. andes.c/r4xx0.c: Make tlb register accesses conservatively safe from intrs coming in and changing register contents. | ||||
* | Change all instances of __SMP__ to CONFIG_SMP and include | Ralf Baechle | 2000-04-23 | 2 | -3/+5 |
| | | | | <linux/config.h> where necessary. | ||||
* | First cut at intercpu tlb flushing. | Kanoj Sarcar | 2000-04-22 | 4 | -7/+66 |
| | |||||
* | Per cpu tlbpid (asid) management for SMP. The asid cache is now per | Kanoj Sarcar | 2000-04-22 | 5 | -69/+91 |
| | | | | cpu, and stays in cpu_data[]. | ||||
* | Delete unused junk "current_pgd". | Kanoj Sarcar | 2000-04-21 | 2 | -2/+0 |
| | |||||
* | Don't overwrite the cache exception handler. | Ralf Baechle | 2000-04-21 | 1 | -3/+1 |
| | |||||
* | Merge with Linux 2.3.99-pre5. | Ralf Baechle | 2000-04-19 | 4 | -462/+546 |
| | |||||
* | Merge with Linux 2.3.99-pre4. | Ralf Baechle | 2000-04-19 | 147 | -2302/+3886 |
| | |||||
* | Pause fix for mips64. | Ralf Baechle | 2000-04-19 | 3 | -2/+9 |
| | |||||
* | Pause(2) fix for 2.3. | Ralf Baechle | 2000-04-18 | 4 | -189/+36 |
| | |||||
* | Obligatory UP compile fixes after SMP code changes ... | Kanoj Sarcar | 2000-04-17 | 1 | -4/+2 |
| | |||||
* | Intercpu interrupt changes: add in dedicated intr levels for reschedule | Kanoj Sarcar | 2000-04-17 | 2 | -24/+106 |
| | | | | and call function interrupts (tlbflush for later). | ||||
* | More intercpu interrupt work: we now have a low level inter cpu intr | Kanoj Sarcar | 2000-04-17 | 2 | -26/+42 |
| | | | | handler. | ||||
* | Revert to the older irq - pendlevel mapping. | Kanoj Sarcar | 2000-04-12 | 1 | -2/+2 |
| | |||||
* | Move the irq to swlevel mappings a little bit to make space for the | Kanoj Sarcar | 2000-04-12 | 1 | -3/+4 |
| | | | | inter cpu intrs at the same level as IRIX. | ||||
* | The state of the two interrupt mask registers for the 128 intr levels | Kanoj Sarcar | 2000-04-12 | 1 | -4/+15 |
| | | | | for each cpu in the hub is now stored in the per processor data area. | ||||
* | Allow the low level ISR to be able to handle intrs on cpu A or B. | Kanoj Sarcar | 2000-04-12 | 1 | -4/+6 |
| | |||||
* | Moved set_cp0_status(SRB_DEV0 | SRB_DEV1, SRB_DEV0 | SRB_DEV1) | Leo Dagum | 2000-04-10 | 1 | -1/+1 |
| | | | | outside is_slave conditional. All cpu's need to call this now. | ||||
* | Fixed bridge_init() so it sets registers for the | Leo Dagum | 2000-04-10 | 1 | -2/+5 |
| | | | | | | | | calling process's bridge (not necessarily node 0), and removed call to set_cp0_status() (now in per_cpu_init()). b_wid_int_upper still points to node 0, I don't want to change this till I have a multinode system and kernel to test on. |