mbox series

[0/7,SRU,Noble] Update amd-pmf for AMD strix series

Message ID 20240625064321.3302827-1-vicamo.yang@canonical.com
Headers show
Series Update amd-pmf for AMD strix series | expand

Message

You-Sheng Yang June 25, 2024, 6:43 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2058330

[Impact]

Missing AMD-PMF support for AMD Strix platforms.

[Fix]

A few commits from v6.9-rc1.

[Test Case]

And feature enabled message should appear in dmesg:

  amd-pmf AMDI0103:00: registered PMF device successfully

Access via sysfs:

  root@test:/sys/devices/platform/AMDI0103:00# cat cnqf_enable
  on

[Where problems could occur]

PMF once caused cpufreq locks or other unexpected behaviors in the past
and may take additional fix to address.

[Other Info]

While this is in v6.9-rc-1 now, Noble and OEM-6.8 will be nominated for
fix.

Shyam Sundar S K (7):
  platform/x86/amd/pmf: Differentiate PMF ACPI versions
  platform/x86/amd/pmf: Disable debugfs support for querying power
    thermals
  platform/x86/amd/pmf: Add support to get sbios requests in PMF driver
  platform/x86/amd/pmf: Add support to notify sbios heart beat event
  platform/x86/amd/pmf: Add support to get APTS index numbers for static
    slider
  platform/x86/amd/pmf: Add support to get sps default APTS index values
  platform/x86/amd/pmf: Update sps power thermals according to the
    platform-profiles

 drivers/platform/x86/amd/pmf/acpi.c | 136 +++++++++++++++++++++++++-
 drivers/platform/x86/amd/pmf/core.c |  15 ++-
 drivers/platform/x86/amd/pmf/pmf.h  |  85 ++++++++++++++++
 drivers/platform/x86/amd/pmf/sps.c  | 145 +++++++++++++++++++++++++++-
 4 files changed, 374 insertions(+), 7 deletions(-)

Comments

Manuel Diewald June 25, 2024, 2:36 p.m. UTC | #1
On Tue, Jun 25, 2024 at 02:43:14PM +0800, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2058330
> 
> [Impact]
> 
> Missing AMD-PMF support for AMD Strix platforms.
> 
> [Fix]
> 
> A few commits from v6.9-rc1.
> 
> [Test Case]
> 
> And feature enabled message should appear in dmesg:
> 
>   amd-pmf AMDI0103:00: registered PMF device successfully
> 
> Access via sysfs:
> 
>   root@test:/sys/devices/platform/AMDI0103:00# cat cnqf_enable
>   on
> 
> [Where problems could occur]
> 
> PMF once caused cpufreq locks or other unexpected behaviors in the past
> and may take additional fix to address.
> 
> [Other Info]
> 
> While this is in v6.9-rc-1 now, Noble and OEM-6.8 will be nominated for
> fix.
> 
> Shyam Sundar S K (7):
>   platform/x86/amd/pmf: Differentiate PMF ACPI versions
>   platform/x86/amd/pmf: Disable debugfs support for querying power
>     thermals
>   platform/x86/amd/pmf: Add support to get sbios requests in PMF driver
>   platform/x86/amd/pmf: Add support to notify sbios heart beat event
>   platform/x86/amd/pmf: Add support to get APTS index numbers for static
>     slider
>   platform/x86/amd/pmf: Add support to get sps default APTS index values
>   platform/x86/amd/pmf: Update sps power thermals according to the
>     platform-profiles
> 
>  drivers/platform/x86/amd/pmf/acpi.c | 136 +++++++++++++++++++++++++-
>  drivers/platform/x86/amd/pmf/core.c |  15 ++-
>  drivers/platform/x86/amd/pmf/pmf.h  |  85 ++++++++++++++++
>  drivers/platform/x86/amd/pmf/sps.c  | 145 +++++++++++++++++++++++++++-
>  4 files changed, 374 insertions(+), 7 deletions(-)
> 
> -- 
> 2.43.0
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Manuel Diewald <manuel.diewald@canonical.com>
Marcelo Henrique Cerri June 26, 2024, 4:28 a.m. UTC | #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Tue, Jun 25 2024, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2058330
>
> [Impact]
>
> Missing AMD-PMF support for AMD Strix platforms.
>
> [Fix]
>
> A few commits from v6.9-rc1.
>
> [Test Case]
>
> And feature enabled message should appear in dmesg:
>
>   amd-pmf AMDI0103:00: registered PMF device successfully
>
> Access via sysfs:
>
>   root@test:/sys/devices/platform/AMDI0103:00# cat cnqf_enable
>   on
>
> [Where problems could occur]
>
> PMF once caused cpufreq locks or other unexpected behaviors in the past
> and may take additional fix to address.
>
> [Other Info]
>
> While this is in v6.9-rc-1 now, Noble and OEM-6.8 will be nominated for
> fix.
>
> Shyam Sundar S K (7):
>   platform/x86/amd/pmf: Differentiate PMF ACPI versions
>   platform/x86/amd/pmf: Disable debugfs support for querying power
>     thermals
>   platform/x86/amd/pmf: Add support to get sbios requests in PMF driver
>   platform/x86/amd/pmf: Add support to notify sbios heart beat event
>   platform/x86/amd/pmf: Add support to get APTS index numbers for static
>     slider
>   platform/x86/amd/pmf: Add support to get sps default APTS index values
>   platform/x86/amd/pmf: Update sps power thermals according to the
>     platform-profiles
>
>  drivers/platform/x86/amd/pmf/acpi.c | 136 +++++++++++++++++++++++++-
>  drivers/platform/x86/amd/pmf/core.c |  15 ++-
>  drivers/platform/x86/amd/pmf/pmf.h  |  85 ++++++++++++++++
>  drivers/platform/x86/amd/pmf/sps.c  | 145 +++++++++++++++++++++++++++-
>  4 files changed, 374 insertions(+), 7 deletions(-)
>
> -- 
> 2.43.0

