CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:26:34

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

Log message:
drm/amd/display: disconnect MPCC only on OTG change

>From Ayush Gupta
39374fc8bb11990ed69348bfe517d3df0463b263 in linux-6.1.y/6.1.21
7304ee979b6b6422f41a1312391a5e505fc29ccd in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:24:27

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

Log message:
drm/amd/display: Do not set DRR on pipe Commit

>From Wesley Chalmers
f8080f1e300e7abcc03025ec8b5bab69ae98daaa in linux-6.1.y/6.1.21
56574f89dbd84004c3fd6485bcaafb5aa9b8be14 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:22:50

Modified files:
sys/dev/pci/drm/amd/pm/swsmu/inc: smu_v13_0.h 
sys/dev/pci/drm/amd/pm/swsmu/inc/pmfw_if: 
  smu13_driver_if_v13_0_4.h 

Log message:
drm/amd/pm: bump SMU 13.0.4 driver_if header version

>From Tim Huang
20f8225ae7f4bf9c30f40705f036a9a7ba8f1bd6 in linux-6.1.y/6.1.21
ab9bdb1213b4b40942af6a383f555d0c14874c1b in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:21:09

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

Log message:
drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume

>From mumei6102
6e403a0a69f73ecc5ee0a2045efdcb9051abdd56 in linux-6.1.y/6.1.21
a9386ee9681585794dbab95d4ce6826f73d19af6 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:16:38

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

Log message:
drm/amdgpu: Don't resume IOMMU after incomplete init

>From Felix Kuehling
dab920478e2b53d1abcf9b929f8205233041d32a in linux-6.1.y/6.1.21
f3921a9a641483784448fb982b2eb738b383d9b9 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:15:15

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

Log message:
drm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz

>From Ankit Nautiyal
0243590e33a7d87efbf3adc0565269b4dc224944 in linux-6.1.y/6.1.21
46bc23dcd94569270d02c4c1f7e62ae01ebd53bb in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:13:21

Modified files:
sys/dev/pci/drm/i915: i915_active.c 

Log message:
drm/i915/active: Fix misuse of non-idle barriers as fence trackers

>From Janusz Krzysztofik
5c7591b8574c52c56b3994c2fbef1a3a311b5715 in linux-6.1.y/6.1.21
e0e6b416b25ee14716f3549e0cbec1011b193809 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:11:29

Modified files:
sys/dev/pci/drm/ttm: ttm_device.c 

Log message:
drm/ttm: Fix a NULL pointer dereference

>From Thomas Hellstrom
9ba1720f6c4a0f13c3f3cb5c28132ee7d04f in linux-6.1.y/6.1.21
9a9a8fe26751334b7739193a94eba741073b8a55 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:09:34

Modified files:
sys/dev/pci/drm/amd/display/dc/dml/dcn30: display_mode_vba_30.c 

Log message:
drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes

>From Alex Hung
a16394b5d661afec9a264fecac3abd87aea439ea in linux-6.1.y/6.1.21
031f196d1b1b6d5dfcb0533b431e3ab1750e6189 in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/amdgpu: fix ttm_bo calltrace warning in psp_hw_fini

>From Horatio Zhang
7be9a2f8c5179520a7d5570e648e0c97d09e4fae in linux-6.1.y/6.1.21
23f4a2d29ba57bf88095f817de5809d427fcbe7e in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:05:41

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

Log message:
drm/amdkfd: Fix an illegal memory access

>From Qu Huang
d9923e7214a870b312bf61f6a89c7554d0966985 in linux-6.1.y/6.1.21
4fc8fff378b2f2039f2a666d9f8c570f4e58352c in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc

>From Liu Ying
9821576e117047e4bf8e92a673272aa014a3bb2e in linux-6.1.y/6.1.21
0d3c9333d976af41d7dbc6bf4d9d2e95fbdf9c89 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 22:01:47

Modified files:
sys/dev/pci/drm/i915/gt: intel_sseu.h 

Log message:
drm/i915/sseu: fix max_subslices array-index-out-of-bounds access

>From Andrea Righi
1a1682abf7399318ac074b1f2ac6a8c992b5b3da in linux-6.1.y/6.1.21
193c41926d152761764894f46e23b53c00186a82 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 21:59:10

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

Log message:
drm/i915/psr: Use calculated io and fast wake lines

>From Jouni Hogander
d586d58c3f2a9835dfdbf34fee0d8522303ab24f in linux-6.1.y/6.1.21
71c602103c74b277bef3d20a308874a33ec8326d in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 21:55:56

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

Log message:
drm/msm/gem: Prevent blocking within shrinker loop

