Skip to content

amdgpu: validate pointer before access its field in amdgpu_gem_object… #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1,873 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1873 commits
Select commit Hold shift + click to select a range
ff854a4
drm/amdkfd: CRIU fixes
Jun 4, 2024
720e658
drm/amdgpu: get rid of bogus includes of fdtable.h
Jun 4, 2024
1755c39
drm/amdkcl: test drm_gem_prime_handle_to_dmabuf() is available
Sep 23, 2024
9170b48
drm/buddy: fix issue that force_merge cannot free all roots
Sep 22, 2024
64989ae
drm/amdgpu: check return for setting engine dram timings
Aug 1, 2024
a11d863
drm/amdkfd: Update logic for CU occupancy calculations
mukjoshi Sep 16, 2024
e3a24aa
drm/amdkfd: Fix CU occupancy for GFX 9.4.3
mukjoshi Sep 20, 2024
d85d6a1
drm/amdgpu/vcn: enable AV1 on both instances
skjamadar Sep 20, 2024
0a81779
drm/amdgpu: Separate reinitialization after reset
Aug 26, 2024
28cd85c
drm/amdgpu: add amdgpu_device reference in ip block
amd-sukhatri Sep 24, 2024
15992aa
drm/amdkfd: Add SDMA queue quantum support for GFX12
Sep 20, 2024
4f20f4c
drm/amdgpu/gfx9: set additional bits on CP halt
alexdeucher Sep 16, 2024
305c132
drm/amdgpu: Fix typo "acccess" and improve the comment style here
Avenger-285714 Sep 20, 2024
888c122
drm/amd: Add helper to get partition config modes
Sep 17, 2024
0ed2350
drm/amdgpu: Add callback get xcp resource info
Sep 9, 2024
392e16d
drm/amdgpu/gfx9: Explicitly halt CP before init
alexdeucher Sep 16, 2024
8b87d41
drm/amd/display: fix typos in several function pointer checks
Sep 20, 2024
0e64409
drm/amdgpu: Add reset on init handler for XGMI
Aug 21, 2024
fa9af0f
drm/amdgpu: fix PTE copy corruption for sdma 7
frank9765 Sep 25, 2024
c82d776
Merge amd-staging-dkms-6.10 into amd-mainline-dkms-6.10
Sep 27, 2024
9509de9
Bump AMDGPU version to 6.10.3
Sep 27, 2024
b2f857c
drm/amdgpu: fix vbios fetching for SR-IOV
alexdeucher Sep 25, 2024
bd098b4
drm/amdgpu: fix vbios fetching for SR-IOV
alexdeucher Sep 25, 2024
0fa7150
drm/amdkfd: Add SDMA queue quantum support for GFX12
Sep 20, 2024
1e97a58
drm/amdkfd: [SPM] Fix a crash issue when running SPM on latest kernel…
bing-ma Sep 20, 2024
da4bdf2
drm/amdgpu: [SPM] Remove 'SPM Start' logic from gfx_v9_0_spm_start()
bing-ma Sep 20, 2024
35b64b1
drm/amd: [SPM] Reset SPM ringbuffer 'rptr' When SPM is reset
bing-ma Sep 24, 2024
a84109d
drm/amdkfd: [SPM] Remove 'rptr = wptr' when 'is_user_buf_filled == tr…
bing-ma Sep 20, 2024
e3bceba
drm/amdkfd: [SPM] Merge spm_copy_data_to_usr() and spm_set_dest_info(…
bing-ma Sep 20, 2024
ca0c51a
drm/amdgpu: Remove unused amdgpu_device_ip_is_idle
Sep 23, 2024
130ceb0
drm/amdgpu: Remove unused amdgpu_atpx functions
Sep 23, 2024
7e54c0d
drm/amdgpu: Remove unused amdgpu_gmc_vram_cpu_pa
Sep 23, 2024
20ae8b5
drm/amdgpu: Remove unused amdgpu_gfx_bit_to_me_queue
Sep 23, 2024
8ca0b4a
drm/amdgpu: Remove unused amdgpu_i2c functions
Sep 23, 2024
c3e7a20
drm/amdgpu: Add helper to initialize badpage info
Aug 30, 2024
c57da59
drm/amdgpu: Refactor XGMI reset on init handling
Aug 26, 2024
1d49300
drm/amdgpu: Drop delayed reset work handler
Sep 2, 2024
85762c0
drm/amdgpu: Support reset-on-init on select SOCs
Sep 2, 2024
ae06a9c
drm/amdgpu: Add interface for TOS reload cases
Sep 2, 2024
754dda1
drm/amdgpu: Add PSP reload case to reset-on-init
Sep 2, 2024
a097cff
drm/amd/pm: update workload mask after the setting
Sep 20, 2024
0d5b2e8
drm/amdgpu: bump driver version for cleared VRAM
alexdeucher Sep 6, 2024
5d14f4e
drm/amdkfd: Remove an unused parameter in queue creation
Sep 23, 2024
e1baa1a
drm/amdgpu/sdma5: split out per instance resume function
jiadozhu Sep 20, 2024
5aec32f
drm/amd/display: update DML2 policy EnhancedPrefetchScheduleAccelerat…
Sep 7, 2024
1d52721
drm/amd/display: disable adaptive scaler and sharpener when integer s…
Sep 6, 2024
c6e8fab
drm/amd/display: Restore Optimized pbn Value if Failed to Disable DSC
Sep 4, 2024
be3951c
drm/amd/display: Wait for all pending cleared before full update
Sep 9, 2024
1ee7d43
drm/amd/display: Monitor patch to call blank_stream() before otg off
Sep 10, 2024
baafb59
drm/amd/display: Fix incorrect DSC recompute trigger
Sep 4, 2024
3621611
drm/amd/display: Clean up triple buffer enablement code
Sep 9, 2024
0f9e472
drm/amd/display: Change dc_surface_update cm2_params to const
Sep 3, 2024
3f896d0
drm/amd/display: Set Pipe Unlock Order Outside of HWSEQ
Sep 10, 2024
1dede8e
drm/amd/display: Block UHBR Based On USB-C PD Cable ID
Sep 3, 2024
9015c46
drm/amd/display: avoid set dispclk to 0
charliu-AMDENG Sep 11, 2024
5d51116
drm/amd/display: correct register Clock Gater incorrectly disabled
charliu-AMDENG Sep 12, 2024
d61e7b6
drm/amd/display: fix static analysis warnings
Sep 10, 2024
f813dd6
drm/amd/display: Update Interface to Check UCLK DPM
Sep 10, 2024
016b41e
drm/amd/display: Fix cursor visual confirm update
Sep 12, 2024
eb8e76f
drm/amd/display: Clip rect size changes should be full updates
Sep 12, 2024
2bb07a3
drm/amd/display: Add HDR workaround for specific eDP
Sep 6, 2024
ccb34e1
drm/amd/display: Wait For DET Update Should Use Current State
Sep 12, 2024
f869fef
drm/amd/display: Enable idle workqueue for more IPS modes
leo-sunli1 Sep 11, 2024
069abf5
drm/amd/display: 3.2.302
AMD-aric Sep 16, 2024
42934e4
drm/amd/display: Adjust PHY FSM transition to TX_EN-to-PLL_ON for TMDS
Sep 13, 2024
4e37586
drm/amd/display: Fix system hang while resume with TBT monitor
Sep 13, 2024
3aee17e
drm/amd/display: Add logs to record register read/write
Sep 12, 2024
b6b5e41
drm/amd/display: add more support for UHBR10 eDP
Sep 19, 2024
6ed0796
drm/amd/display: Change Brightness Control Priority
Jun 5, 2024
7e08be9
drm/amd/display: Introduce New ABC Framework for Brightness Control
Jul 18, 2024
badd206
drm/amd/display: Remove always-false branches
Sep 18, 2024
f9b4e6a
drm/amd/display: Fix out-of-bounds access in 'dcn21_link_encoder_create'
srishanm Sep 25, 2024
4f21b7e
drm/amd/display: Eliminate recursive header inclusion
Sep 19, 2024
b11f1aa
drm/amd/display: Removed unused assignments and variables
Sep 20, 2024
849e414
drm/amd/display: Add IPS residency capture helpers to dc_dmub_srv
Jul 31, 2024
65c2796
drm/amd/display: Configure DTBCLK_P with OPTC only for dcn401
Sep 20, 2024
001072e
drm/amd/display: [FW Promotion] Release 0.0.236.0
Sep 23, 2024
49cb81e
drm/amd/display: 3.2.303
AMD-aric Sep 23, 2024
e5774c5
Revert "drm/amdgpu/sdma5: split out per instance resume function"
Oct 1, 2024
bc713c2
drm/amdkfd: release spm when process destroy
jameszhu-amd Sep 23, 2024
d24f04a
drm/amdkfd: workaround for spm overflow
jameszhu-amd Sep 23, 2024
5cc743a
drm/amdgpu: Fix logic to determine TOS reload
Sep 30, 2024
0449512
drm/amdkfd: Copy wave state only for compute queue
PhilipYangA Oct 3, 2024
f849873
drm/amdgpu/sdma5: split out per instance resume function
jiadozhu Sep 20, 2024
708d20d
drm/amdgpu: update the handle ptr in dump_ip_state
amd-sukhatri Sep 24, 2024
627f379
drm/amdgpu: Add sysfs nodes to get xcp details
Sep 9, 2024
82904bc
drm/amdkcl: wrap code under HAVE_DEFAULT_GROUP_IN_KOBJ_TYPE
Sep 29, 2024
46c5edb
drm/amdkcl: test if macro __ATTR_RW_MODE is available
Sep 29, 2024
a4f3a0c
drm/amdgpu: update the handle ptr in print_ip_state
amd-sukhatri Sep 25, 2024
7004ddd
drm/amdgpu/sdma5: implement ring reset callback for sdma5
jiadozhu Sep 20, 2024
dad8a5a
drm/amdgpu/sdma5.2: split out per instance resume function
jiadozhu Sep 20, 2024
c644a34
drm/amdgpu: update the handle ptr in early_init
Oct 9, 2024
b7d8b50
drm/amdgpu/sdma5.2: implement ring reset callback for sdma5.2
jiadozhu Sep 20, 2024
67a4809
drm/amdgpu: Add option to refresh NPS data
Sep 18, 2024
1f70f46
drm/amdgpu: Add supported partition mode node
Sep 24, 2024
e323bd3
platform/x86/amd/pmc: Extend support for PMC features on new AMD plat…
Aug 22, 2024
1e43a75
drm/amdgpu: Flush tlb by VM_INVALIDATION packet in sdma_v5_2
Sep 9, 2024
c7c1b13
drm/amdkfd: Copy wave state only for compute queue
PhilipYangA Oct 3, 2024
efafe8e
drm/amdgpu: enable enforce_isolation sysfs node on VFs
alexdeucher Oct 8, 2024
d1a9ddf
drm/amdgpu: Add gmc interface to request NPS mode
Sep 19, 2024
e6a5e77
drm/amdgpu: enable enforce_isolation sysfs node on VFs
alexdeucher Oct 8, 2024
d2cc2db
drm/amdgpu: Add sysfs interfaces for NPS mode
Sep 19, 2024
b80672c
drm/amdgpu: Place NPS mode request on unload
Sep 20, 2024
f5dc150
drm/amdgpu: update the handle ptr in wait_for_idle
amd-sukhatri Sep 30, 2024
3f609d0
drm/amdgpu: update the handle ptr in suspend
amd-sukhatri Sep 30, 2024
ff43c36
drm/amdgpu: update the handle ptr in resume
amd-sukhatri Sep 30, 2024
802795f
drm/amdgpu: update the handle ptr in hw_init
amd-sukhatri Oct 1, 2024
5d93ca6
drm/amdgpu: update the handle ptr in hw_fini
amd-sukhatri Oct 2, 2024
441cb8e
drm/amdgpu: fix html doc generation warning
amd-sukhatri Oct 2, 2024
0440399
drm/amdgpu: update the handle ptr in soft_reset
amd-sukhatri Sep 30, 2024
0c9ca8a
drm/amdgpu: update the handle ptr in post_soft_reset
amd-sukhatri Sep 30, 2024
c610566
drm/amdgpu: Add NPS switch support for GC 9.4.3
Sep 20, 2024
988913b
drm/amdgpu: Add PSP interface for NPS switch
Sep 19, 2024
5cf4f8b
drm/amdgpu: update the handle ptr in pre_soft_reset
amd-sukhatri Sep 30, 2024
bb9f706
drm/amdgpu: update the handle ptr in check_soft_reset
amd-sukhatri Sep 30, 2024
a5898e7
drm/amdgpu: update the handle ptr in late_init
amd-sukhatri Sep 26, 2024
ef460dd
drm/amdgpu: update the handle ptr in sw_init
amd-sukhatri Sep 26, 2024
f8abf34
drm/amdgpu: update the handle ptr in sw_fini
amd-sukhatri Sep 26, 2024
a655f8c
drm/amdgpu: update the handle ptr in early_fini
amd-sukhatri Sep 26, 2024
bc45ae4
drm/amdgpu: remove the dummy fn acp_early_init
amd-sukhatri Sep 30, 2024
7f98b28
drm/amdgpu: update the handle ptr in late_fini
amd-sukhatri Sep 30, 2024
5da76e6
drm/amdgpu: update the handle ptr in prepare_suspend
amd-sukhatri Sep 30, 2024
b29aea7
drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module
srishanm Oct 1, 2024
fe05059
drm/amdgpu: Check gmc requirement for reset on init
Sep 20, 2024
7b9b2b3
Revert "drm/amdgpu: update the handle ptr in late_init"
Oct 11, 2024
5b97001
drm/amdgpu: update the handle ptr in late_init
amd-sukhatri Sep 26, 2024
055ac22
Merge amd-staging-dkms-6.10 into amd-mainline-dkms-6.10
Oct 11, 2024
40cc451
Bump AMDGPU version to 6.10.4
Oct 11, 2024
3663d61
Revert "drm/amd/pm: update workload mask after the setting"
Oct 11, 2024
4267e72
Revert "drm/amd/pm: update workload mask after the setting"
Oct 11, 2024
1bafdfc
drm/amdkfd: Fix kdoc entry for 'get_wave_count()' function parameters
srishanm Sep 25, 2024
6dda5f1
drm/amd/display: Reorganize kerneldoc parameter names
JuliaLawall Sep 30, 2024
ea4ac90
drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()
Sep 27, 2024
aa4de22
Merge amd-staging-dkms-6.10 into amd-mainline-dkms-6.10
Oct 17, 2024
968203f
Bump AMDGPU version to 6.10.5
Oct 17, 2024
0d1bb57
Revert "drm/amdgpu: Add supported partition mode node"
Oct 17, 2024
2bcbd74
Revert "drm/amdgpu: Add sysfs nodes to get xcp details"
Oct 17, 2024
6f0fe0c
Revert "drm/amdgpu/gfx9: put queue resets behind a debug option"
alexdeucher Oct 15, 2024
a34acbf
drm/amd/pm: Use same metric table for APU
Jul 18, 2024
e4ecf5c
drm/amd/pm: Add gpu_metrics_v1_6
Jul 13, 2024
a1e84e2
drm/amdgpu: Fix get each xcp macro
Jul 22, 2024
1f89d98
drm/amdgpu: Fix XCP instance mask calculation
Sep 11, 2024
88db871
drm/amd/pm: Use metrics 1_6
Jul 22, 2024
45700f9
drm/amd/pm: Update SMUv13.0.6 PMFW headers
Jul 18, 2024
5375b0f
drm/amdkfd: fix the hang caused by the write reorder to fence_addr
vizhao Oct 17, 2024
169e877
Revert "drm/amdkfd: fix the hang caused by the write reorder to fence…
Oct 23, 2024
b2e6156
drm/amdkfd: fix the hang caused by the write reorder to fence_addr
vizhao Oct 17, 2024
8aa866a
drm/amdgpu: Reduce redundant gpu resets on nbio v7.4
Oct 22, 2024
fa42a56
drm/amdkfd: Accounting pdd vram_usage for svm
PhilipYangA Oct 4, 2024
f038c8a
drm/amdkfd: fix the incorrect exception handling logic in function am…
Oct 31, 2024
781df16
drm/amdgpu: Wait for reset on init completion
Oct 7, 2024
8165df8
drm/amdgpu: Fetch NPS mode for GCv9.4.3 VFs
Sep 13, 2024
e562be8
drm/amdgpu: Show current compute partition on VF
Sep 17, 2024
c84f83f
drm/amdgpu: Save VCN shared memory with init reset
Oct 15, 2024
c718d39
drm/amdgpu: Zero-initialize mqd backup memory
Oct 15, 2024
c1f71df
drm/amdkcl: use kprobe for address resolution of unexported functions
Nov 7, 2024
7425311
drm/amdkcl: move reservation_ww_class check to compile-time
Nov 7, 2024
2638cfb
drm/amdkcl: wrap code under macro AMDKCL_FENCE_DEFAULT_WAIT_TIMEOUT
Nov 8, 2024
11be698
drm/amdkcl: clean macro HAVE_SCHED_SET_FIFO_LOW
Nov 9, 2024
4a6d6fd
drm/amd/pm: update deep sleep status on smu v14.0.2/3
Oct 17, 2024
2e4bea8
drm/amdgpu: fix random data corruption for sdma 7
frank9765 Oct 10, 2024
9d1e278
drm/amd/pm: update overdrive function on smu v14.0.2/3
Oct 17, 2024
518d4da
drm/amd/pm: update the driver-fw interface file for smu v14.0.2/3
Oct 16, 2024
65544cc
drm/amdgpu/gfx9: Add cleaner shader for GFX9.4.2
srishanm Oct 18, 2024
40f8704
drm/amdkfd: add an interface to query whether is KFD is active
alexdeucher Oct 14, 2024
2b14628
drm/amdgpu: fix fairness in enforce isolation handling
alexdeucher Oct 14, 2024
e48e269
drm/amdgpu: Add documentation for enforce isolation feature
srishanm Nov 6, 2024
4a0ac21
platform/x86/amd/pmc: Send OS_HINT command for new AMD platform
Jul 18, 2024
329bc46
drm/amd/display: Unify blank_phantom and blank_pixel_data
Sep 16, 2024
dfc6222
drm/amd/display: skip disable CRTC in seemless bootup case
Sep 14, 2024
ab5b75f
drm/amd/display: Flip All Planes Under OTG Master When Flip Immediate
Sep 20, 2024
bf2c50d
drm/amd/display: Revert commit Update Interface to Check UCLK DPM
Sep 23, 2024
3fc510b
drm/amd/display: force TBT4 dock dsc on
Sep 14, 2024
5adaecd
drm/amd/display: Assign socclk in dml
Sep 20, 2024
25a833f
drm/amd/display: Fix garbage or black screen when resetting otg
Sep 18, 2024
9da3854
drm/amd/display: Display lost signal on playing video
Sep 20, 2024
ea60abd
drm/amd/display: Noitfy DMCUB of D0/D3 state in hardware init
unsccaptain1 Sep 26, 2024
5f39b8e
drm/amd/display: Fix low black values by increasing error
Sep 23, 2024
c07ec31
drm/amd/display: Remove programming outstanding updates for dcn35
Sep 26, 2024
15596ed
drm/amd/display: update sr_exit latency for z8
charliu-AMDENG Sep 26, 2024
033e39a
drm/amd/display: Clear update flags after update has been applied
Sep 24, 2024
60c1db3
drm/amd/display: fix a memleak issue when driver is removed
Sep 23, 2024
ecbb9f4
drm/amd/display: calculate final viewport before TAP optimization
Sep 26, 2024
706a100
drm/amd/display: Align static screen idle worker with IPX mode
Sep 26, 2024
8a9f5de
drm/amd/display: Skip Invalid Streams from DSC Policy
Sep 23, 2024
8a72617
drm/amd/display: Allow Latency Increase For Last Strategy
Sep 26, 2024
efe804c
drm/amd/display: Move Link Encoder Assignment Out Of dc_global_validate
Sep 26, 2024
67e41db
drm/amd/display: Update Interface to Check UCLK DPM
Sep 10, 2024
8829499
drm/amd/display: Add DMUB debug offset
Sep 29, 2024
f0f1568
drm/amd/display: Remove unnecessary assignments
Sep 23, 2024
07fd381
drm/amd/display: Remove redundant assignments
Sep 23, 2024
379c691
drm/amd/display: Initialize replay_config var
Sep 23, 2024
f040cb9
drm/amd/display: Initialize new backlight_level_params structure
Sep 4, 2024
7a0dba9
drm/amd/display: 3.2.304
AMD-aric Sep 30, 2024
04011b6
drm/amd/display: add sharpening policy to plane state
Oct 3, 2024
a2abd6e
drm/amd/display: Recalculate SubVP Phantom VBlank End in dml21
Oct 8, 2024
418de26
drm/amd/display: Adding array index check to prevent memory corruption
Oct 7, 2024
f55c99e
drm/amd/display: update fullscreen status to SPL
Oct 9, 2024
d8ad546
drm/amd/display: Read Sink emission rate capability
Sep 12, 2024
6568057
Revert "drm/amd/display: Block UHBR Based On USB-C PD Cable ID"
Oct 23, 2024
fdbc912
drm/amd/display: fix handling of max_downscale_src_width fail check i…
Oct 16, 2024
859edc6
drm/amd/display: store sharpness 1dlut table in dscl_prog_data
Oct 18, 2024
05bda48
drm/amd/display: Fix underflow when playing 8K video in full screen mode
Oct 11, 2024
3fdf648
drm/amd/display: Full exit out of IPS2 when all allow signals have be…
Oct 3, 2024
2cafd2e
drm/amd/display: Optimize power up sequence for specific OLED
Oct 11, 2024
2bca6d3
drm/amd/display: Add P-State Stall Timeout Recovery Support for dcn401
Oct 11, 2024
f0d9fd4
drm/amd/display: resolve correct MALL size for dcn401
Sep 26, 2024
8e9b1be
drm/amd/display: Do Not Fallback To SW Cursor If HW Cursor Required
Oct 18, 2024
91ec051
drm/amd/display: Remove hw w/a toggle if on DP2/HPO
Oct 24, 2024
28850c2
drm/amd/display: Remove otg w/a toggling on HPO interfaces
Oct 24, 2024
627f890
drm/amd/display: Minimize wait for pending updates
Oct 9, 2024
09b0aa8
drm/amdgpu: Update SRIOV Exchange Headers for RAS Telemetry Support
Oct 30, 2024
4342e53
drm/amdgpu: Add msg handlers for SRIOV RAS Telemetry
Oct 30, 2024
79b98d5
drm/amdgpu: VF Query RAS Caps from Host if supported
Oct 30, 2024
60f3e16
drm/amdgpu: Implement virt req_ras_err_count
Oct 30, 2024
de30b6c
drm/amdgpu: fix compile error inside amdgpu_ras_virt_error_generate_r…
Dec 5, 2024
e17d8a2
drm/amd/pm: skip setting the power source on smu v14.0.2/3
Nov 19, 2024
eb5edf5
drm/amdgpu: Fix DPX valid mode check on GC 9.4.3
Nov 4, 2024
833bf22
drm/amdgpu: Prefer RAS recovery for scheduler hang
Oct 24, 2024
16ac390
drm/amdgpu/hdp7.0: do a posting read when flushing HDP
frank9765 Nov 28, 2024
4b6f830
drm/amd/display: Handle dml allocation failure to avoid BSOD
Nov 1, 2024
7367bbd
drm/amd/display: Add a missing DCN401 reg definition
Nov 1, 2024
6085345
drm/amd/display: Enable Request rate limiter during C-State on dcn401
Nov 1, 2024
3e72c45
drm/amd/display: Require minimum VBlank size for stutter optimization
Nov 1, 2024
c9924fe
drm/amd/display: fix asserts in SPL during bootup
Oct 20, 2024
833476f
drm/amd/display: Improve Logic When Deciding MPO Support
Nov 5, 2024
d9ca274
drm/amd/display: Update SPL Taps Required For Integer Scaling
Oct 31, 2024
de023ce
drm/amd/display: Remove inaccessible registers from DMU diagnostics
Oct 23, 2024
7d31329
drm/amd/display: Force MST blocked discovery for Asus ProArt display
Oct 25, 2024
788b5a6
drm/amd/display: Remove PIPE_DTO_SRC_SEL programming from set_dtbclk_dto
Nov 6, 2024
6c1732f
drm/amd/display: update pipe selection policy to check head pipe
Oct 30, 2024
17a3f1b
drm/amd/display: update head pipe check logic in pipe selection
Nov 11, 2024
0201e7b
drm/amd/display: Add a left edge pixel if in YCbCr422 or YCbCr420 and…
Nov 8, 2024
25a4e59
drm/amd/display: skip set AVmute when hdmi frl dsc
Oct 14, 2024
853289b
drm/amd/display: Correct prefetch calculation
LoAnChen Nov 14, 2024
f5b5dc4
drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35
Oct 7, 2024
098c46b
drm/amd/display: always blank stream before disable crtc.
Oct 30, 2024
0df912a
drm/amd/display: Fix handling of plane refcount
Oct 28, 2024
dec18a7
drm/amd/display: Limit VTotal range to max hw cap minus fp
Nov 13, 2024
9f385fd
drm/amd/display: allow chroma 1:1 scaling when sharpness is off
Nov 8, 2024
503d1d6
drm/amd/display: Populate chroma prefetch parameters, DET buffer fix
LoAnChen Nov 27, 2024
795c51c
drm/amdgpu: fix dm_suspend/resume arguments to ip_block
amd-sukhatri Oct 8, 2024
f3747ee
drm/amdgpu: Clean up duplicate ip_block object
amd-sukhatri Oct 3, 2024
f02e746
drm/amdgpu: rework resume handling for display (v2)
alexdeucher Nov 25, 2024
3e45103
drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov
vizhao Oct 24, 2024
3841fa7
drm/amdkfd: make sure ring buffer is flushed before update wptr
vizhao Nov 14, 2024
8427724
drm/amdgpu: Check fence emitted count to identify bad jobs
Nov 21, 2024
f73c808
drm/amdgpu: Increase FRU File Id buffer size
Dec 3, 2024
49cf5a6
drm/amdgpu: fix return random value when multiple threads read regist…
Nov 6, 2024
796c590
amdgpu: validate pointer before access its field in amdgpu_gem_object…
jiangliu Dec 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ Li Yang <[email protected]> <[email protected]>
Li Yang <[email protected]> <[email protected]>
Lior David <[email protected]> <[email protected]>
Lorenzo Pieralisi <[email protected]> <[email protected]>
Lorenzo Stoakes <[email protected]> <[email protected]>
Luca Ceresoli <[email protected]> <[email protected]>
Lukasz Luba <[email protected]> <[email protected]>
Luo Jie <[email protected]> <[email protected]>
Expand Down
8 changes: 7 additions & 1 deletion CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,10 @@ D: UDF filesystem
S: (ask for current address)
S: USA

N: Larry Finger
E: [email protected]
D: Maintainer of wireless drivers, too many to list here

N: Jürgen Fischer
E: [email protected]
D: Author of Adaptec AHA-152x SCSI driver
Expand Down Expand Up @@ -3146,9 +3150,11 @@ S: Triftstra=DFe 55
S: 13353 Berlin
S: Germany

N: Gustavo Pimental
N: Gustavo Pimentel
E: [email protected]
D: PCI driver for Synopsys DesignWare
D: Synopsys DesignWare eDMA driver
D: Synopsys DesignWare xData traffic generator

N: Emanuel Pirker
E: [email protected]
Expand Down
36 changes: 11 additions & 25 deletions Documentation/admin-guide/cifs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -723,40 +723,26 @@ Configuration pseudo-files:
======================= =======================================================
SecurityFlags Flags which control security negotiation and
also packet signing. Authentication (may/must)
flags (e.g. for NTLM and/or NTLMv2) may be combined with
flags (e.g. for NTLMv2) may be combined with
the signing flags. Specifying two different password
hashing mechanisms (as "must use") on the other hand
does not make much sense. Default flags are::

0x07007

(NTLM, NTLMv2 and packet signing allowed). The maximum
allowable flags if you want to allow mounts to servers
using weaker password hashes is 0x37037 (lanman,
plaintext, ntlm, ntlmv2, signing allowed). Some
SecurityFlags require the corresponding menuconfig
options to be enabled. Enabling plaintext
authentication currently requires also enabling
lanman authentication in the security flags
because the cifs module only supports sending
laintext passwords using the older lanman dialect
form of the session setup SMB. (e.g. for authentication
using plain text passwords, set the SecurityFlags
to 0x30030)::
0x00C5

(NTLMv2 and packet signing allowed). Some SecurityFlags
may require enabling a corresponding menuconfig option.

may use packet signing 0x00001
must use packet signing 0x01001
may use NTLM (most common password hash) 0x00002
must use NTLM 0x02002
may use NTLMv2 0x00004
must use NTLMv2 0x04004
may use Kerberos security 0x00008
must use Kerberos 0x08008
may use lanman (weak) password hash 0x00010
must use lanman password hash 0x10010
may use plaintext passwords 0x00020
must use plaintext passwords 0x20020
(reserved for future packet encryption) 0x00040
may use Kerberos security (krb5) 0x00008
must use Kerberos 0x08008
may use NTLMSSP 0x00080
must use NTLMSSP 0x80080
seal (packet encryption) 0x00040
must seal (not implemented yet) 0x40040

cifsFYI If set to non-zero value, additional debug information
will be logged to the system error log. This field
Expand Down
4 changes: 2 additions & 2 deletions Documentation/arch/riscv/cmodx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ cmodx.c::
printf("Value before cmodx: %d\n", value);

// Call prctl before first fence.i is called inside modify_instruction
prctl(PR_RISCV_SET_ICACHE_FLUSH_CTX_ON, PR_RISCV_CTX_SW_FENCEI, PR_RISCV_SCOPE_PER_PROCESS);
prctl(PR_RISCV_SET_ICACHE_FLUSH_CTX, PR_RISCV_CTX_SW_FENCEI_ON, PR_RISCV_SCOPE_PER_PROCESS);
modify_instruction();
// Call prctl after final fence.i is called in process
prctl(PR_RISCV_SET_ICACHE_FLUSH_CTX_OFF, PR_RISCV_CTX_SW_FENCEI, PR_RISCV_SCOPE_PER_PROCESS);
prctl(PR_RISCV_SET_ICACHE_FLUSH_CTX, PR_RISCV_CTX_SW_FENCEI_OFF, PR_RISCV_SCOPE_PER_PROCESS);

value = get_value();
printf("Value after cmodx: %d\n", value);
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/cache/qcom,llcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ allOf:
compatible:
contains:
enum:
- qcom,qdu1000-llcc
- qcom,sc7180-llcc
- qcom,sm6350-llcc
then:
Expand Down Expand Up @@ -104,6 +103,7 @@ allOf:
compatible:
contains:
enum:
- qcom,qdu1000-llcc
- qcom,sc8180x-llcc
- qcom,sc8280xp-llcc
- qcom,x1e80100-llcc
Expand Down
15 changes: 15 additions & 0 deletions Documentation/driver-api/cxl/memory-devices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,12 @@ CXL Memory Device
.. kernel-doc:: drivers/cxl/mem.c
:doc: cxl mem

.. kernel-doc:: drivers/cxl/cxlmem.h
:internal:

.. kernel-doc:: drivers/cxl/core/memdev.c
:identifiers:

CXL Port
--------
.. kernel-doc:: drivers/cxl/port.c
Expand All @@ -341,6 +347,15 @@ CXL Core
.. kernel-doc:: drivers/cxl/cxl.h
:internal:

.. kernel-doc:: drivers/cxl/core/hdm.c
:doc: cxl core hdm

.. kernel-doc:: drivers/cxl/core/hdm.c
:identifiers:

.. kernel-doc:: drivers/cxl/core/cdat.c
:identifiers:

.. kernel-doc:: drivers/cxl/core/port.c
:doc: cxl core

Expand Down
2 changes: 1 addition & 1 deletion Documentation/gpu/amdgpu/driver-core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ IP Blocks
:doc: IP Blocks

.. kernel-doc:: drivers/gpu/drm/amd/include/amd_shared.h
:identifiers: amd_ip_block_type amd_ip_funcs
:identifiers: amd_ip_block_type amd_ip_funcs DC_DEBUG_MASK
1 change: 1 addition & 0 deletions Documentation/gpu/amdgpu/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ Next (GCN), Radeon DNA (RDNA), and Compute DNA (CDNA) architectures.
thermal
driver-misc
debugging
process-isolation
amdgpu-glossary
59 changes: 59 additions & 0 deletions Documentation/gpu/amdgpu/process-isolation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
.. SPDX-License-Identifier: GPL-2.0

=========================
AMDGPU Process Isolation
=========================

The AMDGPU driver includes a feature that enables automatic process isolation on the graphics engine. This feature serializes access to the graphics engine and adds a cleaner shader which clears the Local Data Store (LDS) and General Purpose Registers (GPRs) between jobs. All processes using the GPU, including both graphics and compute workloads, are serialized when this feature is enabled. On GPUs that support partitionable graphics engines, this feature can be enabled on a per-partition basis.

In addition, there is an interface to manually run the cleaner shader when the use of the GPU is complete. This may be preferable in some use cases, such as a single-user system where the login manager triggers the cleaner shader when the user logs out.

Process Isolation
=================

The `run_cleaner_shader` and `enforce_isolation` sysfs interfaces allow users to manually execute the cleaner shader and control the process isolation feature, respectively.

Partition Handling
------------------

The `enforce_isolation` file in sysfs can be used to enable process isolation and automatic shader cleanup between processes. On GPUs that support graphics engine partitioning, this can be enabled per partition. The partition and its current setting (0 disabled, 1 enabled) can be read from sysfs. On GPUs that do not support graphics engine partitioning, only a single partition will be present. Writing 1 to the partition position enables enforce isolation, writing 0 disables it.

Example of enabling enforce isolation on a GPU with multiple partitions:

.. code-block:: console

$ echo 1 0 1 0 > /sys/class/drm/card0/device/enforce_isolation
$ cat /sys/class/drm/card0/device/enforce_isolation
1 0 1 0

The output indicates that enforce isolation is enabled on zeroth and second parition and disabled on first and fourth parition.

For devices with a single partition or those that do not support partitions, there will be only one element:

.. code-block:: console

$ echo 1 > /sys/class/drm/card0/device/enforce_isolation
$ cat /sys/class/drm/card0/device/enforce_isolation
1

Cleaner Shader Execution
========================

The driver can trigger a cleaner shader to clean up the LDS and GPR state on the graphics engine. When process isolation is enabled, this happens automatically between processes. In addition, there is a sysfs file to manually trigger cleaner shader execution.

To manually trigger the execution of the cleaner shader, write `0` to the `run_cleaner_shader` sysfs file:

.. code-block:: console

$ echo 0 > /sys/class/drm/card0/device/run_cleaner_shader

For multi-partition devices, you can specify the partition index when triggering the cleaner shader:

.. code-block:: console

$ echo 0 > /sys/class/drm/card0/device/run_cleaner_shader # For partition 0
$ echo 1 > /sys/class/drm/card0/device/run_cleaner_shader # For partition 1
$ echo 2 > /sys/class/drm/card0/device/run_cleaner_shader # For partition 2
# ... and so on for each partition

This command initiates the cleaner shader, which will run and complete before any new tasks are scheduled on the GPU.
2 changes: 1 addition & 1 deletion Documentation/networking/devlink/devlink-region.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ example usage
$ devlink region show [ DEV/REGION ]
$ devlink region del DEV/REGION snapshot SNAPSHOT_ID
$ devlink region dump DEV/REGION [ snapshot SNAPSHOT_ID ]
$ devlink region read DEV/REGION [ snapshot SNAPSHOT_ID ] address ADDRESS length length
$ devlink region read DEV/REGION [ snapshot SNAPSHOT_ID ] address ADDRESS length LENGTH

# Show all of the exposed regions with region sizes:
$ devlink region show
Expand Down
1 change: 1 addition & 0 deletions Documentation/userspace-api/ioctl/ioctl-number.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ Code Seq# Include File Comments
'Q' all linux/soundcard.h
'R' 00-1F linux/random.h conflict!
'R' 01 linux/rfkill.h conflict!
'R' 20-2F linux/trace_mmap.h
'R' C0-DF net/bluetooth/rfcomm.h
'R' E0 uapi/linux/fsl_mc.h
'S' all linux/cdrom.h conflict!
Expand Down
Loading