OpenBSD cvs log

created 2020-11-14T23:56:06Z
begin 2020-11-12T00:00:00Z
end 2020-11-13T00:00:00Z
path src/sys
commits 9

date 2020-11-12T04:36:22Z
author jsg
files src/sys/dev/pci/drm/include/linux/mutex.h log diff annotate
src/sys/dev/pci/drm/ttm/ttm_page_alloc.c log diff annotate
message use RWLOCK_INITIALIZER() in DEFINE_MUTEX()
Gives rwlocks defined this way a non-NULL rwl_name.

Move ttm_pool_shrink_scan() DEFINE_MUTEX use out of function scope to fix
build with WITNESS after this change and expand macro to have a better
name than "lock".

Found by and ok semarie@

date 2020-11-12T05:49:26Z
author semarie
files src/sys/kern/subr_witness.c log diff annotate
message witness: detect and report uninitialized (or zeroed) lock usage

ok visa@

date 2020-11-12T10:47:07Z
author patrick
files src/sys/dev/fdt/bd718x7.c log diff annotate
src/sys/dev/fdt/fanpwr.c log diff annotate
src/sys/dev/fdt/rkpmic.c log diff annotate
src/sys/dev/fdt/sypwr.c log diff annotate
message FDT-based I2C drivers should not use OF_* API in the match code, since
on machines with ACPI ia->ia_cookie will be an ACPI node instead of an
OF node. We'll still get into trouble with APCI devices that provide
a string that matches, but we'll worry when that happens.

ok kettenis@

date 2020-11-12T13:31:19Z
author krw
files src/sys/dev/usb/if_urtwn.c log diff annotate
src/sys/net80211/ieee80211_pae_input.c log diff annotate
message Don't enable port or link until all crypto keys are installed by
async task(s).

Makes dhclient(8) much happier.

Suggestions and ok stsp@, jmatthew@

date 2020-11-12T13:50:30Z
author kettenis
files src/sys/dev/ofw/ofw_misc.c log diff annotate
message Add 1000baseT media support and set active media to the appropriate value.

ok patrick@

date 2020-11-12T13:53:41Z
author kettenis
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Reconfigure the COMPHY mode when we find an SFP and configure inband media
status updates in that case. This probably won't work properly on the 10G
ports of the MACCHIATOBin "double shot" model, but makes all SFP cages
work on the "single shot" model.

ok patrick@

date 2020-11-12T15:16:18Z
author krw
files src/sys/dev/pci/if_iwn.c log diff annotate
message Nuke variable 'ba'. Only use was removed in r1.230.

date 2020-11-12T15:25:28Z
author mpi
files src/sys/net/art.c log diff annotate
src/sys/net/art.h log diff annotate
message Document art locking.

ok denis@, jmatthew@

date 2020-11-12T23:29:16Z
author guenther
files src/sys/arch/amd64/include/frameasm.h log diff annotate
message Simplify interrupt entry stubs to not push around bogus trapno+err
slots but rather go directly from the iretq frame to an intrframe.
This saves 22 bytes in each of the 148 interrupt entry points.

ok mpi@