>From Dmitry Osipenko
96a5aee27439e56fca69628c3f87a042e7026b3e in linux-6.1.y/6.1.21
9630b585b607bd26f505d34620b14d75b9a5af7d in mainline linux



CVS: cvs.openbsd.org: src

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

Modified files:
sys/dev/pci/drm/amd/display/dc/dcn32: dcn32_resource.c 
  dcn32_resource.h 
sys/dev/pci/drm/amd/display/dc/dcn321: dcn321_resource.c 
sys/dev/pci/drm/amd/display/dc/dml/dcn32: dcn32_fpu.c 
sys/dev/pci/drm/amd/display/dc/dml/dcn321: dcn321_fpu.c 

Log message:
drm/amd/display: adjust MALL size available for DCN32 and DCN321

>From Samson Tam
38327b6cb1fa2bb098bca0db7dd25ee80a6d64b1 in linux-6.1.y/6.1.20
235fef6c7fd341026eee90cc546e6e8ff8b2c315 in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/amd/display: Allow subvp on vactive pipes that are 2560x1440@60

>From Alvin Lee
02c8fa11f545938f3f5af3cd02fe343803539213 in linux-6.1.y/6.1.20
2ebd1036209c2e7b61e6bc6e5bee4b67c1684ac6 in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/amdgpu/soc21: Add video cap query support for VCN_4_0_4

>From Veerabadhran Gopalakrishnan
70f12dee2254dd956ffaf547507b67fed6c6 in linux-6.1.y/6.1.20
6ce2ea07c5ff0a8188eab0e5cd1f0e4899b36835 in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/amdgpu/soc21: don't expose AV1 if VCN0 is harvested

>From Alex Deucher
69a56ace8bc2a3ee3d1a9584c30476c588b1f420 in linux-6.1.y/6.1.20
a6de636eb04f146d23644dbbb7173e142452a9b7 in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/amdgpu: fix return value check in kfd

>From Shashank Sharma
dc7d4b1a6568652f51ee45b1a1e3531f1186a552 in linux-6.1.y/6.1.20
20534dbcc7b7bfb447279cdcfb0d88ee3b779a18 in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/i915: Populate encoder->devdata for DSI on icl+

>From Ville Syrjala
783c225e910fa5e0ef7bd9de88d32c0787e04e95 in linux-6.1.y/6.1.20
14e591a1930c2790fe862af5b01ee3ca587f752f in mainline linux



CVS: cvs.openbsd.org: src

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

Modified files:
sys/dev/pci/drm/i915/display: icl_dsi.c intel_bios.c 
  intel_bios.h intel_display_types.h 
  intel_dp.c intel_lvds.c 
  intel_panel.c intel_sdvo.c 
  vlv_dsi.c 

Log message:
drm/i915: Do panel VBT init early if the VBT declares an explicit panel type

>From Ville Syrjala
bd61a84b5eee4eaf3daf1c69499a4eca1f972ca4 in linux-6.1.y/6.1.20
3f9ffce5765d68775163b8b134c4d7f156b48eec in mainline linux



CVS: cvs.openbsd.org: src

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

Modified files:
sys/dev/pci/drm/i915/display: intel_connector.c intel_panel.c 
  intel_panel.h 

Log message:
drm/i915: Introduce intel_panel_init_alloc()

>From Ville Syrjala
e340197a453987c48cdeeeb6447d0944513de538 in linux-6.1.y/6.1.20
f70f8153e3642337b444fbc0c64d546a46bbcd62 in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/connector: print max_requested_bpc in state debugfs

>From Harry Wentland
8d2ca666a7b415a4a063be39b20c2b99c42421cb in linux-6.1.y/6.1.20
7d386975f6a495902e679a3a250a7456d7e54765 in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/display: Don't block HDR_OUTPUT_METADATA on unknown EOTF

>From Harry Wentland
9f6f6f42b9ef6b6ad2fcd01623593bef7eb5a47b in linux-6.1.y/6.1.20
e5eef23e267c72521d81f23f7f82d1f523d4a253 in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/amdgpu: fix error checking in amdgpu_read_mm_registers for nv

>From Alex Deucher
d07d152d762d746016f546f9fedd3f319870cf5e in linux-6.1.y/6.1.20
b42fee5e0b44344cfe4c38e61341ee250362c83f in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc21

>From Alex Deucher
a11e210dc595a8b7259335a9d7c7b57cc8f39bd4 in linux-6.1.y/6.1.20
2915e43a033a778816fa4bc621f033576796521e in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15

>From Alex Deucher
39190482e5d0993f237d6a2b54f5548d92156d50 in linux-6.1.y/6.1.20
0dcdf8498eae2727bb33cef3576991dc841d4343 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2023/03/27 17:56:54

