OpenBSD cvs log

created 2021-05-23T13:24:06Z
begin 2021-05-15T00:00:00Z
end 2021-05-16T00:00:00Z
path src/sys
commits 12

date 2021-05-15T00:04:32Z
author drahn
files src/sys/arch/riscv64/riscv64/copy.S log diff annotate
message Load the fault handler into the correct register.
Having the onfault dance in a macro makes this almost unreadable.
Initial failure found by deraadt, cause finally found.

date 2021-05-15T08:07:20Z
author yasuoka
files src/sys/net/pipex.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/sys/mbuf.h log diff annotate
message Fix IPsec NAT-T to work with pipex(4). Introduce a new packet tag
PACKET_TAG_IPSEC_FLOWINFO to specify the IPsec flow.

ok mvs

date 2021-05-15T11:30:27Z
author kettenis
files src/sys/arch/arm64/arm64/intr.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/vfp.c log diff annotate
src/sys/arch/arm64/dev/agintc.c log diff annotate
src/sys/arch/arm64/dev/ampintc.c log diff annotate
src/sys/arch/arm64/dev/bcm2836_intr.c log diff annotate
src/sys/arch/arm64/dev/efi.c log diff annotate
src/sys/arch/arm64/include/cpu.h log diff annotate
message Use intr_enable()/int_disable()/intr_restore() instead of
enable_interrupts()/disable_interrupts()/restore_interrupts() and remove
the latter interfaces.

While there move a few malloc(9) and free(9) calls to run with interrupts
enabled.

ok patrick@

date 2021-05-15T13:56:56Z
author deraadt
files src/sys/arch/riscv64/riscv64/syscall.c log diff annotate
message improve comment regarding child_return() clearing errno-indicating flag

date 2021-05-15T14:05:35Z
author deraadt
files src/sys/arch/riscv64/include/pmap.h log diff annotate
src/sys/arch/riscv64/riscv64/pmap.c log diff annotate
message pmap_fault_fixup() does not need "int user"
ok kettenis

date 2021-05-15T14:05:36Z
author deraadt
files src/sys/arch/riscv64/riscv64/trap.c log diff annotate
message pmap_fault_fixup() does not need "int user"
ok kettenis

date 2021-05-15T14:20:11Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/ldscript.arm64 log diff annotate
message Remove OUTPUT_FORMAT and OUTPUT_ARCH from linker script. These are
no-ops for ld.lld.

ok deraadt@

date 2021-05-15T20:05:05Z
author deraadt
files src/sys/arch/riscv64/conf/Makefile.riscv64 log diff annotate
src/sys/arch/riscv64/riscv64/Attic/copyinout.S log diff annotate
message copyinout.S is not used

date 2021-05-15T20:12:24Z
author deraadt
files src/sys/arch/riscv64/riscv64/trap.c log diff annotate
message Reorganize kernel & user fault handling into seperate functions like on
other architectures. During refactoring, found missing calls to important
functions and incorrect parameter passing...
ok kettenis drahn

date 2021-05-15T20:14:05Z
author deraadt
files src/sys/arch/riscv64/riscv64/copy.S log diff annotate
src/sys/arch/riscv64/riscv64/copystr.S log diff annotate
message In all the copyin family functions, must compare end-address against
VM_MAXUSER_ADDRESS with bgtu, signed comparison is incorrect. Now passes
regress/sys/copy
ok drahn kettenis

date 2021-05-15T20:20:35Z
author deraadt
files src/sys/arch/riscv64/riscv64/trap.c log diff annotate
message in kdata_abort, error must be initialized to 0 (like arm64)
spotted by drahn

date 2021-05-15T20:51:12Z
author kettenis
files src/sys/arch/riscv64/conf/Makefile.riscv64 log diff annotate
message Add back -mno-relax for now. Retain the -target option but put it on
a line of its own to improve diffability with other architectures.

ok drahn@