created | 2021-05-23T13:39:00Z |
---|---|
begin | 2021-05-21T00:00:00Z |
end | 2021-05-22T00:00:00Z |
path | src/sys |
commits | 8 |
date | 2021-05-21T00:39:35Z | |||
---|---|---|---|---|
author | gkoehler | |||
files | src/sys/arch/powerpc/include/mplock.h | log | diff | annotate |
src/sys/arch/powerpc/powerpc/lock_machdep.c | log | diff | annotate | |
message |
Fix __ppc_lock for page faults that recursively grab the lock. The macppc kernel, when running on G5, may get page faults while executing itself. Because we reorder our kernels, these faults happen in different places in each kernel. I got unlucky with a bsd.mp where the function __ppc_lock() crossed a page boundary. The fault handler recursively called __ppc_lock() and caused my G5 to freeze or hang very early during boot, while trying to map the framebuffer. Change the lock to spin while (mpl->mpl_cpu != NULL). Acquire the lock with a single atomic write, by setting mpl_cpu and leaving mpl_count at 0. Page faults that recursively call __ppc_lock() and __ppc_unlock() should now not corrupt the lock. In case we hold the lock but get a page fault before membar_enter() or after membar_exit(), the recursive calls now have memory barriers. Delete some unused functions. In the past, __ppc_lock was __mp_lock, but today, the only __ppc_lock is PMAP_HASH_LOCK. ok kettenis@ |
date | 2021-05-21T10:59:02Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/sys/socketvar.h | log | diff | annotate |
message |
Fix style(9) in prototypes definition. ok ratchov@ |
date | 2021-05-21T14:41:57Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/pmap.c | log | diff | annotate |
message |
Fix some comments and use pmap_pte_insert() to update PTEs instead of manipulating them directly in pmap_clear_modify(). ok deraadt@ |
date | 2021-05-21T15:37:54Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/amlpinctrl.c | log | diff | annotate |
message | Add an additional pin configuration. |
date | 2021-05-21T16:49:35Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/riscv64/include/syscall.h | log | diff | annotate |
message | delete useless comment |
date | 2021-05-21T16:49:57Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/riscv64/include/profile.h | log | diff | annotate |
message | delete useless comment |
date | 2021-05-21T16:50:48Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/riscv64/include/param.h | log | diff | annotate |
src/sys/arch/riscv64/riscv64/locore.S | log | diff | annotate | |
message | reduce diff relative to other arch (arm64 seems most relevant here) |
date | 2021-05-21T18:53:12Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/agintc.c | log | diff | annotate |
message |
Avoid spinning on the kernel lock with interrupts disabled. ok patrick@ |