OpenBSD cvs log

created 2021-08-03T07:29:10Z
begin 2021-07-02T00:00:00Z
end 2021-07-03T00:00:00Z
path src/sys
commits 9

date 2021-07-02T03:10:19Z
author deraadt
files src/sys/arch/alpha/stand/netboot/Makefile log diff annotate
message __remq.S will be needed soon.

date 2021-07-02T08:44:37Z
author kettenis
files src/sys/arch/riscv64/include/sbi.h log diff annotate
src/sys/arch/riscv64/riscv64/cpu.c log diff annotate
src/sys/arch/riscv64/riscv64/sbi.c log diff annotate
message Run SBI calls to to get mvendorid/marchid/mimplid on the actual CPU we're
probing and decode mvendorid and marchid.

ok mlarkin@, deraadt@, jsg@

date 2021-07-02T08:53:28Z
author kettenis
files src/sys/arch/riscv64/riscv64/pmap.c log diff annotate
message Only do TLB shootdown on CPUs where a pmap is active. Only make SBI calls
that do a remote SFENCE.VMA or FENCE.I if the set of hart IDs isn't empty.
This significantly speeds things up.

ok jsg@

date 2021-07-02T10:42:22Z
author kettenis
files src/sys/arch/riscv64/include/bootconfig.h log diff annotate
src/sys/arch/riscv64/include/vmparam.h log diff annotate
src/sys/arch/riscv64/riscv64/genassym.cf log diff annotate
src/sys/arch/riscv64/riscv64/locore.S log diff annotate
src/sys/arch/riscv64/riscv64/locore0.S log diff annotate
src/sys/arch/riscv64/riscv64/machdep.c log diff annotate
message Cleanup early bootstrap code. This mostly realigns the code with the
FreeBSD code from which it was derived. In particular, it uses the same
trick to switch page tables as FreeBSD, which is what we use to spin up
the secondary CPUs already. This avoids having to install a temporary
1:1 mapping.

ok mlarkin@

date 2021-07-02T12:17:41Z
author bluhm
files src/sys/kern/uipc_syscalls.c log diff annotate
message Writing ktrace files to NFS must no be done while holding the net
lock. accept(2) panics, connect(2) dead locks. Additionally copy
in or out must not hold the net lock as it may be a memory mapped
file on NFS.
Simplify dns_portcheck(), it does not modify namelen anymore.
In doaccept() release the socket lock before calling copyaddrout().
Rearrange the checks in sys_connect() like they are in sys_bind().
OK mpi@

date 2021-07-02T14:50:18Z
author kettenis
files src/sys/arch/riscv64/riscv64/machdep.c log diff annotate
message Remove a few pointless comments.

date 2021-07-02T14:58:33Z
author kettenis
files src/sys/arch/riscv64/riscv64/cpuswitch.S log diff annotate
message Remove bogus comments.

date 2021-07-02T19:55:00Z
author kettenis
files src/sys/arch/arm64/dev/bcm2836_intr.c log diff annotate
message Avoid spinning with interrupts disabled in the rpi3.

tested by sthen@ (a while ago)

date 2021-07-02T20:39:25Z
author kettenis
files src/sys/arch/arm64/arm64/machdep.c log diff annotate
message Avoid local variable definitions in the middle of code.