Acked-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>

- -- 
Regards,
Marcelo
-----BEGIN PGP SIGNATURE-----

iQHQBAEBCgA6FiEExJjLjAfVL0XbfEr56e82LoessAkFAmZ7mN0cHG1hcmNlbG8u
Y2VycmlAY2Fub25pY2FsLmNvbQAKCRDp7zYuh6ywCRilC/98QzYSsUgdtgcnnDaN
uQ+viqULF/o/B0SXwOO0Umwt0fXkR3Y8IG4PEtJ07Q1bodM7L8+A5Ybgg9L3gQ5O
XE/90vKTJ0gbwOlj7bLZ0YVnfeoz+6KmQyXvAYhs2kmBThPQqQVLrNC5dKXR8T/W
4p0KiAT8JnEHdNTHJdYgwcsIRspXOvUtBB7MROBaaDAEYz9onr+j20NqP15QmTPN
kr8V8RxaA9cIPhyj41LmCuB7V/z2F4EqUEJfVhd7oPMFcjC1Vlp/5bPBXZxPaxb+
p7dkjzG/nW7Kp7QWKAhTehTwqZC1aKEBqHpK9MHkF+B5oNGEUNJ6+LCGItHUNsFG
Vtq0gQEKDdCw5fqR9dNn1jsa5PgqUsdtAqbIa6pvHDU49aiAYrS7/pXE8Irn5wyq
Bqkrvij2xhZND0JEyli1/rvFAgc8yqIqe6d0RP0SY6nFvbfbYcmiTBGgi1aMlKhx
ScFH9sIhguxltsk/Iq2LDH6ARAIzL91eI/H4oEMoJg7OVbQ=
=nmAS
-----END PGP SIGNATURE-----
Stefan Bader July 4, 2024, 5:46 p.m. UTC | #3
On 25.06.24 08:43, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2058330
> 
> [Impact]
> 
> Missing AMD-PMF support for AMD Strix platforms.
> 
> [Fix]
> 
> A few commits from v6.9-rc1.
> 
> [Test Case]
> 
> And feature enabled message should appear in dmesg:
> 
>    amd-pmf AMDI0103:00: registered PMF device successfully
> 
> Access via sysfs:
> 
>    root@test:/sys/devices/platform/AMDI0103:00# cat cnqf_enable
>    on
> 
> [Where problems could occur]
> 
> PMF once caused cpufreq locks or other unexpected behaviors in the past
> and may take additional fix to address.
> 
> [Other Info]
> 
> While this is in v6.9-rc-1 now, Noble and OEM-6.8 will be nominated for
> fix.
> 
> Shyam Sundar S K (7):
>    platform/x86/amd/pmf: Differentiate PMF ACPI versions
>    platform/x86/amd/pmf: Disable debugfs support for querying power
>      thermals
>    platform/x86/amd/pmf: Add support to get sbios requests in PMF driver
>    platform/x86/amd/pmf: Add support to notify sbios heart beat event
>    platform/x86/amd/pmf: Add support to get APTS index numbers for static
>      slider
>    platform/x86/amd/pmf: Add support to get sps default APTS index values
>    platform/x86/amd/pmf: Update sps power thermals according to the
>      platform-profiles
> 
>   drivers/platform/x86/amd/pmf/acpi.c | 136 +++++++++++++++++++++++++-
>   drivers/platform/x86/amd/pmf/core.c |  15 ++-
>   drivers/platform/x86/amd/pmf/pmf.h  |  85 ++++++++++++++++
>   drivers/platform/x86/amd/pmf/sps.c  | 145 +++++++++++++++++++++++++++-
>   4 files changed, 374 insertions(+), 7 deletions(-)
> 

Applied to noble:linux/master-next. Thanks.

-Stefan