OpenBSD cvs log

created 2023-08-08T06:53:13Z
begin 2022-09-27T00:00:00Z
end 2022-10-04T00:00:00Z
path src/sys
commits 27

date 2022-09-27T02:39:24Z
author deraadt
files src/sys/conf/newvers.sh log diff annotate
message we are now working on 7.2-current

date 2022-09-28T13:21:13Z
author mbuhl
files src/sys/kern/sysv_sem.c log diff annotate
message Fix memory corruptions with sysv semaphores due to sleeps in copyin,
copyout and malloc. During a sleep another thread could delete the
semaphore (and possibly allocate another one at the same location
with different permissions) which would lead to an invalid access
after wake up. Therefore check the semaphore pointer, the sequence,
the permissions and some values in seminfo after each sleep.
OK bluhm@
Reported-by: [email protected]

date 2022-09-29T04:10:27Z
author deraadt
files src/sys/uvm/uvm.h log diff annotate
message There no longer is any KVM_ET_* to keep in sync with UVM_ET_*, so
comment can be deleted.

date 2022-09-30T02:56:23Z
author jsg
files src/sys/conf/GENERIC log diff annotate
message re-enable POOL_DEBUG
ok deraadt@

date 2022-10-01T23:49:38Z
author deraadt
files src/sys/kern/Makefile log diff annotate
src/sys/kern/makesyscalls.sh log diff annotate
src/sys/kern/Attic/syscalls.conf log diff annotate
message The syscall table generation awk script was also used by compat layers
in the past, but those compat layers are gone. Remove support for the
"config file"
ok miod millert

date 2022-10-02T19:00:46Z
author kettenis
files src/sys/arch/arm64/dev/aplhidev.c log diff annotate
message Fetch vendor and product IDs from the keyboard/touchpad controller.
To be used in a future diff to handle machines with touchbar a bit better.

ok robert@

date 2022-10-03T05:39:07Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message add id for Raphael, Ryzen 7000 GPU (gfx1036, GC 10.3.6?)

date 2022-10-03T05:39:59Z
author jsg
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2022-10-03T10:07:01Z
author jsg
files src/sys/dev/pci/drm/include/generated/autoconf.h log diff annotate
src/sys/dev/pci/drm/include/linux/pci.h log diff annotate
message define CONFIG_PCIEASPM, add ltr_path to struct pci_dev for 5.15.70 drm

date 2022-10-03T10:13:23Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/nbio_v2_3.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/nbio_v6_1.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/nbio_v7_4.c log diff annotate
message drm/amdgpu: Don't enable LTR if not supported

From Lijo Lazar
dcef16f64969eefb83c8711173fd025611f258f8 in linux 5.15.y/5.15.70
6c20490663553cd7e07d8de8af482012329ab9d6 in mainline linux

date 2022-10-03T10:16:12Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/soc15.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/vega10_ih.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/vega20_ih.c log diff annotate
message drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega

From Alex Deucher
0a7d86f156fad2a4420404c1f71c9ee79970ab0c in linux 5.15.y/5.15.70
dc1d85cb790f2091eea074cee24a704b2d6c4a06 in mainline linux

date 2022-10-03T10:18:28Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/soc15.c log diff annotate
message drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega

From Alex Deucher
8c2bbfb0ded3f41e2985a7856da56f130288d926 in linux 5.15.y/5.15.70
e3163bc8ffdfdb405e10530b140135b2ee487f89 in mainline linux

date 2022-10-03T11:30:27Z
author jsg
files src/sys/dev/pci/drm/include/linux/compiler.h log diff annotate
message add noinline_for_stack for 5.15.71 drm

date 2022-10-03T11:39:40Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.h log diff annotate
message drm/amdgpu: Separate vf2pf work item init from virt data exchange

From Victor Skvortsov
25a90a11036b6fd385ee75536b78659fc481d529 in linux 5.15.y/5.15.71
892deb48269c65376f3eeb5b4c032ff2c2979bd7 in mainline linux

date 2022-10-03T11:42:42Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
message drm/amdgpu: make sure to init common IP before gmc

From Alex Deucher
55653c548612d7ffbb21cf05ebff6d14f79cc913 in linux 5.15.y/5.15.71
a8671493d2074950553da3cf07d1be43185ef6c6 in mainline linux

date 2022-10-03T11:46:17Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c log diff annotate
message drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV

From Jingwen Chen
5f270b61ee8b01ab410e3e6ee4f4cc0b32300605 in linux 5.15.y/5.15.71
9a458402fb69bda886aa6cbe067311b6e3d9c52a in mainline linux

date 2022-10-03T11:48:47Z
author jsg
files src/sys/dev/pci/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c log diff annotate
message drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards

