linux/drivers/gpu/drm/amd/pm
Denis Arefev f23e9116eb drm/amd/pm: Prevent division by zero
The user can set any speed value.
If speed is greater than UINT_MAX/8, division by zero is possible.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: c05d1c4015 ("drm/amd/swsmu: add aldebaran smu13 ip support (v3)")
Signed-off-by: Denis Arefev <arefev@swemel.ru>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2025-03-26 17:41:03 -04:00
..
inc drm/amd/pm: Add debug bit for smu pool allocation 2025-03-19 15:56:13 -04:00
legacy-dpm amdgpu/pm/legacy: fix suspend/resume issues 2025-02-25 11:43:58 -05:00
powerplay drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create() 2025-03-07 12:55:56 -05:00
swsmu drm/amd/pm: Prevent division by zero 2025-03-26 17:41:03 -04:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amdgpu: Check if CPER enabled when generating CPER 2025-02-25 11:45:12 -05:00
amdgpu_pm.c drm/amdgpu: Add amdgpu_sriov_multi_vf_mode function 2025-03-13 23:12:52 -04:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00