OpenBSD cvs log

created 2019-11-17T13:38:50Z
begin 2019-11-04T00:00:00Z
end 2019-11-05T00:00:00Z
path src/sys
commits 20

date 2019-11-04T00:48:22Z
author guenther
files src/sys/kern/sysv_shm.c log diff annotate
message Fix previous commit: missed a ds_copyin() moved in rev 1.72

date 2019-11-04T04:07:23Z
author dlg
files src/sys/net/if_vlan.c log diff annotate
message make the parent promisc when a promisc vlan interface is brought up.

this has been reported by a bunch of people including chris@, jon
williams on bugs@, and ze loff on misc@

date 2019-11-04T04:17:31Z
author dlg
files src/sys/net/if_vlan.c log diff annotate
message in vlan_clone_destroy take NET_LOCK when calling vlan_down and mark it dead.

date 2019-11-04T11:29:11Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwmreg.h log diff annotate
src/sys/dev/pci/if_iwmvar.h log diff annotate
message Add support for iwm firmware paging, required for newer 8k device firmware.

Patch by Imre Vadasz
Tested for regressions by phessler and Krystian Lewandowski
No very obvious mistakes found by kettenis@
ok patrick@

date 2019-11-04T11:43:08Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Enable only iwm's "firmware-load" interrupt while loading the firmware.
Other interrupts are enabled once firmware has been loaded successfully.
Corresponds more closely to what Linux does.

ok patrick@

date 2019-11-04T11:48:46Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Tweak a device type check in iwm_apm_init() to ensure it will match
7k devices only when support for > 8k devices is added in the future.

ok patrick@

date 2019-11-04T11:55:46Z
author stsp
files src/sys/dev/pci/if_iwmreg.h log diff annotate
message Sync iwm's SCD_QUEUE macros with iwlwifi.

Our outdated copies of these had a bug.
See Linux commit cb6bb128b73ae898d6ee0281c2b2644f70633d58

ok patrick@

date 2019-11-04T11:59:52Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwmreg.h log diff annotate
src/sys/dev/pci/if_iwmvar.h log diff annotate
message Support iwm(4) firmware images with ucode_api flags larger than 32 bits.

ok patrick@

date 2019-11-04T12:01:59Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Ignore FW_DBG_DEST and FW_DBG_CONF iwm firmware image TLV sections, for now.

ok patrick@

date 2019-11-04T12:04:16Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Fix handling of iwm_sf_config() input argument.

Same change as dragonfly commit 666737f64b4f6dd42ffd9f0ace9fc46ccc1ebaab

ok patrick@

date 2019-11-04T12:16:48Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message iwm API version -31 firmware and up will crash after load unless the driver
explicitly enables support for 31 queues in the GP_CTRL register.

Coincidence? Accident? Bad joke? In any case this took us several days
to figure out; the root cause was eventually identified by patrick@

ok patrick@

date 2019-11-04T12:20:40Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Don't send the BT coex config command to iwm 8k init firmware because newer
firmware versions will crash when we do that. Debugged together with patrick.

ok patrick@

date 2019-11-04T13:05:22Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Make iwm send the DQA command later, as Linux does. We were sending it to
the init firmware which does not need it. The main runtime firmware needs it.

This actually enables DQA mode, and two further problems showed up:

1) Correctly configure the AUX station queue in the DQA case.

2) Always transmit our own frames via the AP's station. The AUX station
is meant to be used for firmware-generated frames only.

Tested on 7260, 7265, and 8265 with standard -current firmware images.
Required for newer firmware versions.

ok patrick@

date 2019-11-04T13:43:09Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Switch iwm 3160, 7260, and 7265 to -17 firmware images.

7260 tested by florian
7265 tested by kettenis
3160 should work as it's a trimmed-down variant of 7260

Please report any problems as soon as possible.

date 2019-11-04T14:58:40Z
author visa
files src/sys/arch/octeon/conf/GENERIC log diff annotate
src/sys/arch/octeon/conf/RAMDISK log diff annotate
src/sys/arch/octeon/conf/files.octeon log diff annotate
src/sys/arch/octeon/dev/if_ogx.c log diff annotate
src/sys/arch/octeon/dev/ogxnexus.c log diff annotate
src/sys/arch/octeon/dev/ogxreg.h log diff annotate
src/sys/arch/octeon/dev/ogxvar.h log diff annotate
message Add ogx(4), a driver for the OCTEON III network processor.

This network driver covers higher-end models of the OCTEON III family.
They have a modified design whose interface is not compatible with
the lower-end models or earlier chip generations.

The code is still a work in progress. However, it is capable enough
to make the SGMII port functional on the CN7360.

No objection from deraadt@

date 2019-11-04T17:51:22Z
author anton
files src/sys/kern/init_main.c log diff annotate
src/sys/kern/subr_kubsan.c log diff annotate
message Regularly poll and report kubsan findings using the timeout(9) API
instead of task(9). Undefined behavior can potentially be present in any
context and calling task_add() isn't always safe.

ok visa@

date 2019-11-04T18:06:02Z
author visa
files src/sys/kern/kern_exit.c log diff annotate
message Restore the old way of dispatching dead procs through idle proc.
The new way needs more thought.

date 2019-11-04T18:06:03Z
author visa
files src/sys/kern/kern_sched.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/sys/syscall_mi.h log diff annotate
message Restore the old way of dispatching dead procs through idle proc.
The new way needs more thought.

date 2019-11-04T23:52:27Z
author dlg
files src/sys/conf/files log diff annotate
src/sys/net/Attic/if_mobileip.c log diff annotate
src/sys/net/Attic/if_mobileip.h log diff annotate
message remove mobileip(4)

noone seems to use it, and we should not encourage people to use
it by having it available. it's been disabled for most of the last
release and noones asked for it in 6.6, so i'm taking that as an
ok for this removal.

date 2019-11-04T23:52:28Z
author dlg
files src/sys/netinet/in.h log diff annotate
src/sys/netinet/in_proto.c log diff annotate
src/sys/netinet/ip_gre.h log diff annotate
message remove mobileip(4)

noone seems to use it, and we should not encourage people to use
it by having it available. it's been disabled for most of the last
release and noones asked for it in 6.6, so i'm taking that as an
ok for this removal.