OpenBSD cvs log

created 2019-02-03T05:31:17Z
begin 2019-02-01T00:00:00Z
end 2019-02-02T00:00:00Z
path src/sys
commits 10

date 2019-02-01T00:51:07Z
author patrick
files src/sys/dev/fdt/if_fec.c log diff annotate
message Fix lost interrupts in fec(4). Apparently the tick that talks to the
phy to check the media status did not only ack the MII interrupt, but
also all the others. Thus it could happen that the TX completion was
not seen by the interrupt handler, leading to full TX queues. Also,
the fec(4) interrupt handler acked more than it handles, thus possibly
also acking the MII interrupt.

Found with bluhm@ on his new arm64 regression setup.

ok bluhm@

date 2019-02-01T06:11:16Z
author jmatthew
files src/sys/dev/pci/if_ixl.c log diff annotate
message fix up calculation of our physical function id, making the second port
on dual port cards work much better.

ok dlg@

date 2019-02-01T07:02:31Z
author anton
files src/sys/dev/wscons/wskbd.c log diff annotate
message In wskbdclose(), use the same logic as in wskbdopen() to determine if
the device was opened in write-only mode. Relying on me_evar being NULL
does not work if the wskbd device was opened first followed by opening a
wsmux device. Closing the wskbd device first at this stage would cause
the wscons_event queue inherited from the wsmux device to be freed. This
in turn could cause a panic if an ioctl(WSMUXIO_INJECTEVENT) command is
issued to the wsmux device.

ok deraadt@ visa@

Reported-by: [email protected]

date 2019-02-01T10:43:43Z
author dlg
files src/sys/kern/uipc_mbuf.c log diff annotate
message make m_pullup use the first mbuf with data to measure alignment.

this fixes an issue found by a regress test on sparc64 by claudio,
and between us took about half a day of work to understand and fix
at a2k19.

ok claudio@

date 2019-02-01T13:24:15Z
author mpi
files src/sys/dev/usb/xhci.c log diff annotate
message Print xhci version in hex, from sc.dying at gmail.

date 2019-02-01T13:29:48Z
author mpi
files src/sys/net/pfkeyv2.c log diff annotate
message Do not silently return if extensions do not match the filters.

ok bluhm@, visa@

date 2019-02-01T13:32:00Z
author mpi
files src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/pfkeyv2_parsemessage.c log diff annotate
message Export per-TDB counters to userland.

This time add the counter extention to SADB_GET's whitelist.

ok bluhm@, visa@

date 2019-02-01T16:15:07Z
author stsp
files src/sys/dev/ic/ar5008.c log diff annotate
src/sys/dev/ic/ar5416.c log diff annotate
src/sys/dev/ic/ar5416reg.h log diff annotate
src/sys/dev/ic/ar9003.c log diff annotate
src/sys/dev/ic/ar9280.c log diff annotate
src/sys/dev/ic/ar9280reg.h log diff annotate
src/sys/dev/ic/ar9285.c log diff annotate
src/sys/dev/ic/ar9285reg.h log diff annotate
src/sys/dev/ic/ar9287.c log diff annotate
src/sys/dev/ic/ar9287reg.h log diff annotate
src/sys/dev/ic/athn.c log diff annotate
src/sys/dev/ic/athnreg.h log diff annotate
src/sys/dev/ic/athnvar.h log diff annotate
message Complete athn(4) noisefloor calibration code and enable it.
Update default/min/max noisefloor values to those used by Linux ath9k.
Tested by jmc, juanfra, kn, and myself, on 9280 and 9271 devices.

date 2019-02-01T17:23:08Z
author anton
files src/sys/dev/wscons/wsevent.c log diff annotate
message free size for wscons_event; ok deraadt@ visa@

date 2019-02-01T21:48:48Z
author mlarkin
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
message Properly account wired pages in pmap_randomize_level

This change fixes a regress test failure noticed by bluhm@.

ok deraadt