OpenBSD cvs log

created 2021-08-01T04:28:31Z
begin 2021-07-29T00:00:00Z
end 2021-07-30T00:00:00Z
path src/sys
commits 21

date 2021-07-29T03:09:17Z
author jsg
files src/sys/dev/pci/drm/drm_ioctl.c log diff annotate
src/sys/dev/pci/drm/include/drm/drm_ioctl.h log diff annotate
message drm: Return -ENOTTY for non-drm ioctls

From Charles Baylis
69a603aa170e1c145b93d5d7efcca83a8b1268fe in linux 5.10.y/5.10.54
3abab27c322e0f2acf981595aa8040c9164dc9fb in mainline linux

date 2021-07-29T03:12:14Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c log diff annotate
message drm/amdgpu: update golden setting for sienna_cichlid

From Likun Gao
fc31b5be1383e31ca046fdd6e11e0a9a0b3a01d5 in linux 5.10.y/5.10.54
3e94b5965e624f7e6d8dd18eb8f3bf2bb99ba30d in mainline linux

date 2021-07-29T03:15:56Z
author jsg
files src/sys/dev/pci/drm/i915/gvt/handlers.c log diff annotate
message drm/i915/gvt: Clear d3_entered on elsp cmd submission.

From Colin Xu
1df4fe5a8871f49d34d681ff5b7f93a84d50af4b in linux 5.10.y/5.10.54
c90b4503ccf42d9d367e843c223df44aa550e82a in mainline linux

date 2021-07-29T09:19:42Z
author patrick
files src/sys/dev/fdt/if_cad.c log diff annotate
message Change driver class from DV_DULL to DV_IFNET, so that it can be recognized
as boot interface when doing netboot. This makes auto install/upgrade work.

ok kettenis@ visa@

date 2021-07-29T11:49:53Z
author stsp
files src/sys/dev/pci/if_iwxreg.h log diff annotate
message Declare additional iwx(4) firmware capability and api support flags.

ok kevlo@

date 2021-07-29T11:50:37Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxvar.h log diff annotate
message Increase fixed limits for the number of iwx(4) command versions, channels,
and microcode sections. Required for loading new firmware images.

ok kevlo@

date 2021-07-29T11:50:57Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
message Ignore debug sections present in newer iwx(4) firmware images.

ok kevlo@

date 2021-07-29T11:51:39Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message Recognize "phy integration" and "num stations" TLVs found in new iwx(4)
firmware images. For now, we can simply ignore them while loading firmware.

ok kevlo@

date 2021-07-29T11:52:11Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message Handle iwx(4) firmware alive response version 5.

ok kevlo@

date 2021-07-29T11:52:58Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxvar.h log diff annotate
message Fix "BAD COMMAND" errors with new iwx(4) firmware.

Firmware API versions >= 50 reject old-style commands in group 0 with a
"BAD_COMMAND" firmware error. We must pretend that such commands were in
the LONG_GROUP instead in order for firmware to accept them.

ok kevlo@

date 2021-07-29T11:53:46Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message Remove support for the narrow command header on the iwx(4) command queue.

This is related to the previous commit which fixed "BAD COMMAND" firmware
errors. We can no longer use old-style "narrow" commands on the command
queue with new firmware, and our current -48 firmware images don't seem
to care either way. We can simplify this code and align it with iwlwifi.

ok kevlo@

date 2021-07-29T11:56:21Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
message New iwx(4) firmware doesn't require an AUX station to be added.

ADD_STA command version >= 12 implies that firmware uses an internal
AUX station for scanning, and firmware panics if we try to add one.

ok kevlo@

date 2021-07-29T11:56: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 Handle iwx(4) PHY context command version 3.

ok kevlo@

date 2021-07-29T11:57:33Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message Add support for iwx(4) "reduced" scan config command required by new firmware.

ok kevlo@

date 2021-07-29T11:57:59Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message Add support for iwx(4) umac scan command version 14.

ok kevlo@

date 2021-07-29T11:58:35Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message Support the new iwx(4) firmware session protection command.

Required for having associations succeed with new firmware.

ok kevlo@

date 2021-07-29T12:00:30Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message Support the new iwx(4) firmware TLC_MNG_CONFIG command.

This command was expanded by a 4 byte max_tx_op field. As far as I can tell
the Linux driver makes no use of this field, so just initialize it to zero.
New firmware panics when we try to initialize Tx rate scaling otherwise.

ok kevlo@

date 2021-07-29T12:01:04Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxvar.h log diff annotate
message Get Tx queues working with new iwx(4) firmware.

ADD_STA command version >= 12 implies that firmware uses an internal AUX
station for scanning. We do not configure an AUX Tx queue in this case
and data queue indices assigned by firmware shift upwards accordingly.

ok kevlo@

date 2021-07-29T12:01:45Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
message Implement support for the BAR_FRAME_RELEASE iwx(4) firmware notification.

New firmware will generate this notification when a block ack request is
received. Older firmware passed the block ack request frame to the driver.

ok kevlo@

date 2021-07-29T12:13:58Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
message Switch iwx(4) to -63 firmware images as shipped in iwx-firmware-20210512.

These images contain fixes which address fragattacks vulnerabilities:
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00473.html

Running fw_update(1) may be required before rebooting into a new kernel.
sysupgrade(8) will take care of this.

When reporting issues, please enable 'ifconfig iwx0 debug', reproduce the
error once more, and include the full dmesg in your bug report.

Tested:
ax200: stsp, kevlo, hrvoje, jmc, Mark Patruck, Ashton Fagg
ax201: kettenis, Fredrik Engberg, Eric Auge

ok kevlo@

date 2021-07-29T14:11:53Z
author visa
files src/sys/arch/octeon/dev/if_ogx.c log diff annotate
message Fix device class.