OpenBSD cvs log

created 2019-06-08T11:11:44Z
begin 2019-06-04T00:00:00Z
end 2019-06-05T00:00:00Z
path src/sys
commits 10

date 2019-06-04T03:19:42Z
author jmatthew
files src/sys/dev/pci/if_mcx.c log diff annotate
message Implement mcx_media_change(). This disables the port, sets the media type to
the requested type (or all available types, if none specified), then
re-enables it to start negotiation. While here, only set up the available
media types during attach, rather than on every mcx_media_status() call, as
they don't reflect the type of module or cable present so they won't change
over time.

ok dlg@

date 2019-06-04T05:29:30Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message tx and rx descriptors work fine with 64bit dva

ok jmatthew@

date 2019-06-04T06:49:19Z
author dlg
files src/sys/dev/pci/mpii.c log diff annotate
message use htolemXX and lemtohXX instead of htoleXX and letohXX

this makes the generated code a lot shorter on sparc64, and has no
effect on little endian archs. this has been in my tree for well
over a year without issue.

date 2019-06-04T12:08:22Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/include/linux/dma-fence.h log diff annotate
message Move a function used as a callback out of a header so there will only be
one function with a single address.

date 2019-06-04T14:03:21Z
author patrick
files src/sys/arch/arm64/include/cpu.h log diff annotate
message Bump MAXCPUS to 32 so that we can use all cores on the Ampere eMAG.

ok kettenis@

date 2019-06-04T14:07:22Z
author patrick
files src/sys/arch/arm64/include/pmap.h log diff annotate
message Remove the unused pvh_attrs attribute from struct vm_page_md.

ok kettenis@

date 2019-06-04T15:41:02Z
author visa
files src/sys/kern/kern_lock.c log diff annotate
message Let SP kernel work with WITNESS. The necessary instrumentation was
missing from the SP variant of mtx_enter() and mtx_enter_try().
mtx_leave() was correct already.

Prompted by and OK patrick@

date 2019-06-04T16:11:13Z
author anton
files src/sys/netinet/ip_mroute.c log diff annotate
src/sys/netinet6/ip6_mroute.c log diff annotate
message Add missing NULL check for the protocol control block (pcb) pointer in
mrt{6,}_ioctl. Calling shutdown(2) on the socket prior to the ioctl
command can cause it to be NULL.

ok bluhm@ claudio@


date 2019-06-04T23:00:43Z
author sashan
files src/sys/net/if_pfsync.c log diff annotate
message pfsync_sendout() requires PF_LOCK()

OK mpi@

date 2019-06-04T23:06:34Z
author sashan
files src/sys/net/if.c log diff annotate
message if_netisr(): trade NET_LOCK() for NET_RLOCK()

OK mpi@