CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 23:04:48

Modified files:
lib/libcrypto/man: BN_new.3 

Log message:
Fix Xr order to appease mandoc -Tlint



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 23:02:53

Modified files:
lib/libcrypto/man: OBJ_NAME_add.3 OBJ_add_sigid.3 OBJ_create.3 
   OBJ_nid2obj.3 OpenSSL_add_all_algorithms.3 

Log message:
Remove OBJ_add_sigid and OBJ_sigid_free documentation

These will be made internal and will likely go away.  The OBJ_add_sigid.3
manual should probably be renamed; this can be done in a second step.



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 22:51:27

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

Log message:
sync



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 22:50:47

Modified files:
lib/libcrypto/man: BIO_new.3 Makefile 
Removed files:
lib/libcrypto/man: ASN1_buf_print.3 

Log message:
Remove ASN1_buf_print documentation

This function will be made internal-only and likely be renamed/rewritten.



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 22:44:40

Modified files:
lib/libcrypto/man: ECDSA_SIG_new.3 

Log message:
Remove remaining ECDSA_METHOD documentation



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 22:39:49

Modified files:
lib/libcrypto/man: BIO_get_ex_new_index.3 

Log message:
Remove documentation of ECDH/ECDSA ex_data API



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 22:35:36

Modified files:
lib/libcrypto/man: ENGINE_get_default_RSA.3 

Log message:
Document ENGINE_get_default_EC

ENGINE_get_default_{ECDH,ECDSA} will go away and won't come back. Replace
their documentation with the missing ENGINE_get_defaulT_EC. In the unlikely
event that we will need to bring back ENGINE after the next bump, this
manual will not be outdated and incomplete.



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 22:29:27

Modified files:
lib/libcrypto/man: ENGINE_set_RSA.3 

Log message:
Document ENGINE_{get,set}_EC

ENGINE_{get,set}_{ECDH,ECDSA} will go away and won't come back. Replace
their documentation with the missing ENGINE_{get,set}_EC. In the unlikely
event that we will need to bring back ENGINE after the next bump, this
manual will not be outdated and incomplete.



CVS: cvs.openbsd.org: src

2023-07-20 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2023/07/20 22:04:52

Modified files:
sys/arch/amd64/amd64: cpu.c identcpu.c locore0.S 
sys/arch/amd64/include: specialreg.h 
sys/arch/i386/i386: cpu.c locore0.S 
sys/arch/i386/include: specialreg.h 

Log message:
Rename ARCH_CAPABILITIES_* #defined to ARCH_CAP_*
Provide more ARCH_CAP_* defines per June 2023 SDM

ok jsg@ deraadt@



CVS: cvs.openbsd.org: src

2023-07-20 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 20:19:49

Modified files:
sys/dev/i2c: ietp.c 

Log message:
add missing newline on successful attachment, spotted by bmercer

remove duplicate prefixes on unsuccessful attachment, wrap at 80,
other minor nits



CVS: cvs.openbsd.org: src

2023-07-20 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/20 14:40:44

Modified files:
sys/arch/arm64/dev: aplpmgr.c 

Log message:
Remove unused function prototype.



CVS: cvs.openbsd.org: src

2023-07-20 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/20 14:32:11

Modified files:
gnu/llvm/clang/lib/Driver/ToolChains: Clang.cpp 

Log message:
Make sure -msign-return-address doesn't disable BTI support.

ok deraadt@



CVS: cvs.openbsd.org: src

2023-07-20 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/07/20 11:56:37

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgCreate.pm 

Log message:
fix esoteric error message in case PackageName parses stuff to a bogus
fullpkgname, as seen by Matthias Schmidt



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 11:27:54

Modified files:
regress/lib/libcrypto/free: freenull.awk 

Log message:
Remove a few workarounds that are no longer necessary



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 10:28:03

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

Log message:
sync



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 10:26:40

Modified files:
lib/libcrypto/man: Makefile 
Added files:
lib/libcrypto/man: BN_get_rfc3526_prime_8192.3 
Removed files:
lib/libcrypto/man: get_rfc3526_prime_8192.3 

Log message:
Move get_rfc3526_prime_8192.3 to BN_get_rfc3526_prime_8192.3

This way we will have a manual corresponding to an existing function after
the next bump.



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 09:08:12

Modified files:
lib/libcrypto/engine: eng_aesni.c eng_openssl.c eng_padlock.c 

Log message:
Remove unnecessary inclusion of dso.h



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 09:05:30

Modified files:
lib/libcrypto/conf: conf_mod.c 

Log message:
Remove last internal consumer of DSO

It is currently possible to extend libcrypto by having it load a shared
object via dlopen() either from a config file on library initialization
or when an application calls the relevant API. Recent and not so recent
events showed how dangerous an idea dlopen() is. Independently of such
concerns, this should not be handled in the characteristically convoluted
way of this toolkit. DSO will go away in the upcoming bump. This commit
clears the road for a plain cvs rm of the dso code.

ok jsing



CVS: cvs.openbsd.org: xenocara

2023-07-20 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2023/07/20 08:39:34

