OpenBSD cvs log

created 2019-02-07T02:47:40Z
begin 2018-11-29T00:00:00Z
end 2018-12-06T00:00:00Z
path src/sys
commits 29

date 2018-11-29T00:11:23Z
author dlg
files src/sys/sys/sockio.h log diff annotate
message allow configuration of ecn propagation on tunnel interfaces.

ok claudio@

date 2018-11-29T00:11:49Z
author dlg
files src/sys/net/if.c log diff annotate
message restrict setting ecn to root

ok claudio@

date 2018-11-29T00:14:29Z
author dlg
files src/sys/net/if_gif.c log diff annotate
src/sys/net/if_gre.c log diff annotate
message allow configuration of ecn processing

this is a step toward better rfc6040 support

ok claudio@

date 2018-11-30T09:23:31Z
author claudio
files src/sys/kern/uipc_mbuf.c log diff annotate
src/sys/kern/uipc_socket.c log diff annotate
message Trivial MH_ALIGN/M_ALIGN to m_align conversions.
OK bluhm@

date 2018-11-30T09:24:57Z
author claudio
files src/sys/nfs/nfs_subs.c log diff annotate
message Switch MH_ALIGN to m_align which is the same.
OK bluhm@

date 2018-11-30T09:26:06Z
author claudio
files src/sys/net80211/ieee80211_output.c log diff annotate
message MH_ALIGN -> m_align and make the spacing look the same in all three places.
OK bluhm@

date 2018-11-30T09:27:56Z
author claudio
files src/sys/netinet/if_ether.c log diff annotate
message MH_ALIGN -> m_align. In revarprequest() set the ph_rtableid so that
the function is doing the same initialisation as arprequest().
OK bluhm@

date 2018-11-30T09:28:34Z
author claudio
files src/sys/netinet6/mld6.c log diff annotate
message MH_ALIGN -> m_align
OK bluhm@

date 2018-11-30T19:18:31Z
author mlarkin
files src/sys/dev/pci/pcidevs log diff annotate
message Add another Xeon E3-1200 v6/7 host device.
Add nVidia Quadro M1200

from Peter Ezetta, thanks.

date 2018-11-30T19:19:06Z
author mlarkin
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2018-12-02T14:44:33Z
author fcambus
files src/sys/dev/wsfont/spleen12x24.h log diff annotate
src/sys/dev/wsfont/spleen16x32.h log diff annotate
src/sys/dev/wsfont/spleen32x64.h log diff annotate
src/sys/dev/wsfont/spleen8x16.h log diff annotate
src/sys/dev/wsfont/wsfont.c log diff annotate
message Add Spleen 8x16, 12x24, 16x32, and 32x64 variants to wsfont.

Together with the already imported Spleen 5x8, it will allow using the
same font family across a wide range of screen resolutions, from small
OLED displays to 4K monitors.

The fonts are 2-Clause BSD licensed and are my original creation.

OK jcs@, brynet@, bcallah@, kettenis@

date 2018-12-02T14:47:23Z
author fcambus
files src/sys/dev/wsfont/spleen5x8.h log diff annotate
message Remove artefacts from 'C', 'c' and 'F' characters, to match the other
sizes.

OK patrick@

date 2018-12-02T21:30:21Z
author kettenis
files src/sys/dev/pci/puc.c log diff annotate
message Include "com.h" to fix using a puc(4) based serial port as serial console
which was broken by the previous commit.

ok jsg@, mpi@

date 2018-12-03T01:51:17Z
author jsg
files src/sys/sys/_lock.h log diff annotate
message Avoid uint32_t in _lock.h so users of rwlock.h mutex.h etc don't have to
include sys/types.h first.

ok guenther@ deraadt@

date 2018-12-03T10:10:49Z
author claudio
files src/sys/netinet/raw_ip.c log diff annotate
message In PRU_DISCONNECT don't fall through into PRU_ABORT since the latter frees
the inpcb apart from the disconnect. Just call soisdisconnected() and
clear the inp->inp_faddr since the socket is still valid after a disconnect.
Problem found by syzkaller via Greg Steuck
OK visa@
Fixes:
Reported-by: syzbot+2cd350dfe5c96f6469f2@syzkaller.appspotmail.com
Reported-by: syzbot+139ac2d7d3d60162334b@syzkaller.appspotmail.com
Reported-by: syzbot+02168317bd0156c13b69@syzkaller.appspotmail.com
Reported-by: syzbot+de8d2459ecf4cdc576a1@syzkaller.appspotmail.com

date 2018-12-03T13:46:30Z
author visa
files src/sys/arch/sgi/dev/if_mec.c log diff annotate
src/sys/arch/sgi/dev/mavb.c log diff annotate
src/sys/arch/sgi/dev/mkbc.c log diff annotate
src/sys/arch/sgi/dev/power.c log diff annotate
src/sys/arch/sgi/localbus/com_lbus.c log diff annotate
src/sys/arch/sgi/localbus/macebus.c log diff annotate
src/sys/arch/sgi/localbus/macebusvar.h log diff annotate
src/sys/arch/sgi/pci/macepcibridge.c log diff annotate
message Remove the unused interrupt type (edge/level) from the mace interrupt
handler registration. The code is inherited from isa(4), but on the O2,
although some interrupt sources on CRIME are edge-triggered, all
the MACE interrupts are level-triggered.

