OpenBSD cvs log

created 2020-02-29T18:50:27Z
begin 2020-02-28T00:00:00Z
end 2020-02-29T00:00:00Z
path src/sys
commits 21

date 2020-02-28T04:59:06Z
author deraadt
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/amd64/include/codepatch.h log diff annotate
message sync

date 2020-02-28T04:59:07Z
author deraadt
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/i386/i386/cpu.c log diff annotate
src/sys/dev/pci/if_ix.c log diff annotate
src/sys/dev/pci/if_ix.h log diff annotate
src/sys/dev/pci/ixgbe.c log diff annotate
src/sys/dev/pci/ixgbe.h log diff annotate
src/sys/dev/pci/ixgbe_82598.c log diff annotate
src/sys/dev/pci/ixgbe_82599.c log diff annotate
src/sys/dev/pci/ixgbe_phy.c log diff annotate
src/sys/dev/pci/ixgbe_type.h log diff annotate
src/sys/dev/pci/ixgbe_x540.c log diff annotate
src/sys/dev/pci/ixgbe_x550.c log diff annotate
message sync

date 2020-02-28T05:22:52Z
author deraadt
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/i386/i386/cpu.c log diff annotate
message oops some snapshot tests fell in

date 2020-02-28T05:22:53Z
author deraadt
files src/sys/arch/amd64/include/codepatch.h log diff annotate
src/sys/dev/pci/if_ix.c log diff annotate
src/sys/dev/pci/if_ix.h log diff annotate
src/sys/dev/pci/ixgbe.c log diff annotate
src/sys/dev/pci/ixgbe.h log diff annotate
src/sys/dev/pci/ixgbe_82598.c log diff annotate
src/sys/dev/pci/ixgbe_82599.c log diff annotate
src/sys/dev/pci/ixgbe_phy.c log diff annotate
src/sys/dev/pci/ixgbe_type.h log diff annotate
src/sys/dev/pci/ixgbe_x540.c log diff annotate
src/sys/dev/pci/ixgbe_x550.c log diff annotate
message oops some snapshot tests fell in

date 2020-02-28T05:31:41Z
author deraadt
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
message oops, tsc value is 64 bit.
pointed out by naddy

date 2020-02-28T05:31:42Z
author deraadt
files src/sys/arch/i386/i386/cpu.c log diff annotate
message oops, tsc value is 64 bit.
pointed out by naddy

date 2020-02-28T08:52:54Z
author ratchov
files src/sys/dev/usb/uaudio.c log diff annotate
message Allow devices with incomplete feature unit descriptor to attach.

Certain devices (like the AudioQuest DragonFly Red) don't provide the
per-channel control bitmaps in the feature unit descriptor. Make this
part of the descriptor as optional.

With help from Claus <claus at mailbox.org>, thanks.

date 2020-02-28T11:38:56Z
author jsg
files src/sys/arch/arm/arm/in_cksum_arm.S log diff annotate
message correct data 16-bit aligned block of in4_cksum()

alex14fr at gmail reported qemu-system-arm -M virt with vio(4) failed rx
checksums. The mi netinet/in4_cksum.c and the xscale path removed in
in_cksum_arm.S 1.6 worked, for now just fix one line of assembly.

ok kettenis@

date 2020-02-28T12:13:55Z
author mpi
files src/sys/dev/usb/upd.c log diff annotate
message Treat non-0 value as true for boolean indicators.

Makes sensorsd(8) happy with UPS reporting a value of "-1" for true.

Reported by and initial diff from Boudewijn Dijkstra.

date 2020-02-28T12:26:30Z
author otto
files src/sys/arch/amd64/stand/biosboot/biosboot.S log diff annotate
src/sys/arch/i386/stand/biosboot/biosboot.S log diff annotate
message Adapt biosboot(8) so it can read boot(8) from an ffs2 filesystem.
To do this, installboot(8) patches an extra value into biosboot(8).
Code originally from Pedro Martelletto with a twist from myself and
kettenis@; ok jsing@ kettenis@

date 2020-02-28T13:26:56Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwmvar.h log diff annotate
message Some monitor mode fixes for iwm(4):

- use a distinct station ID for monitor STA
- set station type to "general purpose" instead of "link"
- use "any address" (zero) as station address instead of broadcast address
- use the inject monitor Tx queue, and do not enable regular Tx queues
- accept multicast frames

With this I can reliably switch back and forth between BSS and monitor modes.
Tested on 7265 and 8265.

ok mpi@

date 2020-02-28T13:27:25Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message In iwm(4), free mbufs that won't be passed to if_inputm().

ok mpi@

date 2020-02-28T14:16:34Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message In iwm(4), do not drop short control frames in monitor mode and do not
include the CRC trailer in the minimum length check for regular frames.

ok mpi@

date 2020-02-28T14:17:21Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
message Sync tobhe's periodic interrupt fix from iwm(4) to iwx(4).

Rx interrupt handling can lead to a race where the interrupt is handled
before the shared data was updated. As a workaround each "real" interrupt
enables the "periodic" Rx interrupt which triggers after 8 ms and detects
any dangling Rx activity. If dangling Rx activity was detected the periodic
interrupt is restarted, if not it stays disabled until the next "real" Rx
interrupt is handled.
The periodic interrupt is not supposed to write IWX_CSR_FH_INT_STATUS
unless it has detected dangling Rx activity.

date 2020-02-28T14:17:48Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxvar.h log diff annotate
message Sync monitor mode fixes from iwm(4) to iwx(4):

- use a distinct station ID for monitor STA
- set station type to "general purpose" instead of "link"
- use "any address" (zero) as station address instead of broadcast address
- use the inject monitor Tx queue
- accept multicast frames

date 2020-02-28T14:18:07Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
message In iwx(4), free mbufs that won't be passed to if_inputm().

date 2020-02-28T14:18:47Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
message In iwx(4) do not drop short control frames in monitor mode and do not
include the CRC trailer in the minimum length check for regular frames.

date 2020-02-28T14:51:53Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message Let iwx(4) ignore RX_NO_DATA_NOTIF firmware messages; seen in monitor mode

date 2020-02-28T16:47:41Z
author mortimer
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message Add a sanity check on obj_size to ensure the allocated object fits inside
the vm memory range allocation. Not a problem now, but potentially a
problem if guests can ever control obj_size.

Noticed by Ilja Van Sprundel - thanks!

ok stsp@

date 2020-02-28T17:03:05Z
author mpi
files src/sys/kern/kern_exit.c log diff annotate
message Revert previous, diff contains an obvious bug.

date 2020-02-28T21:12:26Z
author krw
files src/sys/dev/ic/nvme.c log diff annotate
message nvme_enable() doesn't need parameters for both sc and sc->sc_mps_bits.

Nuke the latter and use the former to get the same value.