Modified files:
app/cwm: calmwm.h conf.c cwm.1 cwmrc.5 kbfunc.c 

Log message:
Allow cwm(1) to cycle through windows of the same window class as the
active window; default key binding to M-grave, respectively Alt-Tilde,
like other window managers have as well.

from Simon Dassow



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 08:17:13

Modified files:
lib/libcrypto/engine: eng_aesni.c 

Log message:
eng_aesni.c: add evp_local.h so it compiles again.



CVS: cvs.openbsd.org: src

2023-07-20 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2023/07/20 05:10:03

Modified files:
usr.sbin/bgpd  : control.c 

Log message:
Use sizeof(destination) not sizeof(source) in strlcpy() calls.
OK tb@



CVS: cvs.openbsd.org: src

2023-07-20 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2023/07/20 03:43:00

Modified files:
sys/dev/usb: xhci.c 

Log message:
Revert rev 1.129:
When detaching devices when we suspend, we need to continue processing
command completion events.  So only return early in xhci_softintr() if
the controller is dead instead of dying.  This fixes USB suspend/resume
in Apple M1/M2.

ok mlarkin@, deraadt@
-

The change does not only allow completion events to be processed but also
events that get processed by the drivers attached to this usb bus. As a
result I see a uvm panic on suspend in urtwn(4) which is triggered by a
bad rx eof.

OK kettenis@



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 03:38:45

Modified files:
lib/libcrypto/man: BN_new.3 get_rfc3526_prime_8192.3 

Log message:
Remove get_rfc*_prime_* documentation

Their BN_get_rfc*_prime_* aliases from the OpenSSL 1.1 API will remain.
Perhaps the manual should be moved to BN_get_rfc3526_prime_8192.3; that
can be done in a second step.



CVS: cvs.openbsd.org: src

2023-07-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/20 03:28:30

Modified files:
lib/libcrypto/man: ECDSA_SIG_new.3 EC_KEY_METHOD_new.3 
   ENGINE_get_default_RSA.3 ENGINE_set_RSA.3 

Log message:
Remove ECDSA_{do_,}sign_ex() and ECDSA_sign_setup()

These very poorly designed interfaces will go away, so stop documenting
them.



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 03:07:39

Modified files:
sys/dev/pci/drm/i915/display: intel_display_types.h intel_tc.c 

Log message:
drm/i915/tc: Fix system resume MST mode restore for DP-alt sinks

>From Imre Deak
1bdcffaa0d2c1dd0510d1b364c409e1c8fc96aa3 in linux-6.1.y/6.1.39
06f66261a1567d66b9d35c87393b6edfbea4c8f8 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 03:04:59

Modified files:
sys/dev/pci/drm/i915/display: intel_tc.c 

Log message:
drm/i915/tc: Fix TC port link ref init for DP MST during HW readout

>From Imre Deak
99025116f5c685d5af32ffd8552c47360d3adcb0 in linux-6.1.y/6.1.39
67165722c27cc46de112a4e10b450170c8980a6f in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 03:03:18

Modified files:
sys/dev/pci/drm/i915/display: intel_ddi.c intel_tc.c intel_tc.h 

Log message:
drm/i915: Fix TypeC mode initialization during system resume

>From Imre Deak
eaa0043a85795fd4ab10285750cabdf5c2abc8cd in linux-6.1.y/6.1.39
a82796a2e332d108b2d3aff38509caad370f69b5 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 03:00:58

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

Log message:
drm/amd: Don't try to enable secure display TA multiple times

>From Mario Limonciello
4033b47642c7e2956bb556f2dd953b5e9e47d927 in linux-6.1.y/6.1.39
5c6d52ff4b61e5267b25be714eb5a9ba2a338199 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:59:21

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

Log message:
drm/amdgpu: fix number of fence calculations

>From Christian Koenig
0d4e60e23c7d6a54f80e1b8ceec9a8c3df736dad in linux-6.1.y/6.1.39
570b295248b00c3cf4cf59e397de5cb2361e10c2 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:56:48

Modified files:
sys/dev/pci/drm/i915/gt/uc: intel_guc_slpc.c 

Log message:
drm/i915/guc/slpc: Apply min softlimit correctly

>From Vinay Belgaumkar
dcb526d768359095a438336f3aca5e8d98b7d2e6 in linux-6.1.y/6.1.39
3e49de73fb89272dea01ba420c7ccbcf6b96aed7 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:55:08

Modified files:
sys/dev/pci/drm/i915/display: intel_psr.c 

Log message:
drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times

>From Jouni Hogander
61070305d5207742027d2e46a0d72f81959125b8 in linux-6.1.y/6.1.39
5311892a0ad1d301aafd53ca0154091b3eb407ea in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:51:39

Modified files:
sys/dev/pci/drm/amd/display/amdgpu_dm: amdgpu_dm.c 

Log message:
Revert "drm/amd/display: edp do not add non-edid timings"

>From Hersen Wu
b91748bdbfb10673bc128179eb71cf66cb9641c4 in linux-6.1.y/6.1.39
d6149086b45e150c170beaa4546495fd1880724c in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:49:41

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

