From: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
To: "Limonciello, Mario" <mario.limonciello@amd.com>,
hdegoede@redhat.com, markgross@kernel.org
Cc: platform-driver-x86@vger.kernel.org, Patil.Reddy@amd.com,
bnocera@redhat.com
Subject: Re: [PATCH v2 3/4] Documentation/ABI/testing/sysfs-amd-pmf: Add ABI doc for AMD PMF
Date: Mon, 12 Sep 2022 21:51:14 +0530 [thread overview]
Message-ID: <c1560ca6-442e-2770-c2c5-60d40f6f7aba@amd.com> (raw)
In-Reply-To: <3bf7a091-5757-a4aa-6492-30ddb4b2cea5@amd.com>
Hi Mario,
On 9/12/2022 7:31 PM, Limonciello, Mario wrote:
> On 9/12/2022 04:06, Shyam Sundar S K wrote:
>> AMD PMF driver provides the flexibility to turn "on" or "off"
>> CnQF feature (introduced in the earlier patch).
>>
>> Add corresponding ABI documentation for the new sysfs node.
>>
>> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
>> ---
>> Documentation/ABI/testing/sysfs-amd-pmf | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>> create mode 100644 Documentation/ABI/testing/sysfs-amd-pmf
>>
>> diff --git a/Documentation/ABI/testing/sysfs-amd-pmf
>> b/Documentation/ABI/testing/sysfs-amd-pmf
>> new file mode 100644
>> index 000000000000..c75d7426c2c7
>> --- /dev/null
>> +++ b/Documentation/ABI/testing/sysfs-amd-pmf
>> @@ -0,0 +1,11 @@
>> +What: /sys/devices/platform/AMDI0102\:00/cnqf/feat
>
> Presumably future devices beyond AMDI0102 can possibly support this too.
>
> So maybe this should be "/sys/devices/platform/*/cnqf/feat".
Yes, but still we have not reserved a new _HID for future programs. So,
I think its OK to leave it as-is and update this file in future when
such change happens?
>
>> +Date: September 2022
>> +Contact: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
>> +Description: Reading this file tells if the AMD Platform
>> Management(PMF)
>> + Cool n Quiet Framework(CnQF) feature is enabled or not.
>> +
>> + This feature is not enabled by default and gets only turned on
>> + if OEM BIOS passes a "flag" to PMF ACPI function (index 11 or
>> 12)
>> + or in case the user writes "on".
>> +
>> + To turn off CnQF user can write "off" to the sysfs node.
>
> I think you want to have a comment here to the effect that "systems that
> support auto mode will not have this sysfs file available".
OK. Will take it in the next revision.
Thanks,
Shyam
next prev parent reply other threads:[~2022-09-12 16:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-12 9:06 [PATCH v2 0/4] platform/x86/amd/pmf: Introduce CnQF feature for AMD PMF Shyam Sundar S K
2022-09-12 9:06 ` [PATCH v2 1/4] platform/x86/amd/pmf: Add support for CnQF Shyam Sundar S K
2022-09-19 10:18 ` Hans de Goede
2022-09-19 10:33 ` Hans de Goede
2022-09-12 9:06 ` [PATCH v2 2/4] platform/x86/amd/pmf: Add sysfs to toggle CnQF Shyam Sundar S K
2022-09-12 14:06 ` Limonciello, Mario
2022-09-12 16:22 ` Shyam Sundar S K
2022-09-19 10:37 ` Hans de Goede
2022-09-12 9:06 ` [PATCH v2 3/4] Documentation/ABI/testing/sysfs-amd-pmf: Add ABI doc for AMD PMF Shyam Sundar S K
2022-09-12 14:01 ` Limonciello, Mario
2022-09-12 16:21 ` Shyam Sundar S K [this message]
2022-09-12 16:23 ` Limonciello, Mario
2022-09-12 16:34 ` Shyam Sundar S K
2022-09-12 9:06 ` [PATCH v2 4/4] MAINTAINERS: Update ABI doc path " Shyam Sundar S K
2022-09-19 10:39 ` Hans de Goede
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=c1560ca6-442e-2770-c2c5-60d40f6f7aba@amd.com \
--to=shyam-sundar.s-k@amd.com \
--cc=Patil.Reddy@amd.com \
--cc=bnocera@redhat.com \
--cc=hdegoede@redhat.com \
--cc=mario.limonciello@amd.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;
as well as URLs for NNTP newsgroup(s).