CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/06/21 23:19:01 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_display.c sys/dev/pci/drm/amd/display/amdgpu_dm: amdgpu_dm.c Log message: drm/amdgpu: Don't set struct drm_driver.output_poll_changed >From Thomas Zimmermann 4b4cae8e4b37c7ad4d9721dbda060a62e49e3c17 in linux-6.1.y/6.1.35 0e3172bac3f43759719384403fe2d1e4c61f87e0 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/06/21 23:17:31 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c Log message: drm/amdgpu: add missing radeon secondary PCI ID >From Alex Deucher 21863dc45aed8d68a2573cce032ecbc8fe7c5bf5 in linux-6.1.y/6.1.35 e61f67749b351c19455ce3085af2ae9af80023bc in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/06/21 23:16:06 Modified files: sys/dev/pci/drm/amd/pm/swsmu/smu13: smu_v13_0_0_ppt.c Log message: drm/amd/pm: workaround for compute workload type on some skus >From Kenneth Feng 6f5b5ce9397d91b0a8bc8d15dc8fd72bc0aacaa4 in linux-6.1.y/6.1.35 7ca302d488f80cf4529620acc1c545f9022d8bb8 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/06/21 23:14:26 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_psp.c Log message: drm/amd: Tighten permissions on VBIOS flashing attributes >From Mario Limonciello b69a10df900386871703a4cc3be974485f52ff7c in linux-6.1.y/6.1.35 7ab1a4913d0051cf5196ef7987b5fa42c25e13b6 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/06/21 23:10:03 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_psp.c Log message: drm/amd: Make sure image is written to trigger VBIOS image update flow >From Mario Limonciello b2706d862b6577b8218bdef1c238e175624b906d in linux-6.1.y/6.1.35 3eb1a3a04056ba3df3205e169b8acc9da0c65a94 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/06/21 23:08:30 Modified files: sys/dev/pci/drm/amd/display/amdgpu_dm: amdgpu_dm.c Log message: drm/amd/display: edp do not add non-edid timings >From Hersen Wu ee8c6580c3106b0061c7cdff1804e5a1f1e1d7fe in linux-6.1.y/6.1.35 e749dd10e5f292061ad63d2b030194bf7d7d452c in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/06/21 23:07:09 Modified files: sys/dev/pci/drm/amd/amdgpu: vcn_v4_0.c Log message: drm/amdgpu: vcn_4_0 set instance 0 init sched score to 1 >From Sonny Jiang 5d1fdfb3d185a9726478ba174235eff7c16f1101 in linux-6.1.y/6.1.35 9db5ec1ceb5303398ec4f899d691073d531257c3 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/06/21 23:05:57 Modified files: sys/dev/pci/drm/amd/amdgpu: gfx_v10_0.c gfx_v9_0.c Log message: drm:amd:amdgpu: Fix missing buffer object unlock in failure path >From Sukrut Bellary 8ca9880735b0a33a4ff54328d6c5eb60fe2b0a6d in linux-6.1.y/6.1.35 60ecaaf54886b0642d5c4744f7fbf1ff0d6b3e42 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2023/06/21 23:04:19 Modified files: sys/dev/pci/drm: drm_panel_orientation_quirks.c Log message: drm: panel-orientation-quirks: Change Air's quirk to support Air Plus >From Maya Matuszczyk c45aed74318e65b8da938a593c124ad2ee1a1e66 in linux-6.1.y/6.1.35 1aa7f416175619e0286fddc5fc44e968b06bf2aa in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: mlar...@cvs.openbsd.org 2023/06/21 17:24:10 Modified files: sys/dev/pci: if_iwx.c Log message: Remove extra trailing whitespace ok stsp
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/21 16:22:08 Modified files: bin/ksh: edit.c edit.h emacs.c exec.c sh.h Log message: ksh: escape control chars when displaying file name completions. If there are multiple matches when using autocomplete, the list of matching file names was output as-is. However, for a single match, control characters are escaped before the file name is displayed. This makes the behavior more consistent by escaping control chars in the list of matches too. Discussed with deraadt@, OK op@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: chel...@cvs.openbsd.org 2023/06/21 15:16:22 Modified files: share/man/man9 : uvm_init.9 sys/kern : sched_bsd.c sys/uvm: uvm_meter.c uvm_extern.h Log message: Revert "schedcpu, uvm_meter(9): make uvm_meter() an independent timeout" Sometimes causes boot hang after mounting root partition. Thread 1: https://marc.info/?l=openbsd-misc=168736497407357=2 Thread 2: https://marc.info/?l=openbsd-misc=168737429214370=2
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/06/21 11:59:24 Modified files: usr.sbin/smtpd : lka_filter.c Log message: clear errno before strtoull as it may already be set to ERANGE noticed and ok millert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/06/21 11:56:26 Modified files: usr.sbin/smtpd : lka_filter.c Log message: avoid truncation of filtered data lines Don't copy in a buffer the filter' output for parsing as we may truncate filter-dataline (i.e. the mail body). Instead, parse the string by advancing the pointer without copying or modifications. Issue reported by Joachim Schneider on the OpenSMTPD-portable repository. ok millert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/06/21 07:11:49 Modified files: lib/libc/stdio : open_memstream.c open_wmemstream.c Log message: Use recallocarray() consistently. recallocarray() was introduced to simplify exactly this use case where the new memory needs to be zeroed during resize. Since recallocarray() takes care of all this there is no need to bzero() memory anymore. OK tb@ millert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2023/06/21 06:50:09 Modified files: sbin/disklabel : disklabel.c editor.c extern.h Log message: Add a parameter 'action' to mpfree() so it can optionally discard or keep the memory pointed at by the char ** parameter. Allows mpfree() to be used against the global mountpoints[] and eliminates a couple of manual loops to free the current contents of mountpoints[]. No intentional functional change.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2023/06/21 03:47:03 Modified files: usr.sbin/ospf6ctl: ospf6ctl.8 ospf6ctl.c parser.c parser.h usr.sbin/ospf6d: control.c kroute.c ospf6.h ospf6d.c ospf6d.h Log message: add "fib reload" support to ospf6d/ospf6ctl, and trigger it automatically on a timeout after RTM_DESYNC (i.e. route socket overflow). ported across from ospfd. fixes/ok claudio@ (it's much harder to overflow the routing socket buffer these days since it was bumped to 2MB, but still happens occasionally on a busy machine).
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/06/21 01:56:43 Modified files: lib/libcrypto/bn/arch/aarch64: bn_arch.h Log message: Provide optimised bn_clzw() for aarch64.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/06/21 01:54:54 Modified files: usr.sbin/relayd: check_tcp.c relayd.h Log message: Simplify and clean up the code. Try to use more ibuf idioms but the mix of types used in these functions make this rather hard. The expected data checks are still not great but a step in the right direction. OK tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/06/21 01:49:24 Modified files: usr.sbin/relayd: util.c Log message: Convert string2binary() to use new ibuf api instead of working with an extra buffer first. OK tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/06/21 01:48:41 Modified files: lib/libcrypto/bn: bn_internal.h bn_lib.c bn_primitives.c Log message: Provide and use bn_clzw() in place of bn_word_clz(). On some architectures, we can provide an optimised (often single instruction) count-leading-zero implementation. In order to do this effectively, provide bn_clzw() as a static inline that can be replaced by an architecture specific version. The default implementation defers to the bn_word_clz() function (which may also be architecture specific). ok tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/06/21 01:45:47 Modified files: usr.sbin/ospf6d: database.c lsupdate.c ospfe.c packet.c Log message: Update ospf6d to use new ibuf api. This mostly moves away from memcpy(ibuf_seek(buf, off, size), data, size) to ibuf_set(buf, off, data, size). Also ibuf_reserve() is replaced with ibuf_add_zero(). OK tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2023/06/21 01:44:08 Modified files: usr.sbin/ospfd : lsupdate.c Log message: Remove extra newlines
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/06/21 01:41:55 Modified files: lib/libcrypto : Makefile lib/libcrypto/bn: bn_internal.h bn_lib.c bn_local.h Added files: lib/libcrypto/bn: bn_primitives.c Log message: Make BN_num_bits() independent of bn->top. Provide bn_bitsize(), which performs a constant time scan of a BN in order to determine the bit size of the BN value. Use this for BN_num_bits() such that it is no longer dependent on the bn->top value. ok tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/06/21 01:18:10 Modified files: regress/lib/libcrypto/bn: bn_mul_div.c Log message: Add tests for BN_sqr() corner cases. Test BN_sqr() with a newly allocated BN, a BN explicitly set to zero and small values that fit in a single BN_ULONG.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/06/21 01:16:08 Modified files: regress/lib/libcrypto/bn: bn_cmp.c Log message: Add BN_cmp()/BN_ucmp() tests with zero padded inputs. Currently BN_hex2bn() removes the leading zeros, however this will not be the case in the future.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/06/21 01:15:38 Modified files: regress/lib/libcrypto/bn: bn_unit.c Log message: Add a BN_num_bits() with zero padded input. Currently BN_hex2bn() removes the leading zeros, however this will not be the case in the future.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2023/06/21 00:28:18 Modified files: usr.bin/tmux : popup.c Log message: Check fdopen return value, from Christian Menges.