OpenBSD cvs log

created 2024-08-18T09:47:44Z
begin 2024-08-16T00:00:00Z
end 2024-08-17T00:00:00Z
path src/sys
commits 11

date 2024-08-16T00:26:54Z
author patrick
files src/sys/dev/ic/qwz.c log diff annotate
src/sys/dev/ic/qwzreg.h log diff annotate
src/sys/dev/ic/qwzvar.h log diff annotate
src/sys/dev/pci/if_qwz_pci.c log diff annotate
message Align more register addresses and data structures with ath12k.

date 2024-08-16T04:14:27Z
author deraadt
files src/sys/dev/ic/dwiic.c log diff annotate
message delete disabled ACPI-related code in here, this power management is
done at a different level, and nothing needs to be done here
ok kettenis

date 2024-08-16T09:20:34Z
author mvs
files src/sys/kern/uipc_domain.c log diff annotate
message Introduce PR_MPSYSCTL flag to mark mp-safe (*pr_sysctl)() handlers and
unlock both divert_sysctl() and divert6_sysctl(). Unlock them together,
because they are identical and pretty simple:

- DIVERTCTL_RECVSPACE and DIVERTCTL_SENDSPACE - atomically accessed
integers;
- DIVERTCTL_STATS - per-CPU counters;

ok bluhm

date 2024-08-16T09:20:35Z
author mvs
files src/sys/netinet/in_proto.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet6/in6_proto.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/sys/protosw.h log diff annotate
message Introduce PR_MPSYSCTL flag to mark mp-safe (*pr_sysctl)() handlers and
unlock both divert_sysctl() and divert6_sysctl(). Unlock them together,
because they are identical and pretty simple:

- DIVERTCTL_RECVSPACE and DIVERTCTL_SENDSPACE - atomically accessed
integers;
- DIVERTCTL_STATS - per-CPU counters;

ok bluhm

date 2024-08-16T10:26:20Z
author kettenis
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu.h log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
message drm/amd: Stop evicting resources on APUs in suspend

From Mario Limonciello
3a9626c816db901def438dc2513622e281186d39 in mainline linux

date 2024-08-16T10:46:46Z
author kettenis
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c log diff annotate
src/sys/dev/pci/drm/include/linux/pci.h log diff annotate
src/sys/dev/pci/drm/include/linux/pm_runtime.h log diff annotate
message Hook up a few more bits of suspend/resume power management code. This
fixes S3 suspend/resume on the Lenovo ThinCentre M715q with:

amdgpu0: RAVEN GC 9.1.0 8 CU rev 0x01

and also fixes S0 suspend/resume on various laptops with AMD graphics
provided we disable a few checks (which will be done in a separate
commit).

ok jsg@

date 2024-08-16T10:49:57Z
author kettenis
files src/sys/dev/pci/drm/include/generated/autoconf.h log diff annotate
message Set CONFIG_AMD_PMC. We don't have the corresponding driver just yet, but
it seems that Linux is just overcautious in disabling S0 suspend when the
driver isn't included in the kernel config. And we plan to implement the
driver soon anyway.

ok jsg@

date 2024-08-16T12:22:17Z
author miod
files src/sys/dev/wscons/wsmux.c log diff annotate
message Fix bounds checking in wsmux_getmux().

date 2024-08-16T13:02:44Z
author jan
files src/sys/dev/pv/if_vio.c log diff annotate
message vio(4): Don't set IPv4 checksum OK flag for rx packets.

The virtio specification just address TCP/UDP checksum offloading.
Thus, we have to check the IPv4 checksum in our stack.

ok sf@

date 2024-08-16T15:27:11Z
author deraadt
files src/sys/dev/ic/dwiic.c log diff annotate
message whitespace

date 2024-08-16T16:19:03Z
author mpi
files src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_fork.c log diff annotate
message Atomically modify `nthreads' and move proc_free() out of KERNEL_LOCK().

ok jca@