OpenBSD cvs log

created 2022-01-08T14:22:34Z
begin 2022-01-01T00:00:00Z
end 2022-01-02T00:00:00Z
path src/sys
commits 8

date 2022-01-01T07:00:57Z
author jsg
files src/sys/kern/init_main.c log diff annotate
message copyright++;

date 2022-01-01T11:45:35Z
author kettenis
files src/sys/arch/riscv64/riscv64/pmap.c log diff annotate
message Add missing locking to pmap_extract(9) and pmap_unwire(9).

ok patrick@, mpi@

date 2022-01-01T14:18:39Z
author kettenis
files src/sys/arch/riscv64/include/cpu.h log diff annotate
message Remove unused function prototype.

date 2022-01-01T18:52:26Z
author patrick
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message Use correct defines for random seed magic/length.

Spotted by Andreas Schnebinger

date 2022-01-01T18:52:36Z
author kettenis
files src/sys/arch/arm64/arm64/cpuswitch.S log diff annotate
src/sys/arch/arm64/arm64/cryptox.c log diff annotate
src/sys/arch/arm64/arm64/exception.S log diff annotate
src/sys/arch/arm64/arm64/fpu.c log diff annotate
src/sys/arch/arm64/arm64/machdep.c log diff annotate
src/sys/arch/arm64/arm64/process_machdep.c log diff annotate
src/sys/arch/arm64/arm64/syscall.c log diff annotate
src/sys/arch/arm64/arm64/trap.c log diff annotate
src/sys/arch/arm64/arm64/Attic/vfp.c log diff annotate
src/sys/arch/arm64/arm64/vm_machdep.c log diff annotate
message Rewrite the kernel FPU handling code. The new code saves the FPU state
in cpu_switch() instead of at the kernel edge and gets rid of the FPU
state tracking in struct cpu_info and struct pcb. This fixes the random
crashes seen with SMP kernels on Apple M1.

ok patrick@

date 2022-01-01T18:52:37Z
author kettenis
files src/sys/arch/arm64/conf/files.arm64 log diff annotate
src/sys/arch/arm64/dev/efi.c log diff annotate
src/sys/arch/arm64/include/armreg.h log diff annotate
src/sys/arch/arm64/include/cpu.h log diff annotate
src/sys/arch/arm64/include/fpu.h log diff annotate
src/sys/arch/arm64/include/pcb.h log diff annotate
src/sys/arch/arm64/include/Attic/vfp.h log diff annotate
message Rewrite the kernel FPU handling code. The new code saves the FPU state
in cpu_switch() instead of at the kernel edge and gets rid of the FPU
state tracking in struct cpu_info and struct pcb. This fixes the random
crashes seen with SMP kernels on Apple M1.

ok patrick@

date 2022-01-01T18:54:09Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Revert the hack for Apple M1 systems.

ok patrick@

date 2022-01-01T23:47:14Z
author guenther
files src/sys/arch/amd64/include/asm.h log diff annotate
src/sys/arch/sparc64/include/asm.h log diff annotate
message Add ENTRY_NB() macro for doing an ASM function entry without setting
the binding to global (NB == "no binding"), as clang 13 is now
warning about changing the binding from global to weak.

This first pass does amd64 and sparc64 and pulls DEFS.h out of the
per-arch directory to a common directory; others to follow

ok kettenis@