CVS: cvs.openbsd.org: src

2024-02-05 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2024/02/05 22:39:28

Modified files:
sbin/ipsecctl  : ipsecctl.c 

Log message:
Tweak previous.  Passing "dns" to pledge(2) is suitable for the purpose.

input deraadt, ok tobhe



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 22:07:28

Modified files:
gnu/lib/libcompiler_rt: Makefile 

Log message:
Add risc-v support code for clang -msave-restore

ok kettenis@



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 22:00:12

Modified files:
gnu/lib/libcompiler_rt: Makefile 

Log message:
Fix RTARCH in our Makefile and lets us access riscv-specific implementations

This brings us fp_mode.c used in softfloat code, and muldi3.S used when
the target ISA doesn't have the Multiply extension.

ok kettenis@



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 21:07:51

Modified files:
sys/dev/pci/drm/amd/amdgpu: gmc_v6_0.c gmc_v7_0.c gmc_v8_0.c 
gmc_v9_0.c 

Log message:
drm/amdgpu: Fix missing error code in 'gmc_v6/7/8/9_0_hw_init()'

>From Srinivasan Shanmugam
7110e98840ee6b7009304b1e41c8e6930452a48e in linux-6.6.y/6.6.16
16da399091dca3d1e48109086403587af37cc196 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 21:05:39

Modified files:
sys/dev/pci/drm/amd/amdkfd: kfd_process_queue_manager.c 

Log message:
drm/amdkfd: only flush mes process context if mes support is there

>From Jonathan Kim
3c0a7eac9e7883317e2010bc525a3f1c4847587c in linux-6.6.y/6.6.16
24149412dfc71f7f4a54868702e9145e396263d3 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 21:04:12

Modified files:
sys/dev/pci/drm/include/drm: drm_color_mgmt.h 

Log message:
drm: using mul_u32_u32() requires linux/math64.h

>From Stephen Rothwell
8de8f000ffe1c930d0cdf73cfce91b0d1746c3bc in linux-6.6.y/6.6.16
933a2a376fb3f22ba4774f74233571504ac56b02 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 21:01:06

Modified files:
sys/dev/pci/drm/amd/amdkfd: kfd_svm.c 

Log message:
drm/amdkfd: Fix 'node' NULL check in 'svm_range_get_range_boundaries()'

>From Srinivasan Shanmugam
5ea4007636b27800fa01555428aa9c198aeb5bf4 in linux-6.6.y/6.6.16
d7a254fad873775ce6c32b77796c81e81e6b7f2e in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:59:48

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_device.c 

Log message:
drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()'

>From Srinivasan Shanmugam
25c2de1fbd8ee13008791a3c131f5fed02b3ccec in linux-6.6.y/6.6.16
8a44fdd3cf91debbd09b43bd2519ad2b2486ccf4 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:58:02

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_gmc.c 

Log message:
drm/amdgpu: Fix with right return code '-EIO' in 'amdgpu_gmc_vram_checking()'

>From Srinivasan Shanmugam
b02831b8a5b687138df4662ff914aa3defc2499e in linux-6.6.y/6.6.16
fac4ebd79fed60e79cccafdad45a2bb8d3795044 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:56:23

Modified files:
sys/dev/pci/drm/amd/pm/powerplay/hwmgr: process_pptables_v1_0.c 

Log message:
drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 
'get_platform_power_management_table()'

>From Srinivasan Shanmugam
0ee4c5829fb3cfb8b168956be9a28ede5996a8f8 in linux-6.6.y/6.6.16
6616b5e1999146b1304abe78232af810080c67e3 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:55:02

Modified files:
sys/dev/pci/drm/amd/pm/powerplay/hwmgr: smu7_hwmgr.c 

Log message:
drm/amdgpu: fix avg vs input power reporting on smu7

>From Alex Deucher
d0bc6be623ba7270ad71fee9a8af6843420e7191 in linux-6.6.y/6.6.16
25852d4b97572ff62ffee574cb8bb4bc551af23a in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:53:15

Modified files:
sys/dev/pci/drm/amd/amdkfd: kfd_svm.c 

Log message:
drm/amdkfd: Fix lock dependency warning with srcu