Modified files:
regress/usr.bin/ssh/misc/sk-dummy: sk-dummy.c 

Log message:
Remove compatibility code for OpenSSL 1.0.* versions now that -portable
has dropped support for those versions.



CVS: cvs.openbsd.org: src

2023-03-27 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2023/03/27 13:43:36

Modified files:
distrib/macppc/ramdisk: install.md 

Log message:
Silence informational messages from dd(1) when zeroing a disk's first 1MB



CVS: cvs.openbsd.org: src

2023-03-27 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/03/27 13:02:48

Modified files:
sys/arch/arm64/arm64: aesv8-armx.S pmap.c trap.c 
sys/arch/arm64/conf: Makefile.arm64 
sys/arch/arm64/include: armreg.h asm.h pte.h 

Log message:
Implement branch target protection using the branch target identification
feature introduced in Armv8.5.  This provides "head-CFI" to complement
the "tail-CFI" provided by retguard.  Unfortunately most arm64 machines
don't support this feature yet.  But Apple M2 does support it and it
seems to work there.

ok deraadt@



CVS: cvs.openbsd.org: www

2023-03-27 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:www
Changes by: na...@cvs.openbsd.org   2023/03/27 12:21:47

Modified files:
.  : 73.html 

Log message:
7.3 release: 10572 i386 packages, 11561 aarch64 packages



CVS: cvs.openbsd.org: src

2023-03-27 Thread Omar Polo
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2023/03/27 11:54:20

Modified files:
usr.bin/mg : region.c 

Log message:
kill another empty line



CVS: cvs.openbsd.org: src

2023-03-27 Thread Omar Polo
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2023/03/27 11:53:17

Modified files:
usr.bin/mg : region.c 

Log message:
kill two empty lines and some trailing whitespaces



CVS: cvs.openbsd.org: src

2023-03-27 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/03/27 11:49:13

Modified files:
sys/arch/arm64/arm64: cpu.c 

Log message:
Show BT and SBSS features in dmesg.

ok deraadt@



CVS: cvs.openbsd.org: src

2023-03-27 Thread Omar Polo
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2023/03/27 09:36:18

Modified files:
usr.bin/aucat  : afile.c 

Log message:
typo: filed -> failed; ok ratchov@



CVS: cvs.openbsd.org: src

2023-03-27 Thread Omar Polo
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2023/03/27 09:35:29

Modified files:
usr.bin/aucat  : afile.c 

Log message:
reading aid: explicitly check for memcmp() != 0; no functional change

ok ratchov@



CVS: cvs.openbsd.org: www

2023-03-27 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2023/03/27 09:09:47

Modified files:
libressl   : releases.html 

Log message:
correct year for the 3.7.1 release; from alex naumov



CVS: cvs.openbsd.org: src

2023-03-27 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/03/27 04:27:12

Modified files:
lib/libcrypto/sha: sha512.c 

Log message:
Reorder functions/code.

No intended functional change.



CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/03/27 04:25:02

Modified files:
lib/libcrypto/bn: bn_blind.c bn_exp.c bn_gcd.c bn_gf2m.c 
  bn_isqrt.c bn_lib.c bn_mont.c bn_recp.c 
  bn_sqrt.c bn_x931p.c 
lib/libcrypto/dsa: dsa_gen.c dsa_ossl.c 
lib/libcrypto/ec: ec2_mult.c ec2_smpl.c ec_key.c ec_lib.c 
  ecp_mont.c ecp_smpl.c 
lib/libcrypto/ecdsa: ecs_ossl.c 

Log message:
Replace the remaining BN_copy() with bn_copy()

ok jsing



CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/03/27 04:22:47

Modified files:
lib/libcrypto/bn: bn_exp.c bn_mul.c bn_sqr.c 
lib/libcrypto/rsa: rsa_gen.c 

Log message:
Convert BN_copy() with missing error checks to bn_copy()

ok jsing



CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/03/27 04:21:23

Modified files:
lib/libcrypto/bn: bn_div.c bn_exp.c bn_gcd.c bn_kron.c bn_mod.c 
  bn_mont.c 
lib/libcrypto/ecdsa: ecs_ossl.c 

Log message:
Convert BN_copy() with explicit comparison against NULL to bn_copy()

ok jsing



CVS: cvs.openbsd.org: src

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

Modified files:
lib/libcrypto/bn: bn_gf2m.c 

Log message:
Use bn_copy() rather than inlining it

ok jsing



CVS: cvs.openbsd.org: src

2023-03-27 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/03/27 04:13:08

