CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:05:24

Modified files:
sys/dev/pci/drm/amd/display/modules/hdcp: hdcp1_execution.c 

Log message:
drm/amd/display: Avoid HDCP over-read and corruption

>From Kees Cook
c5b518f4b98dbb2bc31b6a55e6aaa1e0e2948f2e in linux 5.10.y/5.10.51
06888d571b513cbfc0b41949948def6cb81021b2 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:08:03

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

Log message:
drm/amdgpu: remove unsafe optimization to drop preamble ib

>From Jiansong Chen
8fa6473a61ecc9972ad543d8ba1d927d442d1f67 in linux 5.10.y/5.10.51
7d9c70d23550eb86a1bec1954ccaa8d6ec3a3328 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:24:06

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

Log message:
drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check

>From Mark Yacoub
a5f8862967c453aff5b32883d1b6be8e2009e4f0 in linux 5.10.y/5.10.51
03fc4cf45d30533d54f0f4ebc02aacfa12f52ce2 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2021/07/19 02:48:33

Modified files:
regress/usr.bin/ssh: sshfp-connect.sh 

Log message:
Use SUDO when setting up hostkey.



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 03:51:46

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

Log message:
drm/amd/display: fix HDCP reset sequence on reinitialize

>From Brandon Syu
fb7479d64d77a3bb0ee992f9e450cf52d56c6b2c in linux 5.10.y/5.10.51
99c248c41c2199bd34232ce8e729d18c4b343b64 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:03:08

Modified files:
sys/dev/pci/drm/scheduler: sched_entity.c 

Log message:
drm/sched: Avoid data corruptions

>From Andrey Grodzovsky
0687411e2a8858262de2fc4a1d576016fd77292e in linux 5.10.y/5.10.51
0b10ab80695d61422337ede6ff496552d8ace99d in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2021/07/19 02:42:24

Modified files:
lib/libssl : d1_both.c d1_pkt.c dtls_locl.h 

Log message:
Mop up dtls1_get_ccs_header() and struct ccs_header_st.

All this code does is read one byte from memory with an unknown length,
potentially being a one byte overread... and then nothing is actually done
with the value.

ok tb@



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:01:10

Modified files:
sys/dev/pci/drm/scheduler: sched_entity.c sched_main.c 

Log message:
drm/scheduler: Fix hang when sched_entity released

>From Andrey Grodzovsky
5ed8c298b2e140c640af8813a490fb4d77165e97 in linux 5.10.y/5.10.51
c61cdbdbffc169dc7f1e6fe94dfffaf574fe672a in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:10:26

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

Log message:
drm/amd/display: Fix DCN 3.01 DSCCLK validation

>From Nikola Cornij
57c63b47d6f188b44d93d1602bd24d8d9a9131f6 in linux 5.10.y/5.10.51
346cf627fb27c0fea63a041cedbaa4f31784e504 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 03:58:16

Modified files:
sys/dev/pci/drm/amd/display/dc/dcn10: dcn10_dpp_dscl.c 

Log message:
drm/amd/display: fix use_max_lb flag for 420 pixel formats

>From Dmytro Laktyushkin
3ca86d44b9023cd96c893d6dd90aacbca90e4d74 in linux 5.10.y/5.10.51
8809a7a4afe90ad9ffb42f72154d27e7c47551ae in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 03:55:11

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

Log message:
drm/amd/amdgpu/sriov disable all ip hw status by default

>From Jack Zhang
b025bc07c94770ab5ca68a8b2ead12628c2a0698 in linux 5.10.y/5.10.51
95ea3dbc4e9548d35ab6fbf67675cef8c293e2f5 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:12:34

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

Log message:
drm/amd/display: Update scaling settings on modeset

>From Roman Li
01d6a693196595d356f0f5e42ab155c293470676 in linux 5.10.y/5.10.51
c521fc316d12fb9ea7b7680e301d673bceda922e in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:21:09

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

Log message:
drm/amdkfd: use allowed domain for vmbo validation

>From Nirmoy Das
378c156f9dd0f0e758513c38e33311ae3e5540b2 in linux 5.10.y/5.10.51
bc05716d4fdd065013633602c5960a2bf1511b9c in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:17:06

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

