OpenBSD cvs log

created 2024-02-25T08:56:31Z
begin 2024-02-22T00:00:00Z
end 2024-02-23T00:00:00Z
path src/sys
commits 7

date 2024-02-22T09:06:11Z
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 add suspend/resume support to qwx(4)

testing + ok phessler@ deraadt@

date 2024-02-22T09:08:08Z
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 cache qwx(4) firmware images in memory across suspend/resume cycles

testing + ok phessler@

date 2024-02-22T09:12:45Z
author stsp
files src/sys/dev/pci/if_qwx_pci.c log diff annotate
message start qwx(4) MHI channels in process context rather than in a task

This removes all sleep points from the MHI state-change task, which
will allow us to get rid of it. And I can now reproduce the channel
startup issue kettenis@ saw on arm64 by removing the delay() call.

date 2024-02-22T09:15:34Z
author stsp
files src/sys/dev/pci/if_qwx_pci.c log diff annotate
message get rid of the qwx(4) mhi_newstate_task

We can now run MHI state transition code in the interrupt handler.
There is no reason to run a separate thread just to poke at some
registers and send a few of wakeups().

date 2024-02-22T13:49:17Z
author claudio
files src/sys/ddb/db_ctf.c log diff annotate
message Improve db_ctf_pprint(), implement handlers for arrays and enums.

Use db_get_value() to access addr to ensure that alignment errors
don't cause exceptions. DDB on 32bit archs does normally not handle
64bit values so to print 64bit ints a bit of gymnastics is needed.

OK mpi@

date 2024-02-22T14:25:58Z
author bluhm
files src/sys/net/route.c log diff annotate
src/sys/net/route.h log diff annotate
src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/ip_output.c log diff annotate
src/sys/netinet6/in6_pcb.c log diff annotate
src/sys/netinet6/in6_src.c log diff annotate
src/sys/netinet6/ip6_forward.c log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
src/sys/netinet6/ip6_output.c log diff annotate
message Make the route cache aware of multipath routing.

Pass source address to route_cache() and store it in struct route.
Cached multipath routes are only valid if source address matches.
If sysctl multipath changes, increase route generation number.

OK claudio@

date 2024-02-22T21:21:35Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
message make qwx(4) ignore ESHUTDOWN while printing errors to dmesg

ESHUTDOWN is an expected thread-synchronization condition which
can be triggered via ifconfig commands. Don't warn about this.

Reported by Marco van Hulten on misc@