Modified files:
lib/libcrypto/sha: sha512.c 

Log message:
Tidy includes.



CVS: cvs.openbsd.org: src

2023-03-27 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2023/03/27 03:39:21

Modified files:
sys/conf   : GENERIC 

Log message:
re-enable POOL_DEBUG



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jan Klemkow
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 03:15:46

Modified files:
lib/libcrypto/err: err.c 

Log message:
Avoid errno is EINVAL after OpenSSL initialization

ok tb@



CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/03/27 03:01:08

Modified files:
regress/lib/libcrypto/bn: bn_mod_exp.c 

Log message:
bn_mod_exp: make this test a bit less noisy on failure

While it is good to run more tests on failure, it is pointless to try
broken things thousands of times.



CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/03/27 02:52:57

Modified files:
regress/lib/libcrypto/bn: bn_mod_exp.c bn_test.c 

Log message:
Switch regress to using bn_copy()



CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/03/27 02:49:34

Modified files:
lib/libcrypto/bn: bn_gf2m.c 

Log message:
Drop unnecessary parentheses.

ok jsing



CVS: cvs.openbsd.org: src

2023-03-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/03/27 02:47:57

Modified files:
usr.bin/tmux   : format.c input.c tmux.1 tmux.h window.c 

Log message:
Add a format to show if there are unseen changes while in a mode, from
Dan Aloni in GitHub issue 3498.



CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/03/27 02:41:35

Modified files:
lib/libcrypto/bn: bn_nist.c 

Log message:
Convert bn_nist.c to BN_copy()

Like everything else in this file, the use of BN_copy() needs to be ...
special. Simplify using the new bn_copy().

ok jsing



CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/03/27 02:37:33

Modified files:
lib/libcrypto/bn: bn_lib.c bn_local.h 

Log message:
Add bn_copy(), a sane wrapper of BN_copy() for internal use

ok jsing



CVS: cvs.openbsd.org: src

2023-03-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/03/27 02:31:32

Modified files:
usr.bin/tmux   : screen-write.c tty.c 

Log message:
For passthrough, don't write to clients attached to different sessions,
based on a fix from Sergei Grechanik.



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 01:46:03

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

Log message:
drm/i915: Fix system suspend without fbdev being initialized

>From Imre Deak
27b5871abd5cc068c549fd23062c82e257fc0b9c in linux-6.1.y/6.1.18
8038510b1fe443ffbc0e356db5f47cbb8678a594 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 01:41:58

Modified files:
sys/dev/pci/drm/i915/display: intel_display.c intel_dp_mst.c 
  intel_dp_mst.h 

Log message:
drm/i915/dp_mst: Add the MST topology state for modesetted CRTCs

>From Imre Deak
fb5f2b42650f60a06cfe794e40810c22083c171a in linux-6.1.y/6.1.18
326b1e792ff08b4d8ecb9605aec98e4e5feef56e in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 01:36:36

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

Log message:
drm/display/dp_mst: Fix payload addition on a disconnected sink

>From Imre Deak
6e48e7901e6258b8ea1116d70752d0eb2eca797d in linux-6.1.y/6.1.18
33f960e23c29d113fe3193e0bdc19ac4f3776f20 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 01:34:35

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

Log message:
drm/display/dp_mst: Fix down message handling after a packet reception error

>From Imre Deak
efe5ce019a9bae988ac244b593da21cec30e9c06 in linux-6.1.y/6.1.18
1241aedb6b5c7a5a8ad73e5eb3a41cfe18a3e00e in mainline linux



CVS: cvs.openbsd.org: src

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

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

Log message:
drm/display/dp_mst: Fix down/up message handling after sink disconnect

>From Imre Deak
b30fcedeba643ca16eaa6212c1245598b7cd830d in linux-6.1.y/6.1.18
1d082618bbf3b6755b8cc68c0a8122af2842d593 in mainline linux



CVS: cvs.openbsd.org: src

2023-03-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/03/27 01:28:38

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

Log message:
drm/display/dp_mst: Add drm_atomic_get_old_mst_topology_state()

>From Imre Deak
6130b22fb677430af8fe4a2ac4fbf2f5b8572d12 in linux-6.1.y/6.1.18
9ffdb67af0ee625ae127711845532f670cc6a4e7 in mainline linux



Re: CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
On Mon, Mar 27, 2023 at 08:02:20AM +0200, Anton Lindqvist wrote:
> On Sat, Mar 25, 2023 at 12:27:28PM -0600, Klemens Nanni wrote:
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: k...@cvs.openbsd.org2023/03/25 12:27:28
> > 
> > Modified files:
> > distrib/miniroot: install.sub 
> > 
> > Log message:
> > simplify final MAKEDEV call
> > 
> > No need to loop here, the script takes multiple args.
> > 
> > OK tb afresh1
> 
> Seen in install log on my regress machines during autoinstall. Is this
> commit the culprit?