From miod@

date 2018-12-03T13:50:02Z
author visa
files src/sys/arch/sgi/localbus/macebus.c log diff annotate
message Do not process the top 32 bits of the 64 bit interrupt mask register
on the O2. The CRIME interrupt controller only has 32 interrupt sources.

From miod@

date 2018-12-03T17:25:22Z
author claudio
files src/sys/net/if_gre.c log diff annotate
src/sys/net/if_vxlan.c log diff annotate
src/sys/netinet6/ip6_output.c log diff annotate
message Convert more MH_ALIGN() to m_align(). Also switch from m_gethdr/M_GETHDR
calls to m_get/M_GET calls because M_MOVE_PKTHDR() is initialising
the pkthdr and so it is not needed when allocation the header.
OK bluhm@

date 2018-12-04T10:47:32Z
author jmatthew
files src/sys/dev/ic/r92creg.h log diff annotate
src/sys/dev/ic/rtwn.c log diff annotate
src/sys/dev/ic/rtwnvar.h log diff annotate
src/sys/dev/usb/if_urtwn.c log diff annotate
message Add support for RTL8192EU adapters, partly taken from netbsd.
These show up with a variety of vendor/product ids, but the driver will
only match those we've tested so far.

help and testing from kevlo@
ok stsp@ kevlo@

date 2018-12-04T11:25:48Z
author kettenis
files src/sys/dev/fdt/ahci_fdt.c log diff annotate
src/sys/dev/fdt/if_dwge_fdt.c log diff annotate
src/sys/dev/fdt/sximmc.c log diff annotate
src/sys/dev/fdt/sxitwi.c log diff annotate
message Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.

date 2018-12-04T12:39:54Z
author claudio
files src/sys/netinet/ip_carp.c log diff annotate
message Use m_align() and while there reorder the pkthdr initalisation a bit.
This also makes the IPv4 and IPv6 code more similar.
OK phessler@

date 2018-12-04T16:24:13Z
author visa
files src/sys/arch/mips64/include/cpu.h log diff annotate
src/sys/arch/mips64/mips64/cache_octeon.c log diff annotate
src/sys/arch/mips64/mips64/cpu.c log diff annotate
src/sys/arch/octeon/include/octeon_model.h log diff annotate
src/sys/arch/octeon/octeon/machdep.c log diff annotate
message Add processor IDs for several OCTEON II and III SoCs.

date 2018-12-05T10:28:21Z
author jsg
files src/sys/arch/alpha/include/cpu.h log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
src/sys/arch/arm/include/cpu.h log diff annotate
src/sys/arch/arm64/include/cpu.h log diff annotate
src/sys/arch/hppa/include/cpu.h log diff annotate
src/sys/arch/i386/include/cpu.h log diff annotate
src/sys/arch/m88k/include/cpu.h log diff annotate
src/sys/arch/mips64/include/cpu.h log diff annotate
src/sys/arch/powerpc/include/cpu.h log diff annotate
src/sys/arch/sparc64/include/cpu.h log diff annotate
message Include srp.h where struct cpu_info uses srp to avoid erroring out when
including cpu.h machine/intr.h etc without first including param.h when
MULTIPROCESSOR is defined.

ok visa@

date 2018-12-05T15:42:45Z
author mpi
files src/sys/kern/sysv_msg.c log diff annotate
message free(9) size for temporary buffer.

ok ratchov@

date 2018-12-05T15:44:22Z
author mpi
files src/sys/kern/subr_autoconf.c log diff annotate
message free(9) sizes for softcs.

ok tedu@

date 2018-12-05T15:54:58Z
author mpi
files src/sys/dev/usb/if_axen.c log diff annotate
message Do not call usbd_delay_ms() from interrupt context.

From Nils Frohberg.

date 2018-12-05T17:41:23Z
author gerhard
files src/sys/dev/usb/usb_mem.c log diff annotate
message usb_block_allocmem() won't sleep.

ok mpi@

date 2018-12-05T18:02:51Z
author reyk
files src/sys/dev/pv/pvclock.c log diff annotate
message Correctly disable pvclock(4) on old hardware that lack a stable clock

I falsely assumed that the KVM_FEATURE_CLOCKSOURCE_STABLE_BIT
indicates that the actual clock values are stable, but it turned out
that this isn't always the case. To detect if the clock value is
stable, we now read it once in pvclock_attach() and check for the
PVCLOCK_FLAG_TSC_STABLE flag. This needs further investigation.

Reported and fix tested by johnw.mail at gmail.com

OK chris@ phessler@

date 2018-12-05T19:49:47Z
author bru
files src/sys/dev/wscons/wstpad.c log diff annotate
message Use a time-based method for tracking motion states of touches.

ok mpi@