Log message:
drm/amdgpu: Fix usage of UMC fill record in RAS

>From Luben Tuikov
0e2c51a16fcb9e69923906bdaecdbbe1ea4fb8e9 in linux-6.1.y/6.1.39
71344a718a9fda8c551cdc4381d354f9a9907f6f in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:47:27

Modified files:
sys/dev/pci/drm/amd/pm/swsmu/smu11: sienna_cichlid_ppt.c 

Log message:
drm/amdgpu: Fix memcpy() in sienna_cichlid_append_powerplay_table function.

>From Srinivasan Shanmugam
8d68ba92554b79a93f52bea0cf778eb7821c9901 in linux-6.1.y/6.1.39
d50dc746ff72b9c48812dac3344fa87fbde940a3 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:45:36

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

Log message:
amdgpu: validate offset_in_bo of drm_amdgpu_gem_va

>From Chia-I Wu
b10db1d2137415e5e7f9706d96cfe77539c499d4 in linux-6.1.y/6.1.39
9f0bcf49e9895cb005d78b33a5eebfa11711b425 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:43:49

Modified files:
sys/dev/pci/drm/radeon: cypress_dpm.c ni_dpm.c rv740_dpm.c 

Log message:
drm/radeon: fix possible division-by-zero errors

>From Nikita Zhandarovich
1420545b8a155416b8bc2bb86a7709e9ca0c620c in linux-6.1.y/6.1.39
1becc57cd1a905e2aa0e1eca60d2a37744525c4a in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:42:20

Modified files:
sys/dev/pci/drm/amd/display/amdgpu_dm: amdgpu_dm.c 

Log message:
drm/amd/display: Fix artifacting on eDP panels when engaging freesync video mode

>From Aurabindo Pillai
c1164aeb9691817d23c8e8ed886c91ea1bdca76e in linux-6.1.y/6.1.39
b18f05a0666aecd5cb19c26a8305bcfa4e9d6502 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:40:29

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

Log message:
drm/amdkfd: Fix potential deallocation of previously deallocated memory.

>From Daniil Dulov
fabadad9e28dabecf25ad3c947aa8ba5f2b0eecf in linux-6.1.y/6.1.39
cabbdea1f1861098991768d7bbf5a49ed1608213 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:39:02

Modified files:
sys/dev/pci/drm/amd/display/dc/dml/dcn32: 
  display_rq_dlg_calc_32.c 

Log message:
drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg()

>From Christophe JAILLET
384717042de89dfd99087d2a54aad72620ac7fcb in linux-6.1.y/6.1.39
bafc31166aa7df5fa26ae0ad8196d1717e6cdea9 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:37:42

Modified files:
sys/dev/pci/drm/amd/display/dc/dml/dcn21: display_mode_vba_21.c 

Log message:
drm/amd/display: Fix a test CalculatePrefetchSchedule()

>From Christophe JAILLET
36786e2a733143426dd7628e939735465425fbb1 in linux-6.1.y/6.1.39
960e27a5741cd3001996ff6ddfb3eb0ed3a4909d in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:36:00

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

Log message:
drm/bridge: Introduce pre_enable_prev_first to alter bridge init order

>From Dave Stevenson
5044e5f2511c9afdf9880d2bb6b9d37dfc345dac in linux-6.1.y/6.1.39
4fb912e5e19075874379cfcf074d90bd51ebf8ea in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:33:02

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

Log message:
drm: Add fixed-point helper to get rounded integer values

>From Maira Canal
048b7168acf85cb856b0db1d0483584cfff3498f in linux-6.1.y/6.1.39
8b25320887d7feac98875546ea0f521628b745bb in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:23:21

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

Log message:
drm/amd/display: Explicitly specify update type per plane info change

>From Nicholas Kazlauskas
9fbe61e3c245fd16d86b2383499458a229c0cd22 in linux-6.1.y/6.1.39
710cc1e7cd461446a9325c9bd1e9a54daa462952 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:21:29

Modified files:
sys/dev/pci/drm/radeon: ci_dpm.c 

Log message:
radeon: avoid double free in ci_dpm_init()

>From Nikita Zhandarovich
cb86b0e3d9d38ba351dd10caef483529653dd481 in linux-6.1.y/6.1.39
20c3dffdccbd494e0dd631d1660aeecbff6775f2 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:19:19

Modified files:
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn30: 
  dcn30_clk_mgr_smu_msg.c 

Log message:
drm/amd/display: Add logging for display MALL refresh setting

>From Wesley Chalmers
064e33b3591ee43f07776ce64f8a027e8a96f60f in linux-6.1.y/6.1.39
cd8f067a46d34dee3188da184912ae3d64d98444 in mainline linux



CVS: cvs.openbsd.org: src

2023-07-20 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/20 02:16:21

Modified files:
sys/dev/pci/drm/display: drm_dp_mst_topology.c 

Log message:
drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2

>From Jeff Layton
9f12effd40d7a3bc92cc4961f1cab1459c3dc520 in linux-6.1.y/6.1.39
54d217406afe250d7a768783baaa79a035f21d38 in mainline linux