Skip to content

Fix a buffer overflow in drm/amdgpu/smu

Jiang Liu amd-gfx 1 version Applied

Status from this message: Applied. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table()drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c+2 -12 replies
2/4drm/amdgpu: accumulate gfx_off_entrycount in smu_suspend()drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c+3 -34 replies
3/4drm/amdgpu: treat VCN as enabled if either VCN or JPEC is enableddrivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c+3 -30 replies
4/4drm/amdgpu: minor code style enhancement for smudrivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c+2 -21 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchLijo Lazar
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [v1 0/4] Fix a buffer overflow in drm/amdgpu/smu

Fix several bugs in smu subsystem:
1) a buffer overflow bug in function smu_sys_set_pp_table()
2) tune logic of is_vcn_enabled()
3) enhance handling of gfx_off_entrycount in function smu_suspend()

Jiang Liu (4):
drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table() drm/amdgpu: accumulate gfx_off_entrycount in smu_suspend() drm/amdgpu: treat VCN as enabled if either VCN or JPEC is enabled drm/amdgpu: minor code style enhancement for smu

 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c       | 17 +++++++++--------
 .../drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c    |  2 +-
 2 files changed, 10 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.5