All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiang Liu <gerry@linux.alibaba.com>
To: alexander.deucher@amd.com, christian.koenig@amd.com,
	airlied@gmail.com, simona@ffwll.ch, sunil.khatri@amd.com,
	lijo.lazar@amd.com, Hawking.Zhang@amd.com,
	mario.limonciello@amd.com, xiaogang.chen@amd.com,
	Kent.Russell@amd.com, shuox.liu@linux.alibaba.com,
	amd-gfx@lists.freedesktop.org
Cc: Jiang Liu <gerry@linux.alibaba.com>
Subject: [v1 0/4] Fix a buffer overflow in drm/amdgpu/smu
Date: Fri,  7 Feb 2025 14:44:13 +0800	[thread overview]
Message-ID: <cover.1738910203.git.gerry@linux.alibaba.com> (raw)

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(-)

-- 
2.43.5


             reply	other threads:[~2025-02-07  6:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-07  6:44 Jiang Liu [this message]
2025-02-07  6:44 ` [v1 1/4] drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table() Jiang Liu
2025-02-07  7:56   ` Lazar, Lijo
2025-02-07 18:17     ` Alex Deucher
2025-02-07  6:44 ` [v1 2/4] drm/amdgpu: accumulate gfx_off_entrycount in smu_suspend() Jiang Liu
2025-02-07  8:04   ` Lazar, Lijo
2025-02-07  8:30     ` Gerry Liu
2025-02-07  8:34       ` Lazar, Lijo
2025-02-07  8:42         ` Gerry Liu
2025-02-07  6:44 ` [v1 3/4] drm/amdgpu: treat VCN as enabled if either VCN or JPEC is enabled Jiang Liu
2025-02-07  6:44 ` [v1 4/4] drm/amdgpu: minor code style enhancement for smu Jiang Liu
2025-02-07 10:37   ` Lazar, Lijo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1738910203.git.gerry@linux.alibaba.com \
    --to=gerry@linux.alibaba.com \
    --cc=Hawking.Zhang@amd.com \
    --cc=Kent.Russell@amd.com \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=lijo.lazar@amd.com \
    --cc=mario.limonciello@amd.com \
    --cc=shuox.liu@linux.alibaba.com \
    --cc=simona@ffwll.ch \
    --cc=sunil.khatri@amd.com \
    --cc=xiaogang.chen@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.