public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: "Yang, WenYou" <WenYou.Yang@amd.com>
Cc: "Deucher, Alexander" <Alexander.Deucher@amd.com>,
	"Koenig, Christian" <Christian.Koenig@amd.com>,
	"Pan, Xinhui" <Xinhui.Pan@amd.com>,
	"Quan, Evan" <Evan.Quan@amd.com>,
	"Limonciello, Mario" <Mario.Limonciello@amd.com>,
	bp@alien8.de, "jpoimboe@kernel.org" <jpoimboe@kernel.org>,
	"Phillips, Kim" <kim.phillips@amd.com>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	"Yuan, Perry" <Perry.Yuan@amd.com>,
	"Liang, Richard qi" <Richardqi.Liang@amd.com>,
	"Li, Ying" <YING.LI@amd.com>, "Liu, Kun" <Kun.Liu2@amd.com>,
	"gpiccoli@igalia.com" <gpiccoli@igalia.com>,
	"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 1/2] cpu/smt: add a notifier to notify the SMT changes
Date: Wed, 29 Mar 2023 10:50:23 +0200	[thread overview]
Message-ID: <20230329085023.GO4253@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <BYAPR12MB352749E2864A87C3C32B7D0FFD899@BYAPR12MB3527.namprd12.prod.outlook.com>

On Wed, Mar 29, 2023 at 07:23:29AM +0000, Yang, WenYou wrote:
> [AMD Official Use Only - General]

^^^ that has no business being in a public email.

> Hi Peter,
> 
> Thank you for your review.
> 
> The purpose of the patch set is to improve the performance when playing game for some AMD APUs with SMT enabled/disabled.
> 
> When change the SMT state on the fly through " echo on/off > /sys/devices/system/cpu/smt/control", the kernel needs to send a message to notify PMFW to adjust a variable's value, which impacts the performance.

When top posting I normally ignore the email. When not wrapping email I
typically get cranky. You 'win' *3* 'I cannot use email' trophies in a
singly try. Surely AMD has a HOWTO somewhere you can read?

So what do you want to have happen when someone goes and manually
offlines all the SMT siblings using /sys/devices/system/cpu/cpu*/online
?

I'm thinking that wants the same PMFW (whatever the heck that is)
notification change done, right?

If the answer is "yes", then your patch does not meet the goals and is
inadequate.

  reply	other threads:[~2023-03-29  8:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-29  1:51 [PATCH v3 0/2] send message to pmfw when SMT changes Wenyou Yang
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 [this message]
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=20230329085023.GO4253@hirez.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=Alexander.Deucher@amd.com \
    --cc=Christian.Koenig@amd.com \
    --cc=Evan.Quan@amd.com \
    --cc=Kun.Liu2@amd.com \
    --cc=Mario.Limonciello@amd.com \
    --cc=Perry.Yuan@amd.com \
    --cc=Richardqi.Liang@amd.com \
    --cc=WenYou.Yang@amd.com \
    --cc=Xinhui.Pan@amd.com \
    --cc=YING.LI@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=bp@alien8.de \
    --cc=gpiccoli@igalia.com \
    --cc=jpoimboe@kernel.org \
    --cc=kim.phillips@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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