OpenBSD cvs log

created 2024-02-04T14:20:40Z
begin 2024-01-25T00:00:00Z
end 2024-01-26T00:00:00Z
path src/sys
commits 9

date 2024-01-25T08:08:10Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
message move pwr_state init out of ifdef

date 2024-01-25T09:05:54Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c log diff annotate
message call amdgpu_driver_load_kms() instead of doing the equivalent

date 2024-01-25T09:44:56Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
src/sys/dev/ic/qwxvar.h log diff annotate
src/sys/dev/pci/if_qwx_pci.c log diff annotate
message Use multi-vector MSI interrupts in qwx(4).

With only one vector enabled we need to manually check various rings
to see why an interrupt triggered. This makes debugging difficult at
this early stage of development, so use multiple vectors if possible,
as the Linux driver was designed to do.
The intention is to keep single-vector mode working as well but for
now this mode will lack testing by myself.

Thanks to kettenis@ for adding the required MSI/PCI code on amd64.

date 2024-01-25T09:51:33Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
src/sys/dev/ic/qwxvar.h log diff annotate
message Port over some ath11k code to handle the qwx(4) monitor status ring.

These changes are incomplete. More work will be required to get this
ring working if it turns out to be needed. Hopefully it will only be
required for monitor mode.

date 2024-01-25T10:03:20Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
message Disable monitor status ring support in qwx(4).

The ring isn't needed to scan for APs. This ring's ext interrupt fires
continously and we somehow end up with mbuf corruption which looks
like an mcl2k cluster overwrite (this bug is present even before the
changes added in my previous commit). Disable this code path for now
to work around the corruption, allowing work on this driver to proceed.

date 2024-01-25T10:07:47Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
message Process scan results in qwx(4) now that we are longer crashing the kernel.

date 2024-01-25T10:11:04Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
src/sys/dev/ic/qwxreg.h log diff annotate
src/sys/dev/ic/qwxvar.h log diff annotate
message implement qwx_auth() which moves the device from SCAN into AUTH state

Port code from Linux to provide access point info to firmware and to
start up the firmware's virtual interface in station mode.
Sending frames does not work yet so we cannot actually connect anywhere.

date 2024-01-25T17:00:20Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
message Make qwx(4) avoid sub-directories in firmware paths.

date 2024-01-25T17:00:21Z
author stsp
files src/sys/dev/ic/qwxvar.h log diff annotate
src/sys/dev/pci/if_qwx_pci.c log diff annotate
message Make qwx(4) avoid sub-directories in firmware paths.