summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel
Commit message (Collapse)AuthorAgeFilesLines
* Merge with 2.4.0-test4-pre2.Ralf Baechle2000-07-121-0/+1
|
* Don't include config.h.Ralf Baechle2000-07-121-3/+2
|
* This one relies on config.h.Ralf Baechle2000-07-121-2/+2
|
* We don't need config.h.Ralf Baechle2000-07-121-5/+3
|
* $28 has to be setup before prom_init because smp_processor_id()Ulf Carlsson2000-07-111-4/+4
| | | | is used in __wake_up.
* Merge with Linux 2.4.0-test3.Ralf Baechle2000-07-111-1/+1
|
* Remove bogusity.Ulf Carlsson2000-07-101-3/+2
|
* Same for 64-bit kernel.Ralf Baechle2000-07-091-8/+7
|
* Kill warnings in the 64-bit kernel.Ralf Baechle2000-07-098-70/+68
|
* We have to enable interrupts *AFTER* we read CP0_BADVADDR.Ulf Carlsson2000-07-081-2/+3
| | | | We should not do ret_from_irq after a page fault.
* Merge with Linux 2.4.0-test3-pre5. 64-bit kernel are still notRalf Baechle2000-07-083-16/+5
| | | | -Werror clean.
* Merge with 2.4.0-test3-pre4.Ralf Baechle2000-07-083-145/+60
|
* Vmalloc/vfree fixes: use swapper_pg_dir[0] for the vmalloc rangeKanoj Sarcar2000-07-062-1/+10
| | | | | | translations, use a kernel pmd table that points into the kptbl[]. This is to make the generic part of vmalloc()/vfree() find pgd/pmd/pte that it expects.
* Truncate sign extension in oops.Ulf Carlsson2000-07-011-1/+5
|
* Fix the oops messages.Ulf Carlsson2000-07-011-11/+11
|
* Implement a functional vmalloc(). THe vmalloc range address translationsKanoj Sarcar2000-06-303-5/+59
| | | | | | | | are stashed in an array of page tables, starting from kptbl[]. The fast tlbmiss handler quickly checks to see if the faulting address is in the vmalloc range, and if so, it uses the translations in the kptbl to update the tlbs. Still to do: tlb invalid faults in the vmalloc range needs to be handled properly.
* Explain pgd/pmd allocation failure strategies. Create a global bad-pmd-table,Kanoj Sarcar2000-06-271-1/+0
| | | | | | | distinct from invalid-pmd-table for use during pmd allocation failure (so as to differentiate pgd_bad and pgd_none). The bad page table must have invalid pte entries to catch any user references to the range of virtual addresses it covers.
* Fix another minor typo - get the global/special page symbols to pointKanoj Sarcar2000-06-271-1/+1
| | | | to their rightful locations.
* Delete pmd_present/pgd_present. Explain pgd/pmd/pte allocation andKanoj Sarcar2000-06-261-2/+3
| | | | | initialization. Make sure to allocate only one page for the page table (prevent memory leaks), since only one page is freed up.
* Fix typo to make sure the page directory/tables get aligned on to pageKanoj Sarcar2000-06-241-1/+1
| | | | boundaries.
* Sys32_fcntl from sparc to prevent procmail from confusing the kernel.Kanoj Sarcar2000-06-232-1/+62
|
* Fix struct stat64 in the 32-bit kernel and struct stat in the 64-bitRalf Baechle2000-06-202-30/+7
| | | | | kernel to match each other and the the glibc definition. The glibc part of this change has been sent to Andreas.
* Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make mergingRalf Baechle2000-06-194-30/+25
| | | | | possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown.
* Merge with 2.4.0-test1.Ralf Baechle2000-06-161-1/+36
|
* One more 32bit call.Kanoj Sarcar2000-06-142-1/+45
|
* The tlb mod/load/store exception handlers _have_ to go to do_page_fault,Kanoj Sarcar2000-06-133-159/+15
| | | | | and can not do with pte bit twiddling without grabbing page_table_lock. Reinstate most of the old code, after disposing of an extra jump.
* Fix the code that puts in (possibly different) tlblo0/tlblo1 entriesKanoj Sarcar2000-06-121-3/+5
| | | | for the mapped kernel. Compute the "pfn" field properly.
* Have the slave bootstrap code actually look at the text and data serverKanoj Sarcar2000-06-091-2/+7
| | | | | nasids that the master nasid found for it. Sanitize the replication procedures.
* Each node needs to have a structure that the master nasid fills up toKanoj Sarcar2000-06-091-1/+0
| | | | | tell it where to get the kernel data from (ie, which nasid holds the kernel data). Remove debug cruft from head.S.
* Step one of trying to remove the assumption that nasid 0 is presentKanoj Sarcar2000-06-081-3/+33
| | | | from the mapped kernel code.
* Mapped kernel changes: create elf sections as close as possible toKanoj Sarcar2000-06-081-31/+27
| | | | | IRIX, to get the same kind of loader behavior. Read comments in mapped_kernel.h for more details.
* *** empty log message ***Ralf Baechle2000-06-061-12/+13
|
* MAke sure the mapped kernel does not loose its prom command line.Kanoj Sarcar2000-06-061-1/+0
|
* Entrylo1 must at least be marked global for the tlb entry mapping theKanoj Sarcar2000-06-061-1/+2
| | | | mapped kernel text/data for tlb translation to work properly.
* The tlbwired register is now set up in the head.S code.Kanoj Sarcar2000-06-061-363/+115
|
* Initial rudimentary support for mapped kernel. The kernel text and dataKanoj Sarcar2000-06-061-87/+368
| | | | | | are placed in the cksseg area, and such behavior is tuned thru a make option (off by default). Basis for future kernel text replication and partitioning work/study.
* Fix the address twiddling. For some reason, the code that I was expectingKanoj Sarcar2000-06-051-11/+10
| | | | | was not getting generated (coding problem or cpp/as problem, no point tracking this down).
* Set smp_num_cpus in the IP27 specific code. Getting ready to handleKanoj Sarcar2000-06-021-2/+0
| | | | PROM-disabled cpus.
* Now that __kernel_clock_t is 64 bits, we need to make sure we have aKanoj Sarcar2000-06-012-1/+30
| | | | | | 32 bit version of the sys_times() call (like sparc64, ia64), else the kernel overwrites user space it is not supposed to. Compilations could not be done because of this.
* Forgot..Ulf Carlsson2000-05-301-2/+3
|
* First cut of TLB handlers in assembler. I'm not usingUlf Carlsson2000-05-252-10/+227
| | | | | | | | | the context register as it should be used, but let's look into that later. If there is a problem with the code it will crash after right after freeing unused kernel memery. I have this code tested on both UP and SMP though.
* We have to check for pending signals when we return from do_page_fault toUlf Carlsson2000-05-201-1/+1
| | | | handle sigbus and sigsegv within a reasonable amount of time.
* Call syscall_trace after finishing the sigreturn syscall but beforeRalf Baechle2000-05-192-0/+8
| | | | returning from userspace.
* Less intrusive workaround for the gas ``-P'' bug.Ralf Baechle2000-05-181-1/+4
|
* 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-pre7 and various other bits.Ralf Baechle2000-05-121-32/+44
|
* Add sys32_writev and sys32_readv.Ulf Carlsson2000-05-122-3/+154
|
* SMP FPU management: similar to what sparc does, no lazy fpu contextKanoj Sarcar2000-05-115-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 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.