fwts s3 test shows High Failures: last_hw_sleep less than 70% on AMD platforms

Bug #2112290 reported by AceLan Kao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
New
Undecided
Unassigned
linux-oem-6.11 (Ubuntu)
Invalid
Undecided
Unassigned
Noble
Fix Released
Undecided
AceLan Kao
linux-oem-6.14 (Ubuntu)
Invalid
Undecided
Unassigned
Noble
Fix Released
Undecided
AceLan Kao

Bug Description

[Impact]
Got the following messages while doing fwts s3 tests
    Expected /sys/power/suspend_stats/last_hw_sleep to be at least 70% of the last sleep cycle, got 66.10%. (x 1)
    Expected /sys/power/suspend_stats/last_hw_sleep to be at least 70% of the last sleep cycle, got 65.54%. (x 6)
    Expected /sys/power/suspend_stats/last_hw_sleep to be at least 70% of the last sleep cycle, got 65.64%. (x 9)
    Expected /sys/power/suspend_stats/last_hw_sleep to be at least 70% of the last sleep cycle, got 65.75%. (x 1)
    Expected /sys/power/suspend_stats/last_hw_sleep to be at least 70% of the last sleep cycle, got 65.44%. (x 3)
    Expected /sys/power/suspend_stats/last_hw_sleep to be at least 70% of the last sleep cycle, got 65.65%. (x 5)

[Fix]
AMD provides a patch to clear the smu_virt_addr table explicitly

[Test]
Runs `sudo fwts s3 --s3-multiple=10` on AMD machines, the result.log should not contain the message mentioned above.

[Where problems could occur]
Clear smu_virt_addr table explicitly during setup won't introduce any regression.

