tb
21da56abf0
err.c: zap stray space
2024-10-11 13:32:22 +00:00
jsing
6f04cea6ec
Apply some style(9) and tidy some comments.
2024-10-11 12:40:25 +00:00
jsing
e0c9389123
Remove pointless locking from err_build_SYS_str_reasons().
...
err_build_SYS_str_reasons() is only called during initialisation, under
pthread_once(). As such, there is no need to grab CRYPTO_LOCK_ERR or
check for reentrant calls.
ok tb@
2024-10-11 12:27:24 +00:00
jsing
d09ec23f2c
Convert err_clear_data() and err_clear() from macros to functions.
...
ok tb@
2024-10-11 12:25:05 +00:00
jsing
bfb83bdc92
Remove unused typedef for ERR_FNS.
2024-10-11 12:20:06 +00:00
jsing
91e90702b8
Add err_ prefix to build_SYS_str_reasons().
2024-10-11 12:19:35 +00:00
jsing
955724bc1e
Make ERR_str_{libraries,reasons,functs}[] const.
...
Provide err_load_const_strings(), which takes a const ERR_STRING_DATA *
and does not perform a library error value fixup. Make ERR_str_*[] tables
const.
ok tb@
2024-10-11 12:10:12 +00:00
jsing
4b53f2ff3b
Add ERR_LIB_SYS to the error values in ERR_str_functs[].
...
This is currently added via err_load_strings(), which means
ERR_str_functs[] cannot be made const. Adding ERR_LIB_SYS means the fixup
becomes unnecessary.
ok tb@
2024-10-11 11:58:53 +00:00
kettenis
89d99141c9
Revert ehci(4) bits in the previous commit. Apparently 64-bit DMA is broken
...
in (almost?) all ehci(4) controllers.
2024-10-11 09:55:24 +00:00
jsing
41cc39b37c
Add error regress coverage for ERR_LIB_SYS.
...
These are dynamically populated based on strerror() values.
2024-10-11 07:54:22 +00:00
tb
5c7cddd652
Remove params argument from ec_asn1_group2parameters()
...
Its only caller passes NULL, so we can simplify the entry point and the
exit of this function a bit.
ok jsing
2024-10-11 06:21:30 +00:00
tb
87a99c5386
Simplify ec_asn1_group2pkparameters()
...
The parameters argument is always NULL, so we can simplify this helper
accordingly.
ok jsing
2024-10-11 06:19:52 +00:00
tb
20b99ef1b0
Spell NULL in a simpler fashion
...
priv_key->parameters is always NULL at this point, since its corresponding
entry in the ASN.1 template has ASN1_TFLG_OPTIONAL set, so there is no point
in pretending to pass it to ec_asn1_group2pkparameters().
ok jsing
2024-10-11 06:18:40 +00:00
tb
68a714b957
Clean up i2d_ECPKParameters()
...
Use better variable names and turn it into single-exit. This changes the
behavior slightly in that an error is pushed onto the stack also for
i2d_ECPKPARAMETERS() return values < 0.
ok jsing
2024-10-11 06:13:09 +00:00
jsg
fcdb63029e
drm/amd/display: enable_hpo_dp_link_output: Check link_res->hpo_dp_link_enc before using it
...
From Alex Hung
e0b065ec636d66022ab7057e1635e9a941a42820 in linux-6.6.y/6.6.55
d925c04d974c657d10471c0c2dba3bc9c7d994ee in mainline linux
2024-10-11 03:00:56 +00:00
jsg
c54916ef0d
drm/amd/display: Allow backlight to go below AMDGPU_DM_DEFAULT_MIN_BACKLIGHT
...
From Mario Limonciello
a94ec40b940599b06fad2c9b7533e4b10bc6645c in linux-6.6.y/6.6.55
87d749a6aab73d8069d0345afaa98297816cb220 in mainline linux
2024-10-11 02:59:02 +00:00
jsg
8855c8f755
drm/amd/display: Fix system hang while resume with TBT monitor
...
From Tom Chung
68d603f467a75618eeae5bfe8af32cda47097010 in linux-6.6.y/6.6.55
52d4e3fb3d340447dcdac0e14ff21a764f326907 in mainline linux
2024-10-11 02:56:45 +00:00
jsg
1a3c1167dd
drm/amd/display: Add HDR workaround for specific eDP
...
From Alex Hung
487f6450bcb920ba1d58954c9e1ab969533b5da8 in linux-6.6.y/6.6.55
05af800704ee7187d9edd461ec90f3679b1c4aba in mainline linux
2024-10-11 02:54:38 +00:00
jsg
b9c19e8727
drm/sched: Add locking to drm_sched_entity_modify_sched
...
From Tvrtko Ursulin
579a0a84e3c0174f296004ac4af83cd9819b38a9 in linux-6.6.y/6.6.55
4286cc2c953983d44d248c9de1c81d3a9643345c in mainline linux
2024-10-11 02:50:17 +00:00
jsg
5557072731
drm/i915/gem: fix bitwise and logical AND mixup
...
From Jani Nikula
451c87d21db61e74379b31369a7e10f41bc3bbba in linux-6.6.y/6.6.55
394b52462020b6cceff1f7f47fdebd03589574f3 in mainline linux
2024-10-11 02:48:48 +00:00
jsg
8a67236b09
drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS
...
From Thomas Zimmermann
c923bc874659f35a216aa3099f18c82572b09416 in linux-6.6.y/6.6.55
8b0d2f61545545ab5eef923ed6e59fc3be2385e0 in mainline linux
2024-10-11 02:47:25 +00:00
jsg
a898d4c006
drm/amdgpu/gfx10: use rlc safe mode for soft recovery
...
From Alex Deucher
4298813a43f72f6c8c71aa70a9e32b8fd0ad5f60 in linux-6.6.y/6.6.55
ead60e9c4e29c8574cae1be4fe3af1d9a978fb0f in mainline linux
2024-10-11 02:45:38 +00:00
jsg
1f7625e450
drm/amdgpu/gfx11: use rlc safe mode for soft recovery
...
From Alex Deucher
c20cd3d6d26156efbd3ec5b3fb17fae8237eb94b in linux-6.6.y/6.6.55
3f2d35c325534c1b7ac5072173f0dc7ca969dec2 in mainline linux
2024-10-11 02:44:18 +00:00
jsg
1ad9196c0e
drm/amd/pm: ensure the fw_info is not null before using it
...
From Tim Huang
b511474f49588cdca355ebfce54e7eddbf7b75a5 in linux-6.6.y/6.6.55
186fb12e7a7b038c2710ceb2fb74068f1b5d55a4 in mainline linux
2024-10-11 02:42:47 +00:00
jsg
23993bc24a
drm/amdgpu/gfx9: use rlc safe mode for soft recovery
...
From Alex Deucher
3ffbdc977d8008868431edb0195b81dec58944be in linux-6.6.y/6.6.55
3ec2ad7c34c412bd9264cd1ff235d0812be90e82 in mainline linux
2024-10-11 02:40:37 +00:00
jsg
3cbf4bddd6
drm/amdgpu: Block MMR_READ IOCTL in reset
...
From Victor Skvortsov
8361e3f7882876d98ba98cae0d3149450dd80912 in linux-6.6.y/6.6.55
9e823f307074c0f82b5f6044943b0086e3079bed in mainline linux
2024-10-11 02:38:44 +00:00
jsg
163caaf205
drm/radeon/r100: Handle unknown family in r100_cp_init_microcode()
...
From Geert Uytterhoeven
c474a1a75599f4e1c166f4d1eb510624bd4a83d5 in linux-6.6.y/6.6.55
c6dbab46324b1742b50dc2fb5c1fee2c28129439 in mainline linux
2024-10-11 02:36:31 +00:00
jsg
bbf030e1e8
drm/amdgpu: fix unchecked return value warning for amdgpu_gfx
...
From Tim Huang
deb78dc859ddba6770186fc0cf59c47487c33c9b in linux-6.6.y/6.6.55
c0277b9d7c2ee9ee5dbc948548984f0fbb861301 in mainline linux
2024-10-11 02:34:46 +00:00
jsg
68bd9ea94a
drm/printer: Allow NULL data in devcoredump printer
...
From Matthew Brost
4ee08b4a7201ba0f7f3d52e3840fee92f415b6c5 in linux-6.6.y/6.6.55
53369581dc0c68a5700ed51e1660f44c4b2bb524 in mainline linux
2024-10-11 02:33:11 +00:00
jsg
ea3915d0c5
drm/amd/display: Initialize get_bytes_per_element's default to 1
...
From Alex Hung
c7630935d9a4986e8c0ed91658a781b7a77d73f7 in linux-6.6.y/6.6.55
4067f4fa0423a89fb19a30b57231b384d77d2610 in mainline linux
2024-10-11 02:31:39 +00:00
jsg
42159b50e6
drm/amd/display: Fix index out of bounds in DCN30 color transformation
...
From Srinivasan Shanmugam
929506d5671419cffd8d01e9a7f5eae53682a838 in linux-6.6.y/6.6.55
d81873f9e715b72d4f8d391c8eb243946f784dfc in mainline linux
2024-10-11 02:29:43 +00:00
jsg
0229a7beb2
drm/amd/display: Fix index out of bounds in degamma hardware format translation
...
From Srinivasan Shanmugam
122e3a7a8c7bcbe3aacddd6103f67f9f36bed473 in linux-6.6.y/6.6.55
b7e99058eb2e86aabd7a10761e76cae33d22b49f in mainline linux
2024-10-11 02:28:26 +00:00
jsg
e5386f85f3
drm/amd/display: Fix index out of bounds in DCN30 degamma hardware format translation
...
From Srinivasan Shanmugam
0d38a0751143afc03faef02d55d31f70374ff843 in linux-6.6.y/6.6.55
bc50b614d59990747dd5aeced9ec22f9258991ff in mainline linux
2024-10-11 02:26:49 +00:00
jsg
4c32d2dd62
drm/amd/display: Check link_res->hpo_dp_link_enc before using it
...
From Alex Hung
be2ca7a2c1561390d28bf2f92654d819659ba510 in linux-6.6.y/6.6.55
0beca868cde8742240cd0038141c30482d2b7eb8 in mainline linux
2024-10-11 02:25:18 +00:00
jsg
a6b1359761
drm/amd/display: Check stream before comparing them
...
From Alex Hung
42d31a33643813cce55ee1ebbad3a2d0d24a08e0 in linux-6.6.y/6.6.55
35ff747c86767937ee1e0ca987545b7eed7a0810 in mainline linux
2024-10-11 02:23:25 +00:00
jsg
6d61e7ca60
drm/amdkfd: Fix resource leak in criu restore queue
...
From Jesse Zhang
71cfb54e0f0c972b082f1791177b79385eac9d98 in linux-6.6.y/6.6.55
aa47fe8d3595365a935921a90d00bc33ee374728 in mainline linux
2024-10-11 02:22:03 +00:00
jsg
d6974da3cd
drm/amdgpu: enable gfxoff quirk on HP 705G4
...
From Peng Liu
fe90214179d5ea295f573039eb1a9f7090d94e3c in linux-6.6.y/6.6.55
2c7795e245d993bcba2f716a8c93a5891ef910c9 in mainline linux
2024-10-11 02:20:19 +00:00
jsg
4e8807ffef
drm/amdgpu: add raven1 gfxoff quirk
...
From Peng Liu
a3c8cbefce38793ad4ac048aef08643e148bf031 in linux-6.6.y/6.6.55
0126c0ae11e8b52ecfde9d1b174ee2f32d6c3a5d in mainline linux
2024-10-11 02:18:49 +00:00
jsg
2d69c72d46
drm/amd/display: fix double free issue during amdgpu module unload
...
From Tim Huang
cf6f3ebd6312d465fee096d1f58089b177c7c67f in linux-6.6.y/6.6.55
20b5a8f9f4670a8503aa9fa95ca632e77c6bf55d in mainline linux
2024-10-11 02:16:34 +00:00
jsg
cce1406cde
drm/amd/display: Add null check for 'afb' in amdgpu_dm_plane_handle_cursor_update (v2)
...
From Srinivasan Shanmugam
75839e2365b666ff4e1b9047e442cab138eac4f6 in linux-6.6.y/6.6.55
cd9e9e0852d501f169aa3bb34e4b413d2eb48c37 in mainline linux
2024-10-11 02:15:02 +00:00
jsg
5c3d34bfcf
drm/amd/display: Check null pointers before using dc->clk_mgr
...
From Alex Hung
9641bc4adf8446034e490ed543ae7e9833cfbdf5 in linux-6.6.y/6.6.55
95d9e0803e51d5a24276b7643b244c7477daf463 in mainline linux
2024-10-11 02:13:25 +00:00
jsg
8832fa422e
drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'
...
From Srinivasan Shanmugam
4778982c73d6c9f3fdbdbc6b6c8aa18df98251af in linux-6.6.y/6.6.55
8141f21b941710ecebe49220b69822cab3abd23d in mainline linux
2024-10-11 02:11:23 +00:00
jsg
945264ba3b
drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream
...
From Srinivasan Shanmugam
e47e563c6f0db7d792a559301862c19ead0dfc2f in linux-6.6.y/6.6.55
66d71a72539e173a9b00ca0b1852cbaa5f5bf1ad in mainline linux
2024-10-11 02:09:05 +00:00
jsg
ff6d519576
drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer
...
From Philip Yang
30ceb873cc2e97348d9da2265b2d1ddf07f682e1 in linux-6.6.y/6.6.55
c86ad39140bbcb9dc75a10046c2221f657e8083b in mainline linux
2024-10-11 02:06:47 +00:00
jsg
a5f3710f75
drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit
...
From Pierre-Eric Pelloux-Prayer
44e4aeaef96b2624b341597b1a8e595c89925892 in linux-6.6.y/6.6.55
fec5f8e8c6bcf83ed7a392801d7b44c5ecfc1e82 in mainline linux
2024-10-11 02:04:07 +00:00
jsg
1086cb9764
drm/amdgpu: Fix get each xcp macro
...
From Asad Kamal
7879ad0aa996dc0c66950a6416e0ae227288f362 in linux-6.6.y/6.6.55
ef126c06a98bde1a41303970eb0fc0ac33c3cc02 in mainline linux
2024-10-11 02:02:18 +00:00
jsg
4826055c34
remove unused struct cpu_freq_tbl
2024-10-10 23:15:27 +00:00
lucas
67ac9f361e
sysctl.2: NET_RT_DUMP defaults to the current rtable
2024-10-10 22:21:05 +00:00
miod
f9fed175ef
Remove the gazillion of macros to get fields from curcpu(), and use
...
relative addressing from the register holding the value of curcpu() instead.
No functional change, but shaves a few bytes of code on MULTIPROCESSOR kernels.
2024-10-10 19:33:05 +00:00
claudio
5101d665ac
Add test for the various authentication config options.
2024-10-10 14:02:47 +00:00