Hi Paul, Let's have a look.
ubuntu-noble$ git log --grep "thermal: core: Change PM notifier priority to the minimum" origin/master-next commit 80123fe6fcc3f72ee6fbe7bc6c64043b9e4c91e1 Author: Rafael J. Wysocki <rafael.j.wyso...@intel.com> Date: Fri Jun 14 17:26:00 2024 +0200 thermal: core: Change PM notifier priority to the minimum BugLink: https://bugs.launchpad.net/bugs/2075154 commit 494c7d055081da066424706b28faa9a4c719d852 upstream. It is reported that commit 5a5efdaffda5 ("thermal: core: Resume thermal zones asynchronously") causes battery data in sysfs on Thinkpad P1 Gen2 to become invalid after a resume from S3 (and it is necessary to reboot the machine to restore correct battery data). Some investigation into the problem indicated that it happened because, after the commit in question, the ACPI battery PM notifier ran in parallel with thermal_zone_device_resume() for one of the thermal zones which apparently confused the platform firmware on the affected system. While the exact reason for the firmware confusion remains unclear, it is arguably not particularly relevant, and the expected behavior of the affected system can be restored by making the thermal PM notifier run at the lowest priority which avoids interference between work items spawned by it and the other PM notifiers (that will run before those work items now). Fixes: 5a5efdaffda5 ("thermal: core: Resume thermal zones asynchronously") Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218881 Reported-by: fhort...@yahoo.de Tested-by: fhort...@yahoo.de Cc: 6.8+ <sta...@vger.kernel.org> # 6.8+ Signed-off-by: Rafael J. Wysocki <rafael.j.wyso...@intel.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> Signed-off-by: Manuel Diewald <manuel.diew...@canonical.com> Signed-off-by: Stefan Bader <stefan.ba...@canonical.com> Signed-off-by: Roxana Nicolescu <roxana.nicole...@canonical.com> matthew@ThinkPad-X1:~/Work/kernel/ubuntu-noble$ git describe --contains 80123fe6fcc3f72ee6fbe7bc6c64043b9e4c91e1 Ubuntu-6.8.0-44.44~1 You should be good with 6.8.0-44-generic which came out this week for 24.04. Looking at https://kernel.ubuntu.com/reports/kernel-stable-board/ still shows 6.8.0-44-generic still in -proposed for 22.04.... maybe the Kernel Team will release early next week. Thanks, Matthew ** Bug watch added: Linux Kernel Bug Tracker #218881 https://bugzilla.kernel.org/show_bug.cgi?id=218881 ** Changed in: linux-hwe-6.8 (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080635 Title: Wrong Battery Reading after Wake from S3 Sleep To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.8/+bug/2080635/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs