OpenBSD cvs log

created 2020-10-04T08:01:50Z
begin 2020-09-29T00:00:00Z
end 2020-09-30T00:00:00Z
path src/sys
commits 9

date 2020-09-29T01:44:40Z
author kevlo
files src/sys/dev/usb/if_ure.c log diff annotate
message Add TP-LINK UE300 device.
Tested by Joel Carnat.

ok deraadt@

date 2020-09-29T03:06:34Z
author guenther
files src/sys/arch/amd64/isa/isa_machdep.c log diff annotate
message Delete dead isa_strayintr() and fakeintr() code, along with multiple
dead variables, present from the fork from i386 but unused since the
interrupt code on amd64 managed to divorce its ISA heritage

ok deraadt@

date 2020-09-29T09:11:44Z
author mpi
files src/sys/dev/usb/ugen.c log diff annotate
message Set the correct length before copying to userland.

Prevent copying a partial and corrupted descriptor or leaking kernel
memory.

ok kn@, deraadt@

date 2020-09-29T11:47:41Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
src/sys/uvm/uvm_pdaemon.c log diff annotate
src/sys/uvm/uvm_swap.c log diff annotate
src/sys/uvm/uvm_swap.h log diff annotate
message Introduce a helper to check if all available swap is in use.

This reduces code duplication, reduces the diff with NetBSD and will help
to introduce locks around global variables.

ok cheloha@

date 2020-09-29T11:48:54Z
author claudio
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_syscalls.c log diff annotate
message Move the solock() call outside of solisten(). The reason is that the
so_state and splice checks were done without the proper lock which is
incorrect. This is similar to sobind(), soconnect() which also require
the callee to hold the socket lock.
Found by, with and OK mvs@, OK mpi@

date 2020-09-29T13:50:54Z
author patrick
files src/sys/dev/i2c/pca9548.c log diff annotate
message The pcamux(4) device tree node's children are the individual channels,
which we each treat as an I2C bus. While scanning these, we need to
use each channel's node as starting point instead of the pcamux(4) node.
This fixes finding and attaching devices connected to these channels.

ok kettenis@

date 2020-09-29T13:59:22Z
author patrick
files src/sys/dev/i2c/pca9548.c log diff annotate
message Add support for the PCA9546 I2C switch to pcamux(4). In comparison to
PCA9548, this variant supports only 4 instead of 8 channels.

ok kettenis@

date 2020-09-29T16:40:33Z
author mvs
files src/sys/sys/smr.h log diff annotate
message Fix mistypes within sys/smr.h

LIST_END -> SMR_LIST_END
TAILQ_END -> SMR_TAILQ_END

ok visa@

date 2020-09-29T21:05:05Z
author kettenis
files src/sys/dev/fdt/sxiccmu_clocks.h log diff annotate
message Add support for A64 UART resets.

ok patrick@