X86 platform drivers
 help / color / mirror / Atom feed
From: Mario Limonciello <mario.limonciello@amd.com>
To: Hans de Goede <hdegoede@redhat.com>,
	Shyam Sundar S K <Shyam-sundar.S-k@amd.com>,
	markgross@kernel.org
Cc: platform-driver-x86@vger.kernel.org, Patil.Reddy@amd.com
Subject: Re: [PATCH v2 1/2] platform/x86/amd/pmf: reduce verbosity of apmf_get_system_params
Date: Fri, 14 Jul 2023 12:20:50 -0500	[thread overview]
Message-ID: <72207eab-9c48-689d-8eef-deebb53b818b@amd.com> (raw)
In-Reply-To: <abba29ad-1cdb-c48e-c5b4-2cad8c7a93be@redhat.com>

On 7/14/23 12:12, Hans de Goede wrote:
> Hi,
> 
> On 7/14/23 16:44, Shyam Sundar S K wrote:
>> apmf_get_system_params() failure is not a critical event, reduce its
>> verbosity from dev_err to dev_dbg.
>>
>> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
>> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
> 
> Thank you for your patch-series, I've applied the series to my
> review-hans branch:
> https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
> 
> Note it will show up in my review-hans branch once I've pushed my
> local branch there, which might take a while.
> 
> Once I've run some tests on this branch the patches there will be
> added to the platform-drivers-x86/for-next branch and eventually
> will be included in the pdx86 pull-request to Linus for the next
> merge-window.

So this isn't a fix persay, but the function introduced by this actually
is part of the functions mentioned in the SPS bug: 
https://bugzilla.kernel.org/show_bug.cgi?id=217571

That is - that system should have exported a SPS, but it wasn't 
associated with values stored in a table parsed by the PMF driver.

The EC can still potentially react to SPS events.

So I wonder if maybe this should actually go for -fixes so that this 
system at least gets a slider.

Thanks!
> 
> Regards,
> 
> Hans
> 
> 
> 
>> ---
>> v1->v2:
>>   - Rebase to review-hans branch
>>
>>   drivers/platform/x86/amd/pmf/acpi.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/platform/x86/amd/pmf/acpi.c b/drivers/platform/x86/amd/pmf/acpi.c
>> index 081e84e116e7..732b15b392ab 100644
>> --- a/drivers/platform/x86/amd/pmf/acpi.c
>> +++ b/drivers/platform/x86/amd/pmf/acpi.c
>> @@ -289,7 +289,7 @@ int apmf_acpi_init(struct amd_pmf_dev *pmf_dev)
>>   
>>   	ret = apmf_get_system_params(pmf_dev);
>>   	if (ret) {
>> -		dev_err(pmf_dev->dev, "APMF apmf_get_system_params failed :%d\n", ret);
>> +		dev_dbg(pmf_dev->dev, "APMF apmf_get_system_params failed :%d\n", ret);
>>   		goto out;
>>   	}
>>   
> 


      reply	other threads:[~2023-07-14 17:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-14 14:44 [PATCH v2 1/2] platform/x86/amd/pmf: reduce verbosity of apmf_get_system_params Shyam Sundar S K
2023-07-14 14:44 ` [PATCH v2 2/2] platform/x86/amd/pmf: Notify OS power slider update Shyam Sundar S K
2023-07-14 17:12 ` [PATCH v2 1/2] platform/x86/amd/pmf: reduce verbosity of apmf_get_system_params Hans de Goede
2023-07-14 17:20   ` Mario Limonciello [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=72207eab-9c48-689d-8eef-deebb53b818b@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=Patil.Reddy@amd.com \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=hdegoede@redhat.com \
    --cc=markgross@kernel.org \
    --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