OpenBSD cvs log

created 2020-12-13T00:34:23Z
begin 2020-12-07T00:00:00Z
end 2020-12-08T00:00:00Z
path src/sys
commits 10

date 2020-12-07T05:32:07Z
author jsg
files src/sys/dev/pci/drm/include/linux/types.h log diff annotate
message change from bus_addr_t to paddr_t for phys_addr_t and resource_size_t

Types stay unsigned long; we don't do 64 bit paddr_t on any 32 bit arch.

date 2020-12-07T08:29:41Z
author sashan
files src/sys/net/pf.c log diff annotate
message synproxy should be processing incoming SYN packets only.
issue noticed by sthen@. fix discussed with bluhm@ and procter@

OK bluhm@, kn@, procter@

date 2020-12-07T09:10:42Z
author jsg
files src/sys/dev/pci/drm/include/linux/mm.h log diff annotate
message remove unused (and wrong) page_address() macro

this is supposed to return a va for a page not pa

date 2020-12-07T09:14:09Z
author kettenis
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Use 1000baseKX, 2500baseKX and 10GbaseKR media types for fixed link
connections to an onboard switch.

ok patrick@

date 2020-12-07T11:15:50Z
author mpi
files src/sys/kern/kern_event.c log diff annotate
src/sys/sys/event.h log diff annotate
message Refactor kqueue_scan() so it can be used by other syscalls.

Stop iterating in the function and instead copy the returned events to
userland after every call.

ok visa@

date 2020-12-07T16:55:28Z
author mpi
files src/sys/kern/exec_elf.c log diff annotate
src/sys/kern/init_main.c log diff annotate
src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_fork.c log diff annotate
src/sys/kern/kern_proc.c log diff annotate
src/sys/kern/kern_resource.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
message Convert the per-process thread list into a SMR_TAILQ.

Currently all iterations are done under KERNEL_LOCK() and therefor use
the *_LOCKED() variant.

From and ok claudio@

date 2020-12-07T16:55:29Z
author mpi
files src/sys/kern/kern_synch.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/subr_witness.c log diff annotate
src/sys/kern/sys_process.c log diff annotate
src/sys/kern/tty.c log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/uvm/uvm_glue.c log diff annotate
message Convert the per-process thread list into a SMR_TAILQ.

Currently all iterations are done under KERNEL_LOCK() and therefor use
the *_LOCKED() variant.

From and ok claudio@

date 2020-12-07T17:34:49Z
author gnezdo
files src/sys/dev/acpi/dwgpio.c log diff annotate
message Initialize handled

ok kettenis@

date 2020-12-07T20:09:24Z
author tobhe
files src/sys/dev/pci/if_iwm.c log diff annotate
message Fix calculation of "maxlen" if there are multiple MPDUs in one packet.
Calculating "remain" by subtracting the offset after every parsed MPDU
is wrong and not necessary. "offset" always points to the current position
in the receive buffer and the maximum size of the buffer is fixed,
thus knowing "offset" is sufficient for finding "maxlen".

Found by and fix from Christian Erhardt
ok stsp@ phessler@

date 2020-12-07T20:12:04Z
author tobhe
files src/sys/dev/pci/if_iwx.c log diff annotate
message Fix calculation of "maxlen" if there are multiple MPDUs in one packet.
Calculating "remain" by subtracting the offset after every parsed MPDU
is wrong and not necessary. "offset" always points to the current position
in the receive buffer and the maximum size of the buffer is fixed,
thus knowing "offset" is sufficient for finding "maxlen".

Found by and fix from Christian Erhardt
ok stsp@