Log message:
drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7

>From Wesley Chalmers
afa06442d23d32e95e3336cf8ff366bdd8d590ee in linux 5.10.y/5.10.51
3577e1678772ce3ede92af3a75b44a4b76f9b4ad in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:19:12

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

Log message:
drm/amd/display: Fix off-by-one error in DML

>From Wesley Chalmers
c71de31b2e0f4ef71cc69ba841aeac12519b3607 in linux 5.10.y/5.10.51
e4e3678260e9734f6f41b4325aac0b171833a618 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2021/07/19 02:39:28

Modified files:
lib/libssl : d1_pkt.c 

Log message:
Inline DTLS1_CCS_HEADER_LENGTH rather than having a single use variable.

ok tb@



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 03:22:32

Modified files:
sys/dev/pci/drm/include/uapi/linux: kfd_ioctl.h 

Log message:
sync kfd_ioctl.h with linux 5.10.y



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:15:04

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

Log message:
drm/amd/display: Release MST resources on switch from MST to SST

>From Vladimir Stempen
02f444321b3a0f3f94e34329f8aafa814c45b8e4 in linux 5.10.y/5.10.51
3f8518b60c10aa96f3efa38a967a0b4eb9211ac0 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:26:14

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

Log message:
drm/amdkfd: fix circular locking on get_wave_state

>From Jonathan Kim
cd29db48bb65e53efe4b05c75e575c5f1af5ddaf in linux 5.10.y/5.10.51
63f6e01237257e7226efc5087f3f0b525d320f54 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:27:52

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

Log message:
drm/amdkfd: Fix circular lock in nocpsch path

>From Amber Lin
0e72b151e394106ad3e3d5bebd1118952970047a in linux 5.10.y/5.10.51
a7b2451d31cfa2e8aeccf3b35612ce33f02371fc in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:33:03

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

Log message:
drm/amdkfd: Walk through list with dqm lock hold

>From xinhui pan
4cd713e48c272a80af935424afaa607ea125aed4 in linux 5.10.y/5.10.51
56f221b6389e7ab99c30bbf01c71998ae92fc584 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:49:37

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

Log message:
drm/amd/display: Reject non-zero src_y and src_x for video planes

>From Harry Wentland
c6016936171a7b179b2c478ceb7fbd092ee4f9f8 in linux 5.10.y/5.10.51
c6c6a712199ab355ce333fa5764a59506bb107c1 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:35:16

Modified files:
sys/dev/pci/drm/amd/include: navi10_enum.h 

Log message:
drm/amdgpu: Update NV SIMD-per-CU to 2

>From Joseph Greathouse
8f933b27cbf1cd176f0a73ddeae19fae5e9bc189 in linux 5.10.y/5.10.51
aa6158112645aae514982ad8d56df64428fcf203 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:42:27

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

Log message:
drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64

>From Tiezhu Yang
0d50d93d05d6571347f3ab9d28d0b80e5d142d81 in linux 5.10.y/5.10.51
c1bfd74bfef77bcefc88d12eaf8996c0dfd51331 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:47:20

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

Log message:
drm/amd/display: fix incorrrect valid irq check

>From Guchun Chen
b13574fa83ac55a9c3aa7f075ef5db62b444f7b5 in linux 5.10.y/5.10.51
e38ca7e422791a4d1c01e56dbf7f9982db0ed365 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2021/07/19 07:16:43

Modified files:
lib/libcrypto/man: Makefile X509_CRL_new.3 X509_REVOKED_new.3 
   X509_print_ex.3 
Added files:
lib/libcrypto/man: X509_CRL_print.3 

Log message:
document X509_CRL_print(3) and X509_CRL_print_fp(3)



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:30:39

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_umc.h umc_v8_7.c 

Log message:
drm/amdgpu: fix bad address translation for sienna_cichlid

>From Stanley.Yang
a2122e07920456e5d43f32e61d52be59634ddcab in linux 5.10.y/5.10.51
6ec598cc9dfbf40433e94a2ed1a622e3ef80268b in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:51:58

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

Log message:
drm/i915/display: Do not zero past infoframes.vsc