Yes. MAKEDEV doesn't like repeated args and makes noise if it sees them.
If you try to create an already existing device with a single argument
it is silent. Odd. I reverted the commit.



CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/03/27 00:15:43

Modified files:
distrib/miniroot: install.sub 

Log message:
Revert r1.1235, "simplify final MAKEDEV call"

While MAKEDEV accepts multiple args, it complains loudly on repeated args.
It is silent when trying to create a single already existing device.
This is probably a bug in MAKEDEV.



Re: CVS: cvs.openbsd.org: src

2023-03-27 Thread Theo de Raadt
It looks like the diff wasn't tested.  Back it out.

Anton Lindqvist  wrote:

> On Sat, Mar 25, 2023 at 12:27:28PM -0600, Klemens Nanni wrote:
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: k...@cvs.openbsd.org2023/03/25 12:27:28
> > 
> > Modified files:
> > distrib/miniroot: install.sub 
> > 
> > Log message:
> > simplify final MAKEDEV call
> > 
> > No need to loop here, the script takes multiple args.
> > 
> > OK tb afresh1
> 
> Seen in install log on my regress machines during autoinstall. Is this
> commit the culprit?
> 
> Making all device nodes...mknod: sd0a: File exists
> mknod: rsd0a: File exists
> mknod: sd0b: File exists
> mknod: rsd0b: File exists
> mknod: sd0c: File exists
> mknod: rsd0c: File exists
> mknod: sd0d: File exists
> mknod: rsd0d: File exists
> mknod: sd0e: File exists
> mknod: rsd0e: File exists
> mknod: sd0f: File exists
> mknod: rsd0f: File exists
> mknod: sd0g: File exists
> mknod: rsd0g: File exists
> mknod: sd0h: File exists
> mknod: rsd0h: File exists
> mknod: sd0i: File exists
> mknod: rsd0i: File exists
> mknod: sd0j: File exists
> mknod: rsd0j: File exists
> mknod: sd0k: File exists
> mknod: rsd0k: File exists
> mknod: sd0l: File exists
> mknod: rsd0l: File exists
> mknod: sd0m: File exists
> mknod: rsd0m: File exists
> mknod: sd0n: File exists
> mknod: rsd0n: File exists
> mknod: sd0o: File exists
> mknod: rsd0o: File exists
> mknod: sd0p: File exists
> mknod: rsd0p: File exists
> mknod: cd0a: File exists
> mknod: rcd0a: File exists
> mknod: cd0c: File exists
> mknod: rcd0c: File exists
>  done.
> 



Re: CVS: cvs.openbsd.org: src

2023-03-27 Thread Anton Lindqvist
On Sat, Mar 25, 2023 at 12:27:28PM -0600, Klemens Nanni wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   k...@cvs.openbsd.org2023/03/25 12:27:28
> 
> Modified files:
>   distrib/miniroot: install.sub 
> 
> Log message:
> simplify final MAKEDEV call
> 
> No need to loop here, the script takes multiple args.
> 
> OK tb afresh1

Seen in install log on my regress machines during autoinstall. Is this
commit the culprit?

Making all device nodes...mknod: sd0a: File exists
mknod: rsd0a: File exists
mknod: sd0b: File exists
mknod: rsd0b: File exists
mknod: sd0c: File exists
mknod: rsd0c: File exists
mknod: sd0d: File exists
mknod: rsd0d: File exists
mknod: sd0e: File exists
mknod: rsd0e: File exists
mknod: sd0f: File exists
mknod: rsd0f: File exists
mknod: sd0g: File exists
mknod: rsd0g: File exists
mknod: sd0h: File exists
mknod: rsd0h: File exists
mknod: sd0i: File exists
mknod: rsd0i: File exists
mknod: sd0j: File exists
mknod: rsd0j: File exists
mknod: sd0k: File exists
mknod: rsd0k: File exists
mknod: sd0l: File exists
mknod: rsd0l: File exists
mknod: sd0m: File exists
mknod: rsd0m: File exists
mknod: sd0n: File exists
mknod: rsd0n: File exists
mknod: sd0o: File exists
mknod: rsd0o: File exists
mknod: sd0p: File exists
mknod: rsd0p: File exists
mknod: cd0a: File exists
mknod: rcd0a: File exists
mknod: cd0c: File exists
mknod: rcd0c: File exists
 done.