OpenBSD cvs log

created 2019-05-08T04:26:41Z
begin 2018-01-11T00:00:00Z
end 2018-01-12T00:00:00Z
path src/sys
commits 11

date 2018-01-11T00:14:15Z
author dlg
files src/sys/netinet/ip_carp.c log diff annotate
message carp_ourether gets passed the parent interface, not the carp interface.

date 2018-01-11T09:26:36Z
author kevlo
files src/sys/dev/usb/umsm.c log diff annotate
src/sys/dev/usb/usbdevs log diff annotate
message Add support for Huawei E3372.

ok phessler@

date 2018-01-11T09:27:20Z
author kevlo
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message sync

date 2018-01-11T15:49:34Z
author visa
files src/sys/arch/alpha/dev/bus_dma.c log diff annotate
src/sys/arch/arm/arm/bus_dma.c log diff annotate
src/sys/arch/arm64/arm64/bus_dma.c log diff annotate
src/sys/arch/landisk/landisk/bus_dma.c log diff annotate
src/sys/arch/loongson/loongson/bus_dma.c log diff annotate
src/sys/arch/octeon/octeon/bus_dma.c log diff annotate
src/sys/arch/powerpc/powerpc/bus_dma.c log diff annotate
src/sys/arch/sgi/sgi/bus_dma.c log diff annotate
message Add size for free.

OK mpi@

date 2018-01-11T16:02:31Z
author bluhm
files src/sys/net/pfkeyv2_convert.c log diff annotate
message Advance data pointer after exporting SA type to userland. Otherwise
ipsecctl(8) may display bundled SA incorrectly.
from markus@

date 2018-01-11T16:09:19Z
author patrick
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message The PCI bwfm(4) chips have no TX rings in the traditional sense, as on
the actual rings we only share messages. Sending a TX packet means
putting a message on the ring which contains a pktid (which for us maps
to an mbuf) and the physical address of the mbuf. On jcs@'s macbook he
seems to run out of TX pktids pretty quickly during a speedtest. This
would mean that there are 2048 TX packets in flight that we either want
to send out or that have not been "acked" by the firmware yet. Either
way, recover from that situation when we hit that arbitrary limit by
restarting the queue after we free'd a packet from the TX pktid list.

Tested by jcs@

date 2018-01-11T18:58:17Z
author patrick
files src/sys/kern/init_main.c log diff annotate
message Postpone secondary CPUs until after mounthook activities. This is
useful for loading CPU microcode from the disk before the CPUs are
let go.

Tested by visa@ on sgi, loongson and octeon
"don't see immediate issues" kettenis@
ok deraadt@

date 2018-01-11T19:33:34Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmreg.h log diff annotate
message Extract the control channel number from the chanspec information and
apply the channel to the node, like iwm(4) does, when supplying the
scan response to the net80211 stack. Our stack uses this information
for node selection so it's elementary for it to be correct.

Tested by jcs@

date 2018-01-11T22:31:09Z
author patrick
files src/sys/arch/amd64/amd64/acpi_machdep.c log diff annotate
src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/amd64/amd64/ucode.c log diff annotate
src/sys/arch/amd64/conf/files.amd64 log diff annotate
src/sys/arch/amd64/include/cpufunc.h log diff annotate
src/sys/arch/amd64/include/specialreg.h log diff annotate
message branches: 1.80.2;
Update the Intel microcode once the root filesystem has been mounted.
This depends on the intel-firmware package that contains newer Intel
microcode which will be installed automatically by fw_update(1).

The update should happen much earlier since updating the microcode can
add or remove not only feature flags but also whole features. For now
only update feature flags that are relevant to Spectre.

Initial diff from sf@
Tested by bluhm@
ok deraadt@

date 2018-01-11T23:13:37Z
author dlg
files src/sys/sys/_endian.h log diff annotate
message cast the result of the ternary operators in __swapXX to the right type

ok kettenis@
let's try it deraadt@

date 2018-01-11T23:50:49Z
author bru
files src/sys/dev/wscons/wsmouse.c log diff annotate
src/sys/dev/wscons/wsmouseinput.h log diff annotate
src/sys/dev/wscons/wstpad.c log diff annotate
message Improve the handling of coordinate inputs and filters.

Single-touch and multi-touch coordinate inputs are treated more uniformly,
and the hysteresis filters have a more consistent implementation. If
possible, pointer control will be assigned to touches with coordinate
updates that pass the default hysteresis filter (the function has been
moved to wsmouse.c). The "strong" variant of hysteresis has been
improved, the new version won't double the threshold when a movement
changes the orientation on an axis.

There is an additional change in wstpad_configure, which ensures that a
zero size disables an edge area even if the coordinate limits are
misconfigured.