#
bffdb312 |
| 23-Oct-2024 |
mpi <mpi@openbsd.org> |
Rename `ci_intrdepth' to `ci_idepth'.
ok jsg@, visa@
|
#
4cab4d08 |
| 29-Apr-2021 |
visa <visa@openbsd.org> |
Remove unused RM7000 ICR handling.
|
#
c992d008 |
| 05-Sep-2019 |
visa <visa@openbsd.org> |
Implement splassert() on mips64.
|
#
ba0d7474 |
| 05-Sep-2019 |
visa <visa@openbsd.org> |
Adjust interrupt priority levels on mips64 so that priorities of soft interrupts are lower than priorities of hard interrupts. This allows the delivery of hard interrupts while soft interrupts are ma
Adjust interrupt priority levels on mips64 so that priorities of soft interrupts are lower than priorities of hard interrupts. This allows the delivery of hard interrupts while soft interrupts are masked.
show more ...
|
#
cae6d111 |
| 17-Mar-2019 |
visa <visa@openbsd.org> |
Move intr_barrier(9) to the platform level so that it can be customized.
|
#
095618eb |
| 16-Mar-2019 |
visa <visa@openbsd.org> |
Include header <sys/evcount.h> where event counters are used, so that header <machine/intr.h> can eventually stop including it on octeon.
|
#
cb5217fb |
| 24-Feb-2018 |
visa <visa@openbsd.org> |
Declare ci_ipl volatile to prevent the compiler from optimizing or reordering accesses to the variable. Assume that the assembler preserves the correct sequence of instructions, which allows the remo
Declare ci_ipl volatile to prevent the compiler from optimizing or reordering accesses to the variable. Assume that the assembler preserves the correct sequence of instructions, which allows the removal of the explicit noreorder/reorder toggles from the C code.
With ci_ipl being volatile, drop mips_sync() calls that follow the accesses of the variable. The sync is redundant as a compiler barrier. In addition, the MIPS64 CPU designs should not need the sync for pipeline or write buffer control. According to miod@, the use of the instruction is a carryover from code targeting early MIPS designs that lack tight integration with the cache and write buffer.
Discussed with and testing help from miod@. Tested on CN5020, CN6120, CN7130, CN7360, Loongson 2F and 3A1000, R4400, R8000, R10000 and R16000.
show more ...
|
#
aff9d062 |
| 11-Jun-2017 |
visa <visa@openbsd.org> |
Define register_splx_handler() in one place.
|
#
592093c1 |
| 16-Aug-2016 |
visa <visa@openbsd.org> |
Remove RM7000/RM9000-specific performance counter code. It originates from PMON2000 and has not been enabled on OpenBSD.
Suggested by and ok miod@ (after seeing a quad_t cleanup patch of mine)
|
#
b43ebd13 |
| 06-Mar-2016 |
mpi <mpi@openbsd.org> |
Rename mips64's trap_frame into trapframe.
For coherency with other archs and in order to use it in MI code.
ok visa@, tobiasu@
|
#
27262a1b |
| 13-Sep-2015 |
kettenis <kettenis@openbsd.org> |
intr_barrier(9) for loongson, octeon and sgi.
|
#
1b2dfb44 |
| 30-Sep-2014 |
jmatthew <jmatthew@openbsd.org> |
implement atomic operations using ll/sc, and convert rw_cas and callers of the pre-existing atomics to match.
tested on sgi (octane) and octeon (erl) ok miod@ dlg@
|
#
7b6ae6a5 |
| 03-Oct-2012 |
miod <miod@openbsd.org> |
Split ever-growing mips <machine/cpu.h> into what 99% of the kernel needs, which will remain in <machine/cpu.h>, and a new mips_cpu.h containing only the goriest md details, which are only of interes
Split ever-growing mips <machine/cpu.h> into what 99% of the kernel needs, which will remain in <machine/cpu.h>, and a new mips_cpu.h containing only the goriest md details, which are only of interest to a handful set of files; this is similar in spirit to what alpha does, but here <machine/cpu.h> does not include the new file.
show more ...
|
#
547c5d1d |
| 29-Sep-2012 |
miod <miod@openbsd.org> |
Add a few more coprocessor 0 cause and config registers defines.
|
#
c40b02a1 |
| 29-Sep-2012 |
miod <miod@openbsd.org> |
Proide a mips_sync() macro to wrap asm("sync"), and replace gazillions of such statements with it.
|
#
4667bebb |
| 20-Sep-2010 |
matthew <matthew@openbsd.org> |
Get rid of evcount's support for arranging counters in a tree hierarchy. Everything attached to a single root node anyway, so at best we had a bush.
"i think it is good" deraadt@
|
#
3f1243dc |
| 21-Apr-2010 |
deraadt <deraadt@openbsd.org> |
more cleanup to cope with the change that tries to make proc.h not act like it is everything.h ok tedu
|
#
69c64b83 |
| 13-Feb-2010 |
miod <miod@openbsd.org> |
Since we don't use the saved ipl in pcb anymore, remove it from the struct layout.
|
#
2f072529 |
| 18-Jan-2010 |
miod <miod@openbsd.org> |
Make trapdebug code MP-safe.
|
#
fd4ea5d8 |
| 09-Jan-2010 |
miod <miod@openbsd.org> |
Make interrupt depth counters per-cpu.
|
#
0cdf418b |
| 27-Nov-2009 |
syuu <syuu@openbsd.org> |
atomic counter increment for SMP. ok jsing@
|
#
05dbc6e4 |
| 26-Nov-2009 |
syuu <syuu@openbsd.org> |
Now IPI can interrupt to clock interrupt handler. It prevents deadlock with TLB shootdown and clock interrupt. ok miod@
|
#
0510320e |
| 22-Nov-2009 |
syuu <syuu@openbsd.org> |
Fix compile error in uniprocessor kernel. ok jsing@
|
#
6e672a30 |
| 22-Nov-2009 |
syuu <syuu@openbsd.org> |
Correct cording style. ok jsing@
|
#
874e9ff8 |
| 21-Nov-2009 |
syuu <syuu@openbsd.org> |
mplock, rw_cas implemented ok miod@
|