From Guchun Chen
f76d6f309a685d24a32703b4d5c5a71e76f4b793 in linux 5.15.y/5.15.71
7c6fb61a400bf3218c6504cb2d48858f98822c9d in mainline linux

date 2022-10-03T11:50:34Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c log diff annotate
message drm/amdgpu: use dirty framebuffer helper

From Hamza Mahfooz
33b128f790b6df7e44e4435c6b9387b257637d15 in linux 5.15.y/5.15.71
66f99628eb24409cb8feb5061f78283c8b65f820 in mainline linux

date 2022-10-03T11:52:57Z
author jsg
files src/sys/dev/pci/drm/amd/display/modules/color/color_gamma.c log diff annotate
message drm/amd/display: Limit user regamma to a valid value

From Yao Wang1
a541c011181823494c53b15020fae5c3b45f5ec2 in linux 5.15.y/5.15.71
3601d620f22e37740cf73f8278eabf9f2aa19eb7 in mainline linux

date 2022-10-03T11:56:02Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c log diff annotate
message drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()

From Nathan Chancellor
9539cfc744933198318eb061ffce87964559ff87 in linux 5.15.y/5.15.71
37934d4118e22bceb80141804391975078f31734 in mainline linux

date 2022-10-03T11:57:51Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c log diff annotate
message drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()

From Nathan Chancellor
492db4ffcff3c3bac1f36bbb100e45c9fe718e34 in linux 5.15.y/5.15.71
21485d3da659b66c37d99071623af83ee1c6733d in mainline linux

date 2022-10-03T11:59:53Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c log diff annotate
message drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage

From Nathan Chancellor
1c26968caf181add92bbf556e3eb3c14ccbe7fa2 in linux 5.15.y/5.15.71
41012d715d5d7b9751ae84b8fb255e404ac9c5d0 in mainline linux

date 2022-10-03T12:02:12Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c log diff annotate
message drm/amdgpu: don't register a dirty callback for non-atomic

From Alex Deucher
21b0301f2234112fbe5cfc1e13968f0a12f0f2d2 in linux 5.15.y/5.15.71
abbc7a3dafb91b9d4ec56b70ec9a7520f8e13334 in mainline linux

date 2022-10-03T14:10:53Z
author bluhm
files src/sys/kern/subr_percpu.c log diff annotate
message Add a second membar producer into counters_zero(). Now it is
symmetric to counters_read().
OK jmatthew@

date 2022-10-03T16:43:52Z
author bluhm
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_socket2.c log diff annotate
src/sys/kern/uipc_usrreq.c log diff annotate
src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/ip_divert.h log diff annotate
src/sys/netinet/ip_var.h log diff annotate
src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/tcp_subr.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet/udp_var.h log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/ip6_divert.h log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
src/sys/sys/protosw.h log diff annotate
src/sys/sys/socketvar.h log diff annotate
src/sys/sys/unpcb.h log diff annotate
message System calls should not fail due to temporary memory shortage in
malloc(9) or pool_get(9).
Pass down a wait flag to pru_attach(). During syscall socket(2)
it is ok to wait, this logic was missing for internet pcb. Pfkey
and route sockets were already waiting.
sonewconn() must not wait when called during TCP 3-way handshake.
This logic has been preserved. Unix domain stream socket connect(2)
can wait until the other side has created the socket to accept.
OK mvs@

date 2022-10-03T19:32:22Z
author kettenis
files src/sys/arch/arm64/arm64/machdep.c log diff annotate
src/sys/arch/arm64/conf/files.arm64 log diff annotate
src/sys/arch/arm64/dev/Attic/efi.c log diff annotate
src/sys/arch/arm64/dev/efi_machdep.c log diff annotate
src/sys/arch/armv7/armv7/armv7_machdep.c log diff annotate
src/sys/arch/riscv64/riscv64/machdep.c log diff annotate
src/sys/dev/acpi/Attic/efi.h log diff annotate
src/sys/dev/efi/efi.h log diff annotate
message Reorganize the EFI code a bit. Move the efi.h header from dev/acpi to
dev/efi and rename the arm64 efi.c to efi_machdep.c, preparing the way
for MI EFI code and an amd64 implementation of EFI runtime support.

ok deraadt@, mlarkin@

date 2022-10-03T21:02:02Z
author jca
files src/sys/dev/fdt/dapmic.c log diff annotate
message dapmic(4): support clean shutdown with the power button

Register an interrupt handler and look for nONKEY events.
Mask off all other events. Also clear the FAULT_LOG register at
startup, but don't attempt to acknowledge its contents at runtime. This
lets the user force a shutdown with a long power button press. Some
events in EVENT_* or FAULT_LOG may benefit from more graceful handling.

This makes it possible to cleanly shutdown my Hifive Unmatched using
the power button.

Thanks to kettenis@ who wrote sfgpio(4) to handle dapmic(4) interrupts
on the Unmatched. ok kettenis@