Revision history for this message
AceLan Kao (acelankao) wrote :
Changed in linux-oem-6.11 (Ubuntu Noble):
status: New → In Progress
assignee: nobody → AceLan Kao (acelankao)
AceLan Kao (acelankao)
tags: added: jira-wtn-272 oem-priority wtn
AceLan Kao (acelankao)
Changed in linux-oem-6.11 (Ubuntu):
status: New → Invalid
summary: - fwts s2 test shows High Failures: last_hw_sleep less than 70% on AMD
+ fwts s3 test shows High Failures: last_hw_sleep less than 70% on AMD
platforms
AceLan Kao (acelankao)
Changed in linux-oem-6.14 (Ubuntu Noble):
status: New → In Progress
Changed in linux-oem-6.14 (Ubuntu):
status: New → Invalid
Changed in linux-oem-6.14 (Ubuntu Noble):
assignee: nobody → AceLan Kao (acelankao)
LEE KUAN-YING (kyyc0426)
Changed in linux-oem-6.14 (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.14/6.14.0-1006.6 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux-oem-6.14' to 'verification-done-noble-linux-oem-6.14'. If the problem still exists, change the tag 'verification-needed-noble-linux-oem-6.14' to 'verification-failed-noble-linux-oem-6.14'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-oem-6.14-v2 verification-needed-noble-linux-oem-6.14
AceLan Kao (acelankao)
tags: added: verification-done-noble-linux-oem-6.14
removed: verification-needed-noble-linux-oem-6.14
LEE KUAN-YING (kyyc0426)
Changed in linux-oem-6.11 (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.11/6.11.0-1025.25 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux-oem-6.11' to 'verification-done-noble-linux-oem-6.11'. If the problem still exists, change the tag 'verification-needed-noble-linux-oem-6.11' to 'verification-failed-noble-linux-oem-6.11'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-oem-6.11-v2 verification-needed-noble-linux-oem-6.11
Revision history for this message
Leo Lin (0xff07) wrote :

Verified on GRD6-DVT-C4 with the described procedure. The DUT met all s3 criteria in fwts.

tags: added: verification-done-noble-linux-oem-6.11
removed: verification-needed-noble-linux-oem-6.11
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.7 KiB)

This bug was fixed in the package linux-oem-6.14 - 6.14.0-1006.6

---------------
linux-oem-6.14 (6.14.0-1006.6) noble; urgency=medium

  * noble/linux-oem-6.14: 6.14.0-1006.6 -proposed tracker (LP: #2114278)

  * Enable AMD ACP70/ACP71 and relevant soundwire support (LP: #2098457)
    - ASoC: amd: ps: rename structure names, variable and other macros
    - ASoC: amd: ps: add acp pci driver hw_ops for acp6.3 platform
    - ASoC: amd: ps: add callback functions for acp pci driver pm ops
    - ASoC: amd: ps: add callback to read acp pin configuration
    - ASoC: amd: ps: add soundwire dma irq thread callback
    - ASoC: amd: ps: refactor soundwire dma interrupt handling
    - ASoC: amd: ps: store acp revision id in SoundWire dma driver private
      data
    - ASoC: amd: ps: refactor soundwire dma driver code
    - ASoC: amd: ps: refactor soundwire dma interrupts enable/disable sequence
    - ASoC: amd: ps: rename acp_restore_sdw_dma_config() function
    - ASoC: amd: ps: add pci driver hw_ops for ACP7.0 & ACP7.1 variants
    - ASoC: amd: ps: add pm ops related hw_ops for ACP7.0 & ACP7.1 platforms
    - ASoC: amd: ps: add ACP7.0 & ACP7.1 specific soundwire dma driver changes
    - ASoC: amd: ps: implement function to restore dma config for ACP7.0
      platform
    - ASoC: amd: ps: add soundwire dma interrupts handling for ACP7.0 platform
    - ASoC: amd: ps: add soundwire wake interrupt handling
    - ASoC: amd: ps: update file description and copyright year
    - ASoC: amd: update Pink Sardine platform Kconfig description
    - ASoC: amd: acp: add machine driver changes for ACP7.0 and ACP7.1
      platforms
    - ASoC: amd: acp: add RT711, RT714 & RT1316 support for ACP7.0 platform
    - ASoC: amd: acp: amd-acp70-acpi-match: Add rt722 support
    - ASoC: amd: acp: amd-acp70-acpi-match: Add RT1320 & RT722 combination
      soundwire machine
    - [Config] Enable ACP70-related configs form AMD platforms
    - soundwire: amd: change the soundwire wake enable/disable sequence
    - soundwire: amd: add debug log for soundwire wake event
    - soundwire: amd: add support for ACP7.0 & ACP7.1 platforms
    - soundwire: amd: set device power state during suspend/resume sequence
    - soundwire: amd: set ACP_PME_EN during runtime suspend sequence
    - soundwire: amd: add soundwire host wake interrupt enable/disable
      sequence
    - ASoC: amd: ps: use switch statements for acp pci revision id check
    - [Config] Revert Enable ACP70-related configs form AMD platforms

  * Packaging resync (LP: #1786013)
    - [Packaging] update variants

  * [SRU] Add support for new hotkey of F9 on Thinkpad X9 (LP: #2115022)
    - platform/x86: thinkpad-acpi: Add support for new hotkey for camera
      shutter switch

  * [SRU] Do not instantiate SPD5118 sensors on i801 SMBus controllers
    (LP: #2114963)
    - i2c: smbus: introduce Write Disable-aware SPD instantiating functions
    - i2c: i801: Do not instantiate spd5118 under SPD Write Disable

  * [SRU] Add rfkill_poll callback to mt7925 driver (LP: #2114957)
    - wifi: mt76: mt7996: add macros for pci device ids
    - wifi: mt76: connac: add support to load firmware for mt7990
    - wifi: mt76: mt7996: rewo...

Read more...

Changed in linux-oem-6.14 (Ubuntu Noble):
status: Fix Committed → Fix Released
description: updated
Revision history for this message
Anthony Wong (anthonywong) wrote :

Verified on 202505-36760 with linux-oem-6.11/6.11.0-1025.25, fwts s3 --s3-multiple=10 passed without any errors.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.1 KiB)

This bug was fixed in the package linux-oem-6.11 - 6.11.0-1025.25

---------------
linux-oem-6.11 (6.11.0-1025.25) noble; urgency=medium

  * noble/linux-oem-6.11: 6.11.0-1025.25 -proposed tracker (LP: #2114304)

  * Packaging resync (LP: #1786013)
    - [Packaging] update variants

  * No IP Address assigned after hot-plugging Ethernet cable on HP Platform
    (LP: #2115393)
    - SAUCE: Revert "e1000e: change k1 configuration on MTP and later
      platforms"

  * Gnome freeze during sleepgraph testing (LP: #2115392)
    - drm/xe/sched: stop re-submitting signalled jobs

  * intel-ish-hid keeps timeout while accessing it during suspend
    (LP: #2115390)
    - SAUCE: HID: intel-ish-hid: Increase ISHTP resume ack timeout to 300ms

  * Enable the mute and mic-mute LEDs on HP Elitebook 6 laptops (LP: #2115198)
    - ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 6 G1a

  * auxiliary intel_ipu6.psys.40: deferred probe pending: (reason unknown)
    (LP: #2115083)
    - [Packaging] debian.oem/dkms-versions -- bump ipu6 version

  * Handle IOMMU IVRS entries with mismatched UID on AMD Strix or newer
    platforms (LP: #2115174)
    - iommu/amd: Allow matching ACPI HID devices without matching UIDs

  * wrong packet header size calculation (LP: #2102186)
    - [Packaging] debian.oem/dkms-versions -- bump usbio version

  * dmesg flooded with errors: amdgpu: DP AUX transfer fail:4 (LP: #2115238)
    - drm/amd/display: Correct the reply value when AUX write incomplete
    - drm/amd/display: Avoid flooding unnecessary info messages

  * Print last reset reason into kernel log on AMD Zen platforms
    (LP: #2115171)
    - i2c: piix4: Make CONFIG_I2C_PIIX4 dependent on CONFIG_X86
    - i2c: piix4, x86/platform: Move the SB800 PIIX4 FCH definitions to
      <asm/amd/fch.h>
    - platform/x86/amd/pmc: Use FCH_PM_BASE definition
    - Documentation: Add AMD Zen debugging document
    - x86/CPU/AMD: Print the reason for the last reset

  * [SRU] Add support for new hotkey of F9 on Thinkpad X9 (LP: #2115022)
    - platform/x86: thinkpad-acpi: Add support for new hotkey for camera
      shutter switch

  * HW accelerated video playback causes VCN timeout on VCN 4.0.5 (AMD Strix)
    (LP: #2112582)
    - drm/amdgpu: read back register after written for VCN v4.0.5

  * Unexpected system reboot at loading GUI session on some AMD platforms
    (LP: #2112462)
    - drm/amdgpu/hdp4: use memcfg register to post the write for HDP flush
    - drm/amdgpu/hdp5: use memcfg register to post the write for HDP flush
    - drm/amdgpu/hdp5.2: use memcfg register to post the write for HDP flush
    - drm/amdgpu/hdp6: use memcfg register to post the write for HDP flush
    - drm/amdgpu/hdp7: use memcfg register to post the write for HDP flush

  * fwts s3 test shows High Failures: last_hw_sleep less than 70% on AMD
    platforms (LP: #2112290)
    - SAUCE: platform/x86/amd: pmc: Clear metrics table at start of cycle

  * ASoC: rt1320: fix speaker noise when volume bar is 100% (LP: #2112350)
    - SAUCE: ASoC: rt1320: fix speaker noise when volume bar is 100%

  [ Ubuntu: 6.11.0-29.29 ]

  * oracular/linux: 6.11.0-29.29 -proposed tracker (LP: #2114305)
  * Packaging r...

Read more...

Changed in linux-oem-6.11 (Ubuntu Noble):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.