From: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>,
Sanket.Goswami@amd.com, platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH v2 1/2] platform/x86/amd/pmc: Fix SMU command submission path on new AMD platform
Date: Fri, 23 Aug 2024 19:59:13 +0530 [thread overview]
Message-ID: <7adaddbb-ca46-4374-b0f6-55522676389b@amd.com> (raw)
In-Reply-To: <f81c0083-b096-cfe5-9137-46a3674bf3d7@linux.intel.com>
On 8/23/2024 19:49, Ilpo Järvinen wrote:
> On Thu, 22 Aug 2024, Shyam Sundar S K wrote:
>
>> The commit 426463d94d45 ("platform/x86/amd/pmc: Send OS_HINT command for
>> new AMD platform") was introduced to enable sending mailbox commands to
>> PMFW on newer platforms. However, it was later discovered that the commit
>> did not configure the correct message port ID (i.e., S2D or PMC). Without
>> this configuration, all command submissions to PMFW are treated as
>> invalid, leading to command failures.
>>
>> To address this issue, the CPU ID association for the new platform needs
>> to be added in amd_pmc_get_ip_info(). This ensures that the correct SMU
>> port IDs are selected.
>>
>> Fixes: 426463d94d45 ("platform/x86/amd/pmc: Send OS_HINT command for new AMD platform")
>> Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com>
>> Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
>> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
>> ---
>
> Hi,
>
> I've applied both of these patches to review-ilpo now. The above doesn't
> inspire much confidence though as that sounded like nothing worked with
> 426463d94d45 so it probably wasn't tested at all before sending. :-(
>
Hi Ilpo,
I apologize for the oversight. The SMU message ID was hardcoded in my
bring-up environment during testing, which is why I didn't consider
adding the CPU ID check in amd_pmc_get_ip_info().
But surely will take of this in future.
Thanks,
Shyam
prev parent reply other threads:[~2024-08-23 14:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 9:53 [PATCH v2 1/2] platform/x86/amd/pmc: Fix SMU command submission path on new AMD platform Shyam Sundar S K
2024-08-22 9:53 ` [PATCH v2 2/2] platform/x86/amd/pmc: Extend support for PMC features " Shyam Sundar S K
2024-08-22 13:00 ` Mario Limonciello
2024-08-22 9:55 ` [PATCH v2 1/2] platform/x86/amd/pmc: Fix SMU command submission path " Shyam Sundar S K
2024-08-22 13:00 ` Mario Limonciello
2024-08-23 14:19 ` Ilpo Järvinen
2024-08-23 14:29 ` Shyam Sundar S K [this message]
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=7adaddbb-ca46-4374-b0f6-55522676389b@amd.com \
--to=shyam-sundar.s-k@amd.com \
--cc=Sanket.Goswami@amd.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=platform-driver-x86@vger.kernel.org \
/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