From: Wenyou Yang <WenYou.Yang@amd.com>
To: <alexander.deucher@amd.com>, <christian.koenig@amd.com>,
<Xinhui.Pan@amd.com>, <evan.quan@amd.com>,
<mario.limonciello@amd.com>, <bp@suse.de>, <peterz@infradead.org>,
<jpoimboe@kernel.org>, <kim.phillips@amd.com>,
<tglx@linutronix.de>
Cc: <weiyuan2@amd.com>, <richardqi.liang@amd.com>, <ying.li@amd.com>,
<kunliu13@amd.com>, <gpiccoli@igalia.com>,
<amd-gfx@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>,
Wenyou Yang <WenYou.Yang@amd.com>
Subject: [PATCH v3 0/2] send message to pmfw when SMT changes
Date: Wed, 29 Mar 2023 09:51:47 +0800 [thread overview]
Message-ID: <20230329015149.870132-1-WenYou.Yang@amd.com> (raw)
When the CPU SMT changes on the fly, send the message to pmfw
to notify the SMT status changed.
Changes in v3
1./ Because it is only required for Vangogh, move registering notifier
to vangogh_ppt.c, then remove the patch 2, and the number of patches
decreased to 2.
Changes in v2:
1/. Embed the smt notifer callback into "struct smu_context" structure.
2/. Correct the PPSMC_Message_Count value.
3/. Improve several code styles and others.
Wenyou Yang (2):
cpu/smt: add a notifier to notify the SMT changes
drm/amd/pm: vangogh: send the SMT enable message to pmfw
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 5 +++
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 7 +++
.../pm/swsmu/inc/pmfw_if/smu_v11_5_ppsmc.h | 3 +-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 3 +-
.../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 43 +++++++++++++++++++
include/linux/cpu.h | 5 +++
kernel/cpu.c | 10 ++++-
7 files changed, 73 insertions(+), 3 deletions(-)
--
2.39.2
next reply other threads:[~2023-03-29 1:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-29 1:51 Wenyou Yang [this message]
2023-03-29 1:51 ` [PATCH v3 1/2] cpu/smt: add a notifier to notify the " Wenyou Yang
2023-03-29 7:10 ` Peter Zijlstra
2023-03-29 7:23 ` Yang, WenYou
2023-03-29 8:50 ` Peter Zijlstra
2023-03-29 9:43 ` Yang, WenYou
2023-03-31 5:49 ` Yang, WenYou
2023-03-31 21:52 ` Thomas Gleixner
2023-03-29 1:51 ` [PATCH v3 2/2] drm/amd/pm: vangogh: send the SMT enable message to pmfw Wenyou Yang
2023-03-29 4:18 ` Mario Limonciello
2023-03-29 7:26 ` Yang, WenYou
2023-03-29 6:15 ` Lazar, Lijo
2023-03-29 7:25 ` Yang, WenYou
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=20230329015149.870132-1-WenYou.Yang@amd.com \
--to=wenyou.yang@amd.com \
--cc=Xinhui.Pan@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=bp@suse.de \
--cc=christian.koenig@amd.com \
--cc=evan.quan@amd.com \
--cc=gpiccoli@igalia.com \
--cc=jpoimboe@kernel.org \
--cc=kim.phillips@amd.com \
--cc=kunliu13@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=peterz@infradead.org \
--cc=richardqi.liang@amd.com \
--cc=tglx@linutronix.de \
--cc=weiyuan2@amd.com \
--cc=ying.li@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®