>From Kees Cook
3f9c2a058e61b8df9fef196ad6180fbf9932ed80 in linux 5.10.y/5.10.51
07b72960d2b4a087ff2445e286159e69742069cc in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:37:21

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

Log message:
drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2)

>From Aaron Liu
2674ffcad0aef41425e1a4a40d3508caed989a1a in linux 5.10.y/5.10.51
e2329e74a615cc58b25c42b7aa1477a5e3f6a435 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:39:54

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

Log message:
drm/radeon: Add the missed drm_gem_object_put() in 
radeon_user_framebuffer_create()

>From Jing Xiangfeng
7aa28f2f67421d7ba9957275bc211a7782238f31 in linux 5.10.y/5.10.51
9ba85914c36c8fed9bf3e8b69c0782908c1247b7 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/19 04:45:08

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

Log message:
drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info()

>From Lyude Paul
2998599fb16cd99b0384d2517bbd409a233a9695 in linux 5.10.y/5.10.51
205bb69a90363541a634a662a599fddb95956524 in mainline linux



CVS: cvs.openbsd.org: src

2021-07-19 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2021/07/19 10:23:56

Modified files:
share/man/man5 : pf.conf.5 

Log message:
Markup optional ICMP/ICMP6 codes as such

Only icmp(4)/icmp6(4) types are required for `icmp-type'/`icmp6-type' rules
while codes are optional.

>From Martin Vahlensieck < openbsd at academicsolutions dot ch >, thanks!



CVS: cvs.openbsd.org: src

2021-07-19 Thread Vitaliy Makkoveev
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2021/07/19 08:49:55

Modified files:
sys/netinet: ip_ipsp.c 

Log message:
Remove `ids' from `ipsec_ids_tree' while following ipsp_ids_insert()
error path. This fixes use-after-free issue. Also fix debug message
mistype pointed by bluhm@ in error path.

ok millert@ bluhm@



CVS: cvs.openbsd.org: src

2021-07-19 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2021/07/19 08:30:08

Modified files:
sbin/fdisk : disk.c mbr.c 

Log message:
Revert incorrect tweaks to disk geometry calculations and
non '-b' MBR disk initialization.

Detected by bluhm@'s ever vigilant regress testing.



CVS: cvs.openbsd.org: src

2021-07-19 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2021/07/19 13:30:35

Modified files:
sbin/fdisk : mbr.c mbr.h 

Log message:
MBR_protective_mbr() can take a const struct mbr *.

No functional change.



CVS: cvs.openbsd.org: src

2021-07-19 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2021/07/19 13:46:20

Modified files:
sbin/fdisk : fdisk.c 

Log message:
Abstract reading the built-in MBR or MBR file into
a separate function.

No functional change.



CVS: cvs.openbsd.org: src

2021-07-19 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2021/07/19 13:23:50

Modified files:
sbin/fdisk : cmd.c mbr.c mbr.h 

Log message:
An MBR knows (mbr_lba_self) where it is supposed to go, no
need to pass the value to MBR_write().

Let MBR_write() do the translation from struct mbr to the
struct dos_mbr that will be written to the disk. Thus
eliminating unnecessary struct dos_mbr variables and the
parsing thereof.

No intentional functional change.



CVS: cvs.openbsd.org: src

2021-07-19 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2021/07/19 13:00:58

Modified files:
sys/net: if_pppoe.c 

Log message:
Fix an alignment fault observed on an octeon machine while pppoe(4) was
attempting to negotiate a large MTU.

Copy the peer's max payload size from the discovery packet with memcpy()
instead of using a pointer to this value's offset in the packet buffer.

tweak and ok visa@
additional testing and ok sthen@



CVS: cvs.openbsd.org: src

2021-07-19 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2021/07/19 17:24:54

Modified files:
sbin/fdisk : mbr.c part.c user.c 

Log message:
Tweak one comment and nuke a bunch of pointless ones.



CVS: cvs.openbsd.org: src

2021-07-19 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2021/07/19 18:41:54

Modified files:
sys/dev/acpi   : acpi.c 

Log message:
Fix trailing whitespace in a few places.

No code change.