Bug#1063161: marked as done (Add amd_pmf module)

2024-06-27 Thread Debian Bug Tracking System
Your message dated Thu, 27 Jun 2024 22:10:11 +
with message-id 
and subject line Bug#1063161: fixed in linux 6.9.7-1
has caused the Debian Bug report #1063161,
regarding Add amd_pmf module
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1063161: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063161
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-amd64
Version: 6.5.10-1~bpo12+1
Severity: normal
X-Debbugs-Cc: nathan.m...@gmail.com

Hi,

AMD has introduced a feature called Power Management Framework.
See here for more info: https://www.phoronix.com/news/AMD-PMF-Linux-Driver

It seems that this module is not included in the Debian Linux Kernel.
I have found '# CONFIG_AMD_PMF is not set' for the following versions :
- linux-image-6.1.0-11-amd64_6.1.38-4
- linux-image-6.5.0-0.deb12.4-amd64_6.5.10-1~bpo12+1
- linux-image-6.6.13-amd64_6.6.13-1

Enabling this would offer better battery life for AMD Laptops (like my
Framework 13).

A bit of context:
The power-profiles-daemon software gained recently support for amd-pstate
driver, and also gained support to handle simultaneously cpu driver
(amd-pstate) and platform driver (amd-pmf).
(https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/127).
It seems that the power-profiles-daemon in unstable do not include the
commit that allows to handle both drivers at the same time.
So I've installed the power-profile-daemons for jammy from this Ubuntu PPA 
(https://launchpad.net/~superm1/+archive/ubuntu/ppd/+packages).
And when I list the existing power-profiles I get the following:

user@machine:> sudo powerprofilesctl
  performance:
CpuDriver:  amd_pstate
Degraded:   no

* balanced:
CpuDriver:  amd_pstate
PlatformDriver: placeholder

  power-saver:
CpuDriver:  amd_pstate
PlatformDriver: placeholder

This (PlatformDriver: placeholder) indicates that the AMD_PMF module is not 
included in the kernel.


Would be possible to compile it as a module in the kernel ?
There may be technical limitations that I am not aware of.

Thank your for your time,
Best regards,

Nate
-- System Information:
Debian Release: 12.4
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-0.deb12.4-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
ii  linux-image-6.5.0-0.deb12.4-amd64  6.5.10-1~bpo12+1

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

-- no debconf information
--- End Message ---
--- Begin Message ---
Source: linux
Source-Version: 6.9.7-1
Done: Salvatore Bonaccorso 

We believe that the bug you reported is fixed in the latest version of
linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1063...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso  (supplier of updated linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Thu, 27 Jun 2024 20:37:47 +0200
Source: linux
Architecture: source
Version: 6.9.7-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Kernel Team 
Changed-By: Salvatore Bonaccorso 
Closes: 1063161 1070083 1071378 1071501
Changes:
 linux (6.9.7-1) unstable; urgency=medium
 .
   * New upstream stable update:
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.9.3
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.9.4
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.9.5
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.9.6
 - [x86] cpu: Provide default cache line size if not enumerated
   (Closes: #1071378)
 - NFS: add barriers when testing for NFS_FSDATA_BLOCKED (Closes: #1071501)
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.9.7
 .
   [ Salvatore Bonaccorso ]
   * [x86] Refresh "intel-iommu: Add option to exclude 

Bug#1063161: marked as done (Add amd_pmf module)

2024-05-16 Thread Debian Bug Tracking System
Your message dated Thu, 16 May 2024 16:00:12 +
with message-id 
and subject line Bug#1063161: fixed in linux 6.8.9-1
has caused the Debian Bug report #1063161,
regarding Add amd_pmf module
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1063161: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063161
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-amd64
Version: 6.5.10-1~bpo12+1
Severity: normal
X-Debbugs-Cc: nathan.m...@gmail.com

Hi,

AMD has introduced a feature called Power Management Framework.
See here for more info: https://www.phoronix.com/news/AMD-PMF-Linux-Driver

It seems that this module is not included in the Debian Linux Kernel.
I have found '# CONFIG_AMD_PMF is not set' for the following versions :
- linux-image-6.1.0-11-amd64_6.1.38-4
- linux-image-6.5.0-0.deb12.4-amd64_6.5.10-1~bpo12+1
- linux-image-6.6.13-amd64_6.6.13-1

Enabling this would offer better battery life for AMD Laptops (like my
Framework 13).

A bit of context:
The power-profiles-daemon software gained recently support for amd-pstate
driver, and also gained support to handle simultaneously cpu driver
(amd-pstate) and platform driver (amd-pmf).
(https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/127).
It seems that the power-profiles-daemon in unstable do not include the
commit that allows to handle both drivers at the same time.
So I've installed the power-profile-daemons for jammy from this Ubuntu PPA 
(https://launchpad.net/~superm1/+archive/ubuntu/ppd/+packages).
And when I list the existing power-profiles I get the following:

user@machine:> sudo powerprofilesctl
  performance:
CpuDriver:  amd_pstate
Degraded:   no

* balanced:
CpuDriver:  amd_pstate
PlatformDriver: placeholder

  power-saver:
CpuDriver:  amd_pstate
PlatformDriver: placeholder

This (PlatformDriver: placeholder) indicates that the AMD_PMF module is not 
included in the kernel.


Would be possible to compile it as a module in the kernel ?
There may be technical limitations that I am not aware of.

Thank your for your time,
Best regards,

Nate
-- System Information:
Debian Release: 12.4
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-0.deb12.4-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
ii  linux-image-6.5.0-0.deb12.4-amd64  6.5.10-1~bpo12+1

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

-- no debconf information
--- End Message ---
--- Begin Message ---
Source: linux
Source-Version: 6.8.9-1
Done: Ben Hutchings 

We believe that the bug you reported is fixed in the latest version of
linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1063...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings  (supplier of updated linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Thu, 16 May 2024 01:42:10 +0200
Source: linux
Architecture: source
Version: 6.8.9-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Kernel Team 
Changed-By: Ben Hutchings 
Closes: 1059089 1061116 1061117 1061680 1063161 1065611
Changes:
 linux (6.8.9-1) unstable; urgency=medium
 .
   * New upstream release: https://kernelnewbies.org/Linux_6.8
   * New upstream stable update:
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.1
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.2
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.3
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.4
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.5
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.6
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.7
 https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.8