Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-21 | two more proc.h needed | Theo de Raadt | |
2010-04-21 | more cleanup to cope with the change that tries to make proc.h not act | Theo de Raadt | |
like it is everything.h ok tedu | |||
2010-03-28 | Correctly report the R16010 version. | Miod Vallat | |
2010-03-07 | Correct layout of arc_config{,64} and order of items in enum arc_config_type. | Miod Vallat | |
ok deraadt@ | |||
2010-03-03 | Store ARCBios variables before machine specific setup is performed and | Joel Sing | |
make console selection on a per machine basis. Whilst here store the keyboard layout ('keybd') and graphics state ('gfx') variables for future use. ok miod@ | |||
2010-03-02 | Add support for the Lemote Lynloong all-in-one PC (basically a Fuloong without | Miod Vallat | |
the serial and IR ports, built into a mac-like case). At least PMON initializes the frame buffer in a much friendlier video mode (1360x768x16), but there is still no frame buffer acceleration yet. Tested by wvdputte. | |||
2010-03-01 | - properly spell 'exception' in comments | Jasper Lievisse Adriaanse | |
- properly spell 'usefulness' | |||
2010-02-28 | Pass L2 cache size in struct cpu_hwinfo, so that bootstrap of secondary | Miod Vallat | |
processors can display correct data. Now cpu1 on octane is correctly reported in dmesg. | |||
2010-02-28 | Add an explicit `delay constant' member to struct cpu_info, so that it can | Miod Vallat | |
be decoupled from the nominal processor speed. While there, make sure delay() gets a proper delay constant if invoked before cpu0 attaches (how could I miss that when introducing struct cpu_hwinfo?!?) | |||
2010-02-13 | Since the TLB handler exception code is now always a trampoline to branch | Miod Vallat | |
to the handler code in the kernel, we can use relative branches in it to make it a bit faster. Also, get rid of the tlbmiss handler and have both the tlb and xtlb refill exceptions branch to the xtlbmiss handler. | |||
2010-02-13 | Since we don't use the saved ipl in pcb anymore, remove it from the struct | Miod Vallat | |
layout. | |||
2010-02-11 | fuloong model define | Otto Moerbeek | |
2010-02-08 | Minimal completion support for .l.s and .l.d routines, necessary for at | Miod Vallat | |
least the R5k and R10k family FPU which trap if the operands are too large (i.e. positive unbiased exponent > fracbits). This is quick and dirty band aid until that code is replaced with interface code to the MI kernel softfloat code. | |||
2010-02-05 | Blind support for the EMTEC Gdium Liberty netbook. Per-platform configuration | Miod Vallat | |
is moved to specific files, and a pointer to the key configuration structure is now kept in struct sys_config. bonito(4) interrupt handling is split, to allow PCI+Legacy interrupt systems (Lemote Yeelong) and PCI-only Legacy-free systems (Gdium) to coexist peacefully. | |||
2010-02-02 | Skip calling smp_rendezvous if it's not necessary. | Takuya ASADA | |
ok miod@ | |||
2010-02-02 | lazy FP saving on uniprocessor, just like macppc. | Takuya ASADA | |
ok miod@ | |||
2010-02-01 | On Loongson 2 processors, clear the branch target buffer on userland->kernel | Miod Vallat | |
transitions, to work around an evil horde of evil bugs in the processor's branch prediction logic. This finally makes the Lemote Yeeloong stable, and I can now spend my time looking for hair implants resellers. | |||
2010-01-31 | Remove !__LP64__ bits and __LP64__ tests. | Miod Vallat | |
2010-01-28 | The RA stack control bit on the loongson2 diagnostic register is not a clear | Miod Vallat | |
but a disable bit; rename the define and keep the RA stack disabled at all times - I blame the few remaining hard freezes on it. | |||
2010-01-28 | Make sure we also cause an iTLB and BTB flush on loongson processors during | Miod Vallat | |
regular tlb replacement, as well. Helps stability a lot, still not perfect. | |||
2010-01-23 | Give little-endian fp on mips a change to be handled correctly. | Miod Vallat | |
2010-01-22 | Move is_memory_range() from mips64 mem.c to a per-architecture location; this | Miod Vallat | |
allows /dev/kmem to access the 256MB alias of the low memory on loongson, which in turns makes procmap(8) happy. | |||
2010-01-21 | *Write* to the magic Loongson2 register to invalidate iTLB and branch | Miod Vallat | |
prediction caches, instead of *reading* it. Ahem. Blush. Yeelong lemote now run single user. | |||
2010-01-21 | Use db_printf() instead of printf() in db_dump_tlb_cmd() and trapDump(), so | Miod Vallat | |
that the output can be paused by ddb if it spans too many lines. | |||
2010-01-18 | In stacktrace(), when aborting a traceback because of nonsensical pc or sp | Miod Vallat | |
value, don't print a final bogus traceback line. | |||
2010-01-18 | Do not call splx() from cpu_switchto(), we are at IPL_SCHED anyway and ipl will | Miod Vallat | |
be lowered later, by the caller. This was supposed to be harmless, but newly created processes inherit a bogus level from proc0, which in turn causes a race on MULTIPROCESSOR kernel. | |||
2010-01-18 | dosoftint() being invoked at IPL_SOFTINT, don't bother checking the ipl before | Miod Vallat | |
grabbing the kernel lock. | |||
2010-01-18 | Define IPL_SCHED as IPL_CLOCK, not IPL_HIGH. | Miod Vallat | |
2010-01-18 | In proc_trampoline(), don't spl0() if option MULTIPROCESSOR; this is already | Miod Vallat | |
done for us by proc_trampoline_mp(). | |||
2010-01-18 | Make trapdebug code MP-safe. | Miod Vallat | |
2010-01-16 | Merge db_stack_trace_print() and stacktrace() logic, and have the former | Miod Vallat | |
invoke the latter to avoid duplicating code. Fix the logic by looking for `sd' instructions for register saves only, and read the whole 64-bit value then. Makes the backtraces less wrong. | |||
2010-01-16 | Fix types so that the upper 32 bits of addresses of branches are correct. | Miod Vallat | |
2010-01-14 | When trying to get a stack trace, consider CKSEG1 addresses as invalid, as the | Miod Vallat | |
kernel will never use them for code or stack. | |||
2010-01-13 | Do not lose ra on the first loop (regression from 1.20) | Miod Vallat | |
2010-01-10 | Make sure END() matches the *{LEAF,ENTRY}() function names. | Miod Vallat | |
2010-01-09 | L2 cache line is at least 64 bytes long on r10k, so use 64 byte increments to | Miod Vallat | |
flush L2 in Mips10k_SyncCache(). | |||
2010-01-09 | Make interrupt depth counters per-cpu. | Miod Vallat | |
2010-01-09 | Move more R5000 code behind proper #ifdef stanzas. | Miod Vallat | |
2010-01-09 | Move cache information from global variables to per-cpu_info fields; this | Miod Vallat | |
allows processors with different cache sizes to be used. Cache management routines now take a struct cpu_info * as first parameter. | |||
2010-01-09 | Define struct cpu_hwinfo, to hold hardware specific information about each | Miod Vallat | |
processor (instead of sys_config.cpu[]), and pass it in the attach_args when attaching cpu devices. This allows per-cpu information to be gathered late in the bootstrap process, and not be limited by an arbitrary MAX_CPUS limit; this will suit IP27 and IP35 systems better. While there, use this information to make sure delay() uses the speed information from the cpu it is invoked on. | |||
2010-01-09 | Correctly check /dev/kmem offsets within directly translated segments (XKPHYS | Miod Vallat | |
or CKSEG) against the actual physical memory segments, instead of assuming contiguous physical memory starting from zero, as this is utterly wrong on Octane (and a bit less wrong on other systems (-: ) | |||
2010-01-08 | Fix compile failure on MP kernel(missing P_CPU macro on mips64/mips64/context.S) | Takuya ASADA | |
2010-01-08 | MP-safe FPU handling. ok miod@ | Takuya ASADA | |
2010-01-07 | Repair non-MULTIPROCESSOR kernel compilation. | Miod Vallat | |
2010-01-07 | Make sure to update p_cpu on MULTIPROCESSOR kernels. | Miod Vallat | |
2010-01-07 | Enable IPI interrrupt in trap. ok miod@ | Takuya ASADA | |
2010-01-05 | Dynamic allocation for ASID and ASID generation number on struct pmap. ok miod@ | Takuya ASADA | |
2010-01-03 | Use a split genassym.cf scheme on mips64 ports. Don't forget to rerun config(8). | Miod Vallat | |
2010-01-01 | Make sure than ptrace functions never return a non-zero value in the zero | Miod Vallat | |
register. | |||
2010-01-01 | Make sure we grab the kernel lock before invoking trapsignal(). | Miod Vallat | |