jsg [Mon, 9 Sep 2024 10:00:20 +0000 (10:00 +0000)]
drm/amd/display: Check BIOS images before it is used
From Alex Hung
e50bec62acaeec03afc6fa5dfb2426e52d049cf5 in linux-6.6.y/6.6.50
8b0ddf19cca2a352b2a7e01d99d3ba949a99c84c in mainline linux
jsg [Mon, 9 Sep 2024 09:58:02 +0000 (09:58 +0000)]
drm/amd/display: use preferred link settings for dp signal only
From Wenjing Liu
67cf14c04ff0ea5c246f80ea3a044c2afb93c99d in linux-6.6.y/6.6.50
abf34ca465f5cd182b07701d3f3d369c0fc04723 in mainline linux
jsg [Mon, 9 Sep 2024 09:56:10 +0000 (09:56 +0000)]
drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX
From Wayne Lin
800a5ab673c4a61ca220cce177386723d91bdb37 in linux-6.6.y/6.6.50
ad28d7c3d989fc5689581664653879d664da76f0 in mainline linux
jsg [Mon, 9 Sep 2024 09:53:32 +0000 (09:53 +0000)]
drm/amd/display: added NULL check at start of dc_validate_stream
From winstang
154a50bf4221a6a6ccf88d565b8184da7c40a2dd in linux-6.6.y/6.6.50
26c56049cc4f1705b498df013949427692a4b0d5 in mainline linux
jsg [Mon, 9 Sep 2024 09:51:03 +0000 (09:51 +0000)]
drm/amd/display: Don't use fsleep for PSR exit waits on dmub replay
From Nicholas Kazlauskas
da696cbb47941c40b01cc10ea5504dc5a4ebac6e in linux-6.6.y/6.6.50
b5236da757adc75d7e52c69bdc233d29249a0d0c in mainline linux
jsg [Mon, 9 Sep 2024 09:49:12 +0000 (09:49 +0000)]
drm/amdgpu: add lock in kfd_process_dequeue_from_device
From Yunxiang Li
381113ef01e28282f5f5a3267584b075427529f0 in linux-6.6.y/6.6.50
d225960c2330e102370815367b877baaf8bb8b5d in mainline linux
jsg [Mon, 9 Sep 2024 09:47:46 +0000 (09:47 +0000)]
drm/amdgpu: add lock in amdgpu_gart_invalidate_tlb
From Yunxiang Li
ddfe95f2e1fcefeb9ab70476753e1fd0a083f59b in linux-6.6.y/6.6.50
18f2525d31401e5142db95ff3a6ec0f4147be818 in mainline linux
jsg [Mon, 9 Sep 2024 09:46:24 +0000 (09:46 +0000)]
drm/amdgpu: add skip_hw_access checks for sriov
From Yunxiang Li
494b42f35fc2a858941757dbbf5619f6ff405562 in linux-6.6.y/6.6.50
b3948ad1ac582f560e1f3aeaecf384619921c48d in mainline linux
jsg [Mon, 9 Sep 2024 09:44:41 +0000 (09:44 +0000)]
drm/amdgu: fix Unintentional integer overflow for mall size
From Jesse Zhang
54a11ce4ff2a01fc2a231c546a864883633d2b97 in linux-6.6.y/6.6.50
c09d2eff81a997c169e0cacacd6b60c5e3aa33f2 in mainline linux
jsg [Mon, 9 Sep 2024 09:42:49 +0000 (09:42 +0000)]
drm/amdgpu: update type of buf size to u32 for eeprom functions
From Tao Zhou
0798e4330b5404c547e236c07a5a06309d0a2980 in linux-6.6.y/6.6.50
2aadb520bfacec12527effce3566f8df55e5d08e in mainline linux
jsg [Mon, 9 Sep 2024 09:41:07 +0000 (09:41 +0000)]
drm/kfd: Correct pinned buffer handling at kfd restore and validate process
From Xiaogang Chen
cdc65b5f99988f9679908cdc5204dd183260bed9 in linux-6.6.y/6.6.50
f326d7cc745683f53052b84382bd10567b45cd5d in mainline linux
jsg [Mon, 9 Sep 2024 09:39:49 +0000 (09:39 +0000)]
drm/amd/pm: check negtive return for table entries
From Jesse Zhang
7e8d106ca98aac5ba4fc8816e64fea994ab83d54 in linux-6.6.y/6.6.50
f76059fe14395b37ba8d997eb0381b1b9e80a939 in mainline linux
jsg [Mon, 9 Sep 2024 09:37:34 +0000 (09:37 +0000)]
drm/amdgpu: the warning dereferencing obj for nbio_v7_4
From Jesse Zhang
7d265772e44d403071a2b573eac0db60250b1c21 in linux-6.6.y/6.6.50
d190b459b2a4304307c3468ed97477b808381011 in mainline linux
jsg [Mon, 9 Sep 2024 09:35:48 +0000 (09:35 +0000)]
drm/amd/pm: check specific index for smu13
From Jesse Zhang
025798f44b8d19c33d48ff85aa5c172dc6576d47 in linux-6.6.y/6.6.50
a3ac9d1c9751f00026c2d98b802ec8a98626c3ed in mainline linux
jsg [Mon, 9 Sep 2024 09:34:36 +0000 (09:34 +0000)]
drm/amd/pm: check specific index for aldebaran
From Jesse Zhang
d0230b37206888c49df41639551802dce27fa26e in linux-6.6.y/6.6.50
0ce8ef2639c112ae203c985b758389e378630aac in mainline linux
jsg [Mon, 9 Sep 2024 09:33:21 +0000 (09:33 +0000)]
drm/amdgpu: fix the waring dereferencing hive
From Jesse Zhang
4ab720b6aa1ef5e71db1e534b5b45c80ac4ec58a in linux-6.6.y/6.6.50
1940708ccf5aff76de4e0b399f99267c93a89193 in mainline linux
jsg [Mon, 9 Sep 2024 09:32:06 +0000 (09:32 +0000)]
drm/amdgpu: fix dereference after null check
From Jesse Zhang
0aad97bf6d0bc7a34a19f266b0b9fb2861efe64c in linux-6.6.y/6.6.50
b1f7810b05d1950350ac2e06992982974343e441 in mainline linux
jsg [Mon, 9 Sep 2024 09:30:22 +0000 (09:30 +0000)]
drm/amdgpu: Fix the warning division or modulo by zero
From Jesse Zhang
d116bb921e8b104f45d1f30a473ea99ef4262b9a in linux-6.6.y/6.6.50
1a00f2ac82d6bc6689388c7edcd2a4bd82664f3c in mainline linux
jsg [Mon, 9 Sep 2024 09:28:27 +0000 (09:28 +0000)]
drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs
From Ma Jun
58350786dbbddfb5ffcbb0ef976b5c9fef5870bc in linux-6.6.y/6.6.50
df0a9bd92fbbd3fcafcb2bce6463c9228a3e6868 in mainline linux
jsg [Mon, 9 Sep 2024 09:26:32 +0000 (09:26 +0000)]
drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device
From Michael Chen
f163ba83e607f9fa71a342d37af5aeb83752ccdb in linux-6.6.y/6.6.50
10f624ef239bd136cdcc5bbc626157a57b938a31 in mainline linux
jsg [Mon, 9 Sep 2024 09:24:57 +0000 (09:24 +0000)]
drm/amdgpu: fix mc_data out-of-bounds read warning
From Tim Huang
d0a43bf367ed640e527e8ef3d53aac1e71f80114 in linux-6.6.y/6.6.50
51dfc0a4d609fe700750a62f41447f01b8c9ea50 in mainline linux
jsg [Mon, 9 Sep 2024 09:22:20 +0000 (09:22 +0000)]
drm/amdgpu: fix ucode out-of-bounds read warning
From Tim Huang
f2b7a9f3839e92f43559b2795b34640ca8cf839f in linux-6.6.y/6.6.50
8944acd0f9db33e17f387fdc75d33bb473d7936f in mainline linux
jsg [Mon, 9 Sep 2024 09:19:49 +0000 (09:19 +0000)]
drm/amdgpu: Fix out-of-bounds read of df_v1_7_channel_number
From Ma Jun
f9267972490f9fcffe146e79828e97acc0da588c in linux-6.6.y/6.6.50
d768394fa99467bcf2703bde74ddc96eeb0b71fa in mainline linux
jsg [Mon, 9 Sep 2024 09:17:44 +0000 (09:17 +0000)]
drm/amdkfd: Check debug trap enable before write dbg_ev_file
From Lin.Cao
e6ea3b8fe398915338147fe54dd2db8155fdafd8 in linux-6.6.y/6.6.50
547033b593063eb85bfdf9b25a5f1b8fd1911be2 in mainline linux
jsg [Mon, 9 Sep 2024 09:16:02 +0000 (09:16 +0000)]
drm/amdgpu: Fix out-of-bounds write warning
From Ma Jun
a60d1f7ff62e453dde2d3b4907e178954d199844 in linux-6.6.y/6.6.50
be1684930f5262a622d40ce7a6f1423530d87f89 in mainline linux
jsg [Mon, 9 Sep 2024 09:14:09 +0000 (09:14 +0000)]
drm/amdgpu: Fix the uninitialized variable warning
From Ma Jun
f71ef2bb69dde228e0788e8e309d3d9d73f458c3 in linux-6.6.y/6.6.50
7e39d7ec35883a168343ea02f40e260e176c6c63 in mainline linux
jsg [Mon, 9 Sep 2024 09:12:21 +0000 (09:12 +0000)]
drm/amdgpu/pm: Fix uninitialized variable agc_btc_response
From Ma Jun
3ad44174a5767dbe1dede02b160a4acfa9899d4f in linux-6.6.y/6.6.50
df4409d8a04dd39d7f2aa0c5f528a56b99eaaa13 in mainline linux
jsg [Mon, 9 Sep 2024 09:10:54 +0000 (09:10 +0000)]
drm/amdgpu/pm: Fix uninitialized variable warning for smu10
From Ma Jun
3e04fa97077da6124b4c2a4f582d1e4aa3d704a0 in linux-6.6.y/6.6.50
336c8f558d596699d3d9814a45600139b2f23f27 in mainline linux
jsg [Mon, 9 Sep 2024 09:09:08 +0000 (09:09 +0000)]
drm/amd/pm: fix uninitialized variable warnings for vangogh_ppt
From Tim Huang
97667de35ba771ed50430c5541c217c035b37810 in linux-6.6.y/6.6.50
b2871de6961d24d421839fbfa4aa3008ec9170d5 in mainline linux
jsg [Mon, 9 Sep 2024 09:07:31 +0000 (09:07 +0000)]
drm/amd/amdgpu: Check tbo resource pointer
From Asad Kamal
4dfec5f5501a27e0a0da00e136d65ef9011ded4c in linux-6.6.y/6.6.50
6cd2b872643bb29bba01a8ac739138db7bd79007 in mainline linux
jsg [Mon, 9 Sep 2024 09:05:54 +0000 (09:05 +0000)]
drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box
From Hersen Wu
4003bac784380fed1f94f197350567eaa73a409d in linux-6.6.y/6.6.50
188fd1616ec43033cedbe343b6579e9921e2d898 in mainline linux
jsg [Mon, 9 Sep 2024 09:03:58 +0000 (09:03 +0000)]
drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration
From Hersen Wu
8406158a546441b73f0b216aedacbf9a1e5748fb in linux-6.6.y/6.6.50
a54f7e866cc73a4cb71b8b24bb568ba35c8969df in mainline linux
jsg [Mon, 9 Sep 2024 09:02:02 +0000 (09:02 +0000)]
drm/amd/display: Ensure index calculation will not overflow
From Alex Hung
3dc6bb57dab36b38b7374af0ac916174c146b6ed in linux-6.6.y/6.6.50
8e2734bf444767fed787305ccdcb36a2be5301a2 in mainline linux
jsg [Mon, 9 Sep 2024 09:00:17 +0000 (09:00 +0000)]
drm/amd/display: Fix Coverity INTEGER_OVERFLOW within decide_fallback_link_setting_max_bw_policy
From Hersen Wu
94b0689984dd6a9e9f2303a1510333d18204ba88 in linux-6.6.y/6.6.50
83c0c8361347cf43937348e8ca0a487679c003ae in mainline linux
jsg [Mon, 9 Sep 2024 08:57:58 +0000 (08:57 +0000)]
drm/amd/display: Spinlock before reading event
From Alex Hung
af43ed726fa517b19f900b56965ad29933820545 in linux-6.6.y/6.6.50
ae13c8a5cff92015b9a3eb7cee65ebc75859487f in mainline linux
jsg [Mon, 9 Sep 2024 08:56:25 +0000 (08:56 +0000)]
drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create
From Hersen Wu
313d3dd4ca0e898897f4255a4c1f3d9c1f400fe2 in linux-6.6.y/6.6.50
c6077aa66fa230d12f37fef01161ef080d13b726 in mainline linux
jsg [Mon, 9 Sep 2024 08:54:26 +0000 (08:54 +0000)]
drm/amd/display: Fix Coverity INTERGER_OVERFLOW within construct_integrated_info
From Hersen Wu
13faa9d401a5aa7a3b5211adb8ba0e9dddecaabb in linux-6.6.y/6.6.50
176abbcc71952e23009a6ed194fd203b99646884 in mainline linux
jsg [Mon, 9 Sep 2024 08:52:26 +0000 (08:52 +0000)]
drm/amd/display: Check msg_id before processing transcation
From Alex Hung
cb63090a17d3abb87f132851fa3711281249b7d2 in linux-6.6.y/6.6.50
fa71face755e27dc44bc296416ebdf2c67163316 in mainline linux
jsg [Mon, 9 Sep 2024 08:51:04 +0000 (08:51 +0000)]
drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]
From Alex Hung
21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf in linux-6.6.y/6.6.50
b38a4815f79b87efb196cd5121579fc51e29a7fb in mainline linux
jsg [Mon, 9 Sep 2024 08:49:00 +0000 (08:49 +0000)]
drm/amd/display: Add array index check for hdcp ddc access
From Hersen Wu
8b5ccf3d011969417be653b5a145c72dbd30472c in linux-6.6.y/6.6.50
4e70c0f5251c25885c31ee84a31f99a01f7cf50e in mainline linux
jsg [Mon, 9 Sep 2024 08:47:23 +0000 (08:47 +0000)]
drm/amd/display: Check index for aux_rd_interval before using
From Alex Hung
48e0b68e2360b16edf2a0bae05c0051c00fbb48a in linux-6.6.y/6.6.50
9ba2ea6337b4f159aecb177555a6a81da92d302e in mainline linux
jsg [Mon, 9 Sep 2024 08:45:55 +0000 (08:45 +0000)]
drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6
From Hersen Wu
94cb77700fa4ae6200486bfa0ba2ac547534afd2 in linux-6.6.y/6.6.50
84723eb6068c50610c5c0893980d230d7afa2105 in mainline linux
jsg [Mon, 9 Sep 2024 08:44:25 +0000 (08:44 +0000)]
drm/amd/display: Check gpio_id before used as array index
From Alex Hung
08e7755f754e3d2cef7d3a7da538d33526bd6f7c in linux-6.6.y/6.6.50
2a5626eeb3b5eec7a36886f9556113dd93ec8ed6 in mainline linux
jsg [Mon, 9 Sep 2024 08:42:39 +0000 (08:42 +0000)]
drm/amdgpu: avoid reading vf2pf info size from FB
From Zhigang Luo
30e60db4296c75f0d7a09c9beedcdab2e044cc2c in linux-6.6.y/6.6.50
3bcc0ee14768d886cedff65da72d83d375a31a56 in mainline linux
jsg [Mon, 9 Sep 2024 08:41:10 +0000 (08:41 +0000)]
drm/amd/pm: fix uninitialized variable warnings for vega10_hwmgr
From Tim Huang
1a2c89396ddc2f8c4a5ae2dc0ab9618944c8c9f0 in linux-6.6.y/6.6.50
5fa7d540d95d97ddc021a74583f6b3da4df9c93a in mainline linux
jsg [Mon, 9 Sep 2024 08:39:21 +0000 (08:39 +0000)]
drm/amd/pm: fix the Out-of-bounds read warning
From Jesse Zhang
f1e261ced9bcad772a45a2fcdf413c3490e87299 in linux-6.6.y/6.6.50
12c6967428a099bbba9dfd247bb4322a984fcc0b in mainline linux
jsg [Mon, 9 Sep 2024 08:36:51 +0000 (08:36 +0000)]
drm/amd/pm: Fix negative array index read
From Jesse Zhang
4711b1347cb9f0c3083da6d87c624d75f9bd1d50 in linux-6.6.y/6.6.50
c8c19ebf7c0b202a6a2d37a52ca112432723db5f in mainline linux
jsg [Mon, 9 Sep 2024 08:35:23 +0000 (08:35 +0000)]
drm/amd/pm: fix warning using uninitialized value of max_vid_step
From Jesse Zhang
59dd0d4b33269c5173c648cb2c62f9649618e766 in linux-6.6.y/6.6.50
17e3bea65cdc453695b2fe4ff26d25d17f5339e9 in mainline linux
jsg [Mon, 9 Sep 2024 08:33:40 +0000 (08:33 +0000)]
drm/amd/pm: fix uninitialized variable warning for smu8_hwmgr
From Tim Huang
1dbce92f325060551f98629e885e18fcc99fa012 in linux-6.6.y/6.6.50
86df36b934640866eb249a4488abb148b985a0d9 in mainline linux
jsg [Mon, 9 Sep 2024 08:31:19 +0000 (08:31 +0000)]
drm/amd/pm: fix uninitialized variable warning
From Jesse Zhang
fc0cb02efdfbf8f913417bb06ac16a1a985523e7 in linux-6.6.y/6.6.50
7c836905520703dbc8b938993b6d4d718bc739f3 in mainline linux
jsg [Mon, 9 Sep 2024 08:29:45 +0000 (08:29 +0000)]
drm/amdgpu/pm: Check the return value of smum_send_msg_to_smc
From Ma Jun
a2f2beaba783e5e99b05bb455b701257e6f1fa37 in linux-6.6.y/6.6.50
579f0c21baec9e7506b6bb3f60f0a9b6d07693b4 in mainline linux
jsg [Mon, 9 Sep 2024 08:27:57 +0000 (08:27 +0000)]
drm/amdgpu: fix overflowed array index read warning
From Tim Huang
da22d1b98d9d3a1bfd62bd291b10d57b0f19d6e5 in linux-6.6.y/6.6.50
ebbc2ada5c636a6a63d8316a3408753768f5aa9f in mainline linux
jsg [Mon, 9 Sep 2024 08:26:08 +0000 (08:26 +0000)]
drm/amd/display: Assign linear_pitch_alignment even for VM
From Alvin Lee
d2fe7ac613a1ea8c346c9f5c89dc6ecc27232997 in linux-6.6.y/6.6.50
984debc133efa05e62f5aa1a7a1dd8ca0ef041f4 in mainline linux
jsg [Mon, 9 Sep 2024 08:22:35 +0000 (08:22 +0000)]
drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr
From Ma Jun
761964b756c6e760e8af25e383b7f0a8cc473ac0 in linux-6.6.y/6.6.50
c0d6bd3cd209419cc46ac49562bef1db65d90e70 in mainline linux
jsg [Mon, 9 Sep 2024 08:21:03 +0000 (08:21 +0000)]
drm: panel-orientation-quirks: Add quirk for OrangePi Neo
From Philip Mueller
512bd0cd535bf9b819e638585d5fc69e97d2663b in linux-6.6.y/6.6.50
d60c429610a14560085d98fa6f4cdb43040ca8f0 in mainline linux
jsg [Mon, 9 Sep 2024 08:18:38 +0000 (08:18 +0000)]
drm/fb-helper: Don't schedule_work() to flush frame buffer during panic()
From Qiuxu Zhuo
d5618eaea8868e2534c375b8a512693658068cf8 in linux-6.6.y/6.6.50
833cd3e9ad8360785b6c23c82dd3856df00732d9 in mainline linux
tb [Mon, 9 Sep 2024 07:40:03 +0000 (07:40 +0000)]
Make error 235 resolve to "no application protocol"
We accidentally have two errors 235 since we didn't notice that OpenSSL
removed the unused SSL_R_TRIED_TO_USE_UNSUPPORTED_CIPHER and later that
becamse SSL_R_NO_APPLICATION_PROTOCOL. Getting an "unsupported cipher"
error when fiddling with ALPN is confusing, so fix that.
ok jsing
mvs [Mon, 9 Sep 2024 07:38:45 +0000 (07:38 +0000)]
Document 'socket' and 'sockbuf' structures locking.
`so_oobmark' marked as [mr]. It is accessed in reception path and
corresponding SS_RCVATMARK flag belongs `so_rcv' buffer. However, it is
still protected by exclusive solock()/netlock.
No functional changes.
ok bluhm
mvs [Mon, 9 Sep 2024 07:37:47 +0000 (07:37 +0000)]
Don't take netlock while setting `if_description'.
net/if_pppx.c is the only place where `if_description' accessed outside
ifioctl() path and there is no reason to take netlock here. SIOCSIFDESCR
case of ifioctl() modifies `if_description' with the only kernel lock.
ok bluhm
kn [Mon, 9 Sep 2024 05:36:17 +0000 (05:36 +0000)]
Add triple-dots to synopsis as multiple name[=value] arguments may be given
OK jmc sobrado
tb [Mon, 9 Sep 2024 03:55:55 +0000 (03:55 +0000)]
Fix alert callback in the QUIC layer
Only close_notify and user_cancelled are warning alerts. All others
should be fatal. In order for the lower layers to behave correctly,
the return code for fatal alerts needs to be TLS13_IO_ALERT instead
of TLS13_IO_SUCCESS.
Failure to signal handshake failure in the public API led to a crash
in HAProxy when forcing the tls cipher to TLS_AES_128_CCM_SHA256 as
found by haproxyfred while investigating
https://github.com/haproxy/haproxy/issues/2569
Kenjiro Nakayama found misbehavior of ngtcp2-based servers, wrote a
similar patch and tested this version.
Fixes https://github.com/libressl/portable/issues/1093
ok jsing
jsg [Mon, 9 Sep 2024 03:50:14 +0000 (03:50 +0000)]
move some server only functions from nfs_subs.c to nfs_srvsubs.c
saves space on ramdisks that have option NFSCLIENT
initial diff from and ok miod@
tb [Mon, 9 Sep 2024 03:32:29 +0000 (03:32 +0000)]
Add and use tls13_record_layer_alert_sent()
This is a small refactoring that wraps a direct call to the record layer's
alert_sent() callback into a handler for upcoming reuse in the QUIC code.
No functional change.
ok jsing
djm [Mon, 9 Sep 2024 03:13:39 +0000 (03:13 +0000)]
test mlkem768x25519-sha256
djm [Mon, 9 Sep 2024 02:39:57 +0000 (02:39 +0000)]
pull post-quantum ML-KEM/x25519 key exchange out from compile-time
flag now than an IANA codepoint has been assigned for the algorithm.
Add mlkem768x25519-sha256 in 2nd KexAlgorithms preference slot.
ok markus@
tb [Sun, 8 Sep 2024 07:23:36 +0000 (07:23 +0000)]
rpki-client: fix typos in comments and one in a warning message
aisha [Sat, 7 Sep 2024 22:41:55 +0000 (22:41 +0000)]
fix RBT_ENTRY in pf_state and pf_state_key
ok sashan@
tb [Sat, 7 Sep 2024 16:39:29 +0000 (16:39 +0000)]
Futhermore -> Furthermore
tb [Fri, 6 Sep 2024 14:56:57 +0000 (14:56 +0000)]
Prepare for an upcoming tlsfuzzer test that expects decode_error
when we send illegal_parameter. Shrug.
mbuhl [Fri, 6 Sep 2024 13:31:59 +0000 (13:31 +0000)]
Fix KUBSAN by adding invalid builtin detection, as needed by our current clang.
ok anton@
mbuhl [Fri, 6 Sep 2024 13:30:59 +0000 (13:30 +0000)]
Document float cast overflow detection.
ok anton@
jsg [Fri, 6 Sep 2024 10:54:08 +0000 (10:54 +0000)]
spelling; ok mglocker@
tb [Fri, 6 Sep 2024 09:57:32 +0000 (09:57 +0000)]
Reenable AES-NI in libcrypto
The OPENSSL_cpu_caps() change after the last bump missed a crucial bit:
there is more MD mess in the MI code than anticipated, with the result
that AES is now used without AES-NI on amd64 and i386, hurting machines
that previously greatly benefitted from it.
Temporarily add an internal crypto_cpu_caps_ia32() API that returns the
OPENSSL_ia32cap_P or 0 like OPENSSL_cpu_caps() previously did. This can
be improved after the release.
Regression reported and fix tested by Mark Patruck.
No impact on public ABI or API.
with/ok jsing
PS: Next time my pkg_add feels very slow, I should perhaps not mechanically
blame IEEE 802.11...
mpi [Fri, 6 Sep 2024 08:38:21 +0000 (08:38 +0000)]
Allow tracing interrupts by defering the wakeup(9) to a different context.
It is currently not safe to call wakeup(9) in interrupt handlers at a priority
higher than IPL_SCHED. As long as dt(4) relies on generic kernel primitives
we have to play tricks to be able to inspect more parts of the kernel. In this
case defer the wakeup(9) to a custom soft-interrupt. This will be good enough
as long as we don't add tracepoints to the soft-interrupt machinery. A more
complex & viable solution would be to not rely on the kernel generic IPC to
avoid recursion.
From visa@ and Christian Ludwig, ok claudio@
mpi [Fri, 6 Sep 2024 08:21:21 +0000 (08:21 +0000)]
Remove incorrect increment of the context switch counter.
From Christian Ludwig.
ok claudio@
mpi [Fri, 6 Sep 2024 08:00:36 +0000 (08:00 +0000)]
Regression for '%c'.
From Christian Ludwig.
mpi [Fri, 6 Sep 2024 07:58:50 +0000 (07:58 +0000)]
Interpret the argument of '%c' as an integer instead of a string.
From Christian Ludwig.
tb [Fri, 6 Sep 2024 07:48:20 +0000 (07:48 +0000)]
Adjust documentation to work without X509_LOOKUP_by_subject()
X509_LOOKUP_by_subject() was made internal a while back. Its documentation
was very detailed, so this was a bit of a tangle to undo.
miod [Fri, 6 Sep 2024 06:31:11 +0000 (06:31 +0000)]
Repair build with gcc.
anton [Fri, 6 Sep 2024 04:11:26 +0000 (04:11 +0000)]
sync
jsg [Fri, 6 Sep 2024 03:52:38 +0000 (03:52 +0000)]
match on Lunar Lake
jsg [Fri, 6 Sep 2024 03:48:52 +0000 (03:48 +0000)]
regen
jsg [Fri, 6 Sep 2024 03:48:20 +0000 (03:48 +0000)]
add Intel Lunar Lake ids
from:
Intel Core Ultra 200V Series Processors
Datasheet, Volume 1 of 2, Doc. No.: 829568, Rev.: 001
additional graphics ids from Mesa
djm [Fri, 6 Sep 2024 02:30:44 +0000 (02:30 +0000)]
make parsing user@host consistently look for the last '@' in the
string rather than the first. This makes it possible to use usernames
that contain '@' characters.
Prompted by Max Zettlmeißl; feedback/ok millert@
claudio [Thu, 5 Sep 2024 20:28:42 +0000 (20:28 +0000)]
Bump version
tb [Thu, 5 Sep 2024 16:17:56 +0000 (16:17 +0000)]
sync with base
tb [Thu, 5 Sep 2024 16:16:54 +0000 (16:16 +0000)]
Avoid out-of-bounds pointer arithmetic in inflateCopy().
from upstream, no ABI or API change.
ok beck deraadt
bluhm [Thu, 5 Sep 2024 08:52:27 +0000 (08:52 +0000)]
In ddb(4) print mbuf chain and packet list.
For debugging hardware offloading, DMA requirements, bounce buffers,
and performance optimizations, knowing the memory layout of mbuf
content helps.
Implement /c and /p modifiers in ddb show mbuf. It traverses the
pointer m_next for mbuf chain or m_nextpkt for packet list. Show
mbuf type, data offset, mbuf length, packet length, cluster size,
and total number of elements, length and size.
OK claudio@ mvs@
florian [Thu, 5 Sep 2024 08:22:46 +0000 (08:22 +0000)]
Sync to unbound 1.21.0; heavy lifting by sthen
parse_edns_from_query_pkt() grew a parameter to handle cookies, which
we don't use.
bluhm [Thu, 5 Sep 2024 07:57:14 +0000 (07:57 +0000)]
Update libexpat to version 2.6.3.
Relevant for OpenBSD are security fixes #887 #890 #888 #891 #889
#892, other changes #886 #885, infrastructure #880. No library
bump necessary. CVE-2024-45490 CVE-2024-45491 CVE-2024-45492
OK tb@ deraadt@
jmc [Thu, 5 Sep 2024 06:39:53 +0000 (06:39 +0000)]
have sysmerge and sysupgrade Xr each other;
diff originally from peter n. m. hansteen
ok ajacoutot
jmc [Thu, 5 Sep 2024 06:33:04 +0000 (06:33 +0000)]
note that "|" and ":include:" are disallowed for root;
prompted by mail from illya meyer
ok gilles
jmc [Thu, 5 Sep 2024 06:30:52 +0000 (06:30 +0000)]
retire this older version of forward(5) to the attic
(whilst retaining the smtpd copy);
ok op gilles
jmc [Thu, 5 Sep 2024 05:51:46 +0000 (05:51 +0000)]
remove note falsely claiming that :include: is disallowed
(it is, but only for root, which i'll address in separate commit);
ok mp gilles
jsg [Thu, 5 Sep 2024 04:31:26 +0000 (04:31 +0000)]
drm/amd/display: avoid using null object of framebuffer
From Ma Ke
f6f5e39a3fe7cbdba190f42b28b40bdff03c8cf0 in linux-6.6.y/6.6.49
3b9a33235c773c7a3768060cf1d2cf8a9153bc37 in mainline linux
jsg [Thu, 5 Sep 2024 04:29:04 +0000 (04:29 +0000)]
drm/amdgpu/swsmu: always force a state reprogram on init
From Alex Deucher
39defab0ebf0872b7a84deafbe903c8e30da7748 in linux-6.6.y/6.6.49
d420c857d85777663e8d16adfc24463f5d5c2dbc in mainline linux
jsg [Thu, 5 Sep 2024 04:27:10 +0000 (04:27 +0000)]
drm/amdgpu: align pp_power_profile_mode with kernel docs
From Alex Deucher
11182b33faf3ee80f5ea042a465b26a23e257f8a in linux-6.6.y/6.6.49
8f614469de248a4bc55fb07e55d5f4c340c75b11 in mainline linux
dlg [Wed, 4 Sep 2024 23:57:20 +0000 (23:57 +0000)]
regen
dlg [Wed, 4 Sep 2024 23:56:43 +0000 (23:56 +0000)]
add PLX PEX 8718 and SK hynix PC601 devices.
The PEX 8718 is used on a QNAP QM2-2P-something card, and we have
a couple of pc601 nvme ssds plugged into it.
hastings [Wed, 4 Sep 2024 21:39:18 +0000 (21:39 +0000)]
Push acpi(4) _CRS parsing down after matching skippable and ISA hardware IDs.
ok kettenis@