>From Philip Yang
752312f6a79440086ac0f9b08d7776870037323c in linux-6.6.y/6.6.16
2a9de42e8d3c82c6990d226198602be44f43f340 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:51:59

Modified files:
sys/dev/pci/drm/amd/amdkfd: kfd_svm.c 

Log message:
drm/amdkfd: Fix lock dependency warning

>From Felix Kuehling
28d2d623d2fbddcca5c24600474e92f16ebb3a05 in linux-6.6.y/6.6.16
47bf0f83fc86df1bf42b385a91aadb910137c5c9 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:50:16

Modified files:
sys/dev/pci/drm/amd/amdgpu: gfxhub_v1_0.c gfxhub_v1_2.c 
mmhub_v1_0.c 
sys/dev/pci/drm/amd/display/amdgpu_dm: amdgpu_dm.c 

Log message:
drm/amdgpu: apply the RV2 system aperture fix to RN/CZN as well

>From Alex Deucher
08dde830ab24cfcb855b198f7dbe7d3637f623bc in linux-6.6.y/6.6.16
16783d8ef08448815e149e40c82fc1e1fc41ddbf in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:47:55

Modified files:
sys/dev/pci/drm/amd/amdkfd: kfd_topology.c 

Log message:
drm/amdkfd: Fix iterator used outside loop in 'kfd_add_peer_prop()'

>From Srinivasan Shanmugam
583e0a336bfbf3f2fb2badc7d1980dadfb3611f0 in linux-6.6.y/6.6.16
b1a428b45dc7e47c7acc2ad0d08d8a6dda910c4c in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:46:37

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_amdkfd_fence.c 

Log message:
drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'

>From Srinivasan Shanmugam
ff5aefbbd82ea7eee61606ff7cce56bfac269010 in linux-6.6.y/6.6.16
bf2ad4fb8adca89374b54b225d494e0b1956dbea in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:45:17

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_ucode.c 

Log message:
drm/amdgpu: Fix '*fw' from request_firmware() not released in 
'amdgpu_ucode_request()'

>From Srinivasan Shanmugam
aa1791b280ed36005226e031a622091fa7e5382e in linux-6.6.y/6.6.16
13a1851f923d9a7a78a477497295c2dfd16ad4a4 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:43:45

Modified files:
sys/dev/pci/drm/amd/display/amdgpu_dm: amdgpu_dm.c 
   amdgpu_dm_crtc.c 
sys/dev/pci/drm/amd/include: amd_shared.h 

Log message:
Re-revert "drm/amd/display: Enable Replay for static screen use cases"

>From Ivan Lipski
90df72694a5b7ca2a415eb3baeb9f385cee8033c in linux-6.6.y/6.6.16
d6398866a6b47e92319ef6efdb0126a4fbb7796a in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:40:18

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_sync.c 

Log message:
drm/amdgpu: Let KFD sync with VM fences

>From Felix Kuehling
0d35c8977be8f220931d437d568f64a7028d0115 in linux-6.6.y/6.6.16
ec9ba4821fa52b5efdbc4cdf0a77497990655231 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:38:48

Modified files:
sys/dev/pci/drm/amd/display/dc/link/protocols: link_dp_dpia_bw.c 
   link_dp_dpia_bw.h 

Log message:
drm/amd/display: Fix minor issues in BW Allocation Phase2

>From Meenakshikumar Somasundaram
cef7f96a0a4c00f761248cd714b086c1256992cb in linux-6.6.y/6.6.16
aa5dc05340eb97486a631ce6bccb8d020bf6b56b in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:36:14

Modified files:
sys/dev/pci/drm/amd/amdgpu: aldebaran.c gmc_v10_0.c gmc_v11_0.c 
gmc_v9_0.c 

Log message:
drm/amdgpu: Fix ecc irq enable/disable unpaired

>From Stanley Yang
0a8fc4e007b933d46f079a1d9ab8539a4d8439ef in linux-6.6.y/6.6.16
a32c6f7f5737cc7e31cd7ad5133f0d96fca12ea6 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:34:28

Modified files:
sys/dev/pci/drm/amd/display/dc/dce110: dce110_hw_sequencer.c 
sys/dev/pci/drm/amd/display/dc/dcn10: dcn10_hw_sequencer.c 
sys/dev/pci/drm/amd/display/dc/dcn20: dcn20_hwseq.c 
sys/dev/pci/drm/amd/display/dc/dcn31: dcn31_hwseq.c 

Log message:
drm/amd/display: Only clear symclk otg flag for HDMI

>From Alvin Lee
49b4cab7bcbdfe621162405502283fc9cb3ef77f in linux-6.6.y/6.6.16
dff45f03f508c92cd8eb2050e27b726726b8ae0b in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:32:50

Modified files:
sys/dev/pci/drm/amd/display/dc: dc_hw_types.h 

Log message:
drm/amd/display: make flip_timestamp_in_us a 64-bit variable

>From Josip Pavic
4033887acddcbb15280091f0a125ac0829cffdc8 in linux-6.6.y/6.6.16
6fb12518ca58412dc51054e2a7400afb41328d85 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:29:53

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_object.c amdgpu_object.h 
amdgpu_ttm.c 

Log message:
drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap

>From Wang Beyond
e7a0ee45c653784edda5e36bae6ae3c75fd5e7a8 in linux-6.6.y/6.6.16
94aeb4117343d072e3a35b9595bcbfc0058ee724 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:25:50

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_mes.c amdgpu_mes.h 
sys/dev/pci/drm/amd/amdkfd: kfd_process_queue_manager.c 
sys/dev/pci/drm/amd/include: mes_v11_api_def.h 

Log message:
drm/amdkfd: fix mes set shader debugger process management

>From Jonathan Kim
3a950c56dea199d65bc98db348c017856aa2f194 in linux-6.6.y/6.6.16
bd33bb1409b494558a2935f7bbc7842def957fcd in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:23:27

Modified files:
sys/dev/pci/drm/amd/display/dc/dcn20: dcn20_hwseq.c 

Log message:
drm/amd/display: Force p-state disallow if leaving no plane config

>From Alvin Lee
e9ca61a7e6b0d323547067e1dde64a97476e1696 in linux-6.6.y/6.6.16
9a902a9073c287353e25913c0761bfed49d75a88 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:21:45

Modified files:
sys/dev/pci/drm/amd/display/dc/dml/dcn32: display_mode_vba_32.c 
  display_mode_vba_util_32.c 
  display_mode_vba_util_32.h 

Log message:
drm/amd/display: For prefetch mode > 0, extend prefetch if possible

>From Alvin Lee
6750d1de747f4d2db0046a25b069e15341f6a9ba in linux-6.6.y/6.6.16
dd4e4bb28843393065eed279e869fac248d03f0f in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:20:00

Modified files:
sys/dev/pci/drm: drm_mipi_dsi.c 
sys/dev/pci/drm/include/drm: drm_mipi_dsi.h 

Log message:
drm/mipi-dsi: Fix detach call without attach

>From Tomi Valkeinen
daf57c5ce16e907405d8a59a4f2be20e204906e4 in linux-6.6.y/6.6.16
90d50b8d85834e73536fdccd5aa913b30494fef0 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:17:19

Modified files:
sys/dev/pci/drm: drm_framebuffer.c 

Log message:
drm/framebuffer: Fix use of uninitialized variable

>From Tomi Valkeinen
9b3fbff86a623a0ec053d5a4ab432956cb025c1f in linux-6.6.y/6.6.16
f9af8f0c1dc567a5a6a6318ff324c45d80d4a60f in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:15:49

Modified files:
sys/dev/pci/drm: drm_file.c 

Log message:
drm/drm_file: fix use of uninitialized variable

>From Tomi Valkeinen
2cde325e185b43accae56a23c18b2e735245197a in linux-6.6.y/6.6.16
1d3062fad9c7313fff9970a88e0538a24480ffb8 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:14:23

Modified files:
sys/dev/pci/drm/amd/display/dc/link: link_dpms.c 

Log message:
drm/amd/display: Fix MST PBN/X.Y value calculations

>From Ilya Bakoulin
01e7578c7cd3d8815fae130ac74b1303c056bd2d in linux-6.6.y/6.6.16
94bbf802efd0a8f13147d6664af6e653637340a8 in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 20:13:06

Modified files:
sys/dev/pci/drm/amd/display/dc/core: amdgpu_dc.c 

Log message:
drm/amd/display: Fix tiled display misalignment

>From Meenakshikumar Somasundaram
1c563c04509080b374af5adf8e1c45718e3f37bf in linux-6.6.y/6.6.16
c4b8394e76adba4f50a3c2696c75b214a291e24a in mainline linux



CVS: cvs.openbsd.org: src

2024-02-05 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2024/02/05 17:18:53

Modified files:
sys/net: if.c 

Log message:
Invert broken check of panic string in if_linkstate().

original bug report from syzkaller
Reported-by: syzbot+d19060a65721eb432...@syzkaller.appspotmail.com
broken fix found by Hrvoje Popovski
hint to the problem and OK deraadt@



CVS: cvs.openbsd.org: src

2024-02-05 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2024/02/05 16:16:39

Modified files:
sys/net: route.c 
sys/netinet: ip_var.h 
sys/netinet6   : ip6_var.h 
usr.bin/netstat: inet.c inet6.c 

Log message:
Add netstat counter for route cache.

To optimize route caching, count cache hits and misses.  This is
shown in netstat -s for both inet and inet6.  Reuse the old IPv6
forward cache counter.  Sort ip6s_wrongif consistently.  For now
only IPv4 cache counter has been implemented.

OK mvs@



CVS: cvs.openbsd.org: src

2024-02-05 Thread Dave Voutila
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2024/02/05 14:58:09

Modified files:
usr.sbin/vmd   : config.c vioblk.c vionet.c virtio.c vm.c vmd.c 
 vmm.c 

Log message:
Cleanup fcntl(3) usage and fd lifetimes in vmd(8).

Remove extraneous fcntl(3) usage for setting fd features that can
be set at time of open(2), pipe2(2), or socketpair(2). Also cleans
up pty creation switching to using functions from libutil instead
of direct ioctl(2) calls.

ok mlarkin@, original diff ok claudio@ as well.



CVS: cvs.openbsd.org: src

2024-02-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/02/05 14:41:52

Modified files:
distrib/sets/lists/base: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2024-02-05 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 14:33:00

Modified files:
share/man/man4 : ddb.4 

Log message:
remove /f from "show buf", which was used for softdep info
and is no longer relevant after softdep removal;

confirmed by miod



CVS: cvs.openbsd.org: src

2024-02-05 Thread Vitaliy Makkoveev
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 13:21:39

Modified files:
sys/kern   : uipc_socket.c uipc_socket2.c 
sys/nfs: nfs_socket.c nfs_syscalls.c 

Log message:
Use `sb_mtx' mutex(9) to protect `sb_timeo_nsecs'. In most places
solock() is still held because other 'sockbuf' members require it, but
in so{g,s}etopt() paths solock() is avoided.

ok bluhm



CVS: cvs.openbsd.org: src

2024-02-05 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/02/05 12:23:58

Modified files:
usr.sbin/rpki-client: aspa.c mft.c roa.c rsc.c tak.c 

Log message:
Check whether all data in eContent has been consumed

It is possible that a given ASN.1 template generated d2i_*() function
didn't consume all data, so there is a potential for malleability.
The econtent is a sequence (which means it could be the concatenation
of several DER "blobs"). d2i_*() would only deserialize the first one
and not notice blobs following it.

OK tb@



CVS: cvs.openbsd.org: src

2024-02-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/02/05 12:08:29

Modified files:
sys/dev/pci: mfii.c 

Log message:
support newer mfii devices; ok jmatthew



CVS: cvs.openbsd.org: src

2024-02-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/02/05 12:08:11

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
sync



CVS: cvs.openbsd.org: src

2024-02-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/02/05 12:07:45

Modified files:
sys/dev/pci: pcidevs 
share/man/man4 : mfii.4 

Log message:
newer mfii devices; ok jmatthew



CVS: cvs.openbsd.org: src

2024-02-05 Thread Vitaliy Makkoveev
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 11:27:47

Modified files:
sys/net: if.c 

Log message:
Don't send route messages while rebooting after panic. Syskaller exposed
[1] that if_downall() tries to send route messages and triggers panic
again but in knote(9) layer.

1. https://syzkaller.appspot.com/bug?extid=d19060a65721eb432a72

ok bluhm



CVS: cvs.openbsd.org: src

2024-02-05 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2024/02/05 10:07:23

Modified files:
share/zoneinfo : leapseconds.awk zishrink.awk 
share/zoneinfo/datfiles: africa asia australasia etcetera europe 
 leap-seconds.list northamerica 
 southamerica 

Log message:
Update to 2024agtz from https://github.com/JodaOrg/global-tz
o Kazakhstan unifies on UTC+5 beginning 2024-03-01.
o Palestine springs forward a week later after Ramadan.



CVS: cvs.openbsd.org: src

2024-02-05 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 08:34:11

Modified files:
regress/usr.sbin/btrace: filters.bt mapoverwrite.bt 
 multiprobe.bt 

Log message:
Increase interval's rate to speed up tests.



CVS: cvs.openbsd.org: src

2024-02-05 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 08:30:04

Modified files:
regress/usr.sbin/btrace: Makefile 
Added files:
regress/usr.sbin/btrace: argn.bt argn.ok 

Log message:
Regress test for undefined probe arguments fixed in in btrace.c,v 1.83.

Adapted from a submission from Christian Ludwig.



CVS: cvs.openbsd.org: src

2024-02-05 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 08:18:19

Modified files:
regress/usr.sbin/btrace: map.bt map.ok 

Log message:
Adapt map regress test to cover associated arrays fixed in btrace.c r1.82.

>From Christian Ludwig.



CVS: cvs.openbsd.org: src

2024-02-05 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 08:11:35

Modified files:
usr.sbin/btrace: btrace.c 

Log message:
Print statistics on stderr to be able to redirect bt(5) script output.

>From Christian Ludwig.



CVS: cvs.openbsd.org: src

2024-02-05 Thread Kenji Aoyama
CVSROOT:/cvs
Module name:src
Changes by: aoy...@cvs.openbsd.org  2024/02/05 05:52:11

Modified files:
sys/net: route.h 
sys/netinet: in.h 

Log message:
Move route_cache() declaration from net/route.h to netinet/in.h.

This prevents gcc3's 'parameter has incomplete type' warning that
causes kernel build failure.

Suggested by claudio@, ok bluhm@



CVS: cvs.openbsd.org: src

2024-02-05 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2024/02/05 04:46:58

Modified files:
share/snmp : Makefile 
Added files:
share/snmp : BRIDGE-MIB.txt HOST-RESOURCES-MIB.txt 
 IANA-RTPROTO-MIB.txt 
 IANA-STORAGE-MEDIA-TYPE-MIB.txt 
 IANAifType-MIB.txt IF-MIB.txt 
 INET-ADDRESS-MIB.txt IP-FORWARD-MIB.txt 
 IP-MIB.txt SNMP-FRAMEWORK-MIB.txt 
 SNMP-USER-BASED-SM-MIB.txt SNMP-USM-AES-MIB.txt 
 SNMP-USM-HMAC-SHA2-MIB.txt SNMPv2-CONF.txt 
 SNMPv2-MIB.txt SNMPv2-SMI.txt SNMPv2-TC.txt 
 SNMPv2-TM.txt TRANSPORT-ADDRESS-MIB.txt 
 UUID-TC-MIB.txt VM-MIB.txt 

Log message:
Add a bunch of IANA/IETF MIBs that are (partially) supported by OpenBSD.
These will soon be picked up by snmpd(8) for debugging output and
OID names used in snmpd.conf(5).

Go ahead sthen@ and tb@



CVS: cvs.openbsd.org: src

2024-02-05 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2024/02/05 03:45:47

Modified files:
sys/dev/pci: if_qwx_pci.c 

Log message:
Add a 1ms delay before starting the MHI channels.  This is a hack; we're
probably not waiting iproperly for some sort of firmware state transition.
But this gets us going on the x13s.

ok stsp@, phessler@