[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2024-04-26 Thread Roxana Nicolescu
** Changed in: linux (Ubuntu Noble)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Fix Committed
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux-oem-6.8 package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux-oem-6.8 source package in Jammy:
  Invalid
Status in linux source package in Mantic:
  Won't Fix
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux-oem-6.8 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  Fix Committed
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid
Status in linux-oem-6.8 source package in Noble:
  In Progress

Bug description:
  SRU Justification for Noble

  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  The new series of the fix has been merged into v6.9

  6d4266675279 PCI/ASPM: Update save_state when configuration changes
  64dbb2d70744 PCI/ASPM: Disable L1 before configuring L1 Substates
  c198fafa0125 PCI/ASPM: Call pci_save_ltr_state() from pci_save_pcie_state()
  17423360a27a PCI/ASPM: Save L1 PM Substates Capability for suspend/resume
  1e11b5494c3d PCI/ASPM: Move pci_save_ltr_state() to aspm.c
  f3994bba8200 PCI/ASPM: Always build aspm.c
  fa84f4435a62 PCI/ASPM: Move pci_configure_ltr() to aspm.c

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [Where the problems could occur]
  Hard to evaluate, these patches change the PCI/ASPM behavior and may lead to 
PCI devices work abnormal.

  =
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.

  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().

  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:

  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
     do that after PCIe capability is restored in pci_restore_aspm_state()
     following PCIe r6.0, sec 5.5.4.

  2) ASPM is first enabled on the upstream component and then downstream
     (this is already forced by the parent-child ordering of Linux
     Device Power Management framework).

  3) Program ASPM L1 PM substate configuration before L1 enables.

  4) Program ASPM L1 PM substate enables last after rest of the fields
     in the capability are programmed.

  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
     where these regressions happened, just in case. For the TUXEDO case
     we only skip restore if the BIOS is involved in system suspend
     (that's forcing "mem_sleep=deep" in the command line). This is to
     avoid possible power regression when the default suspend to idle is
     used, and at the same time make sure the devices continue working
     after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2024-04-10 Thread AceLan Kao
** Description changed:

  SRU Justification for Noble
  
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.
  
  [Fix]
  The new series of the fix has been merged into v6.9
  
  6d4266675279 PCI/ASPM: Update save_state when configuration changes
  64dbb2d70744 PCI/ASPM: Disable L1 before configuring L1 Substates
  c198fafa0125 PCI/ASPM: Call pci_save_ltr_state() from pci_save_pcie_state()
  17423360a27a PCI/ASPM: Save L1 PM Substates Capability for suspend/resume
  1e11b5494c3d PCI/ASPM: Move pci_save_ltr_state() to aspm.c
  f3994bba8200 PCI/ASPM: Always build aspm.c
  fa84f4435a62 PCI/ASPM: Move pci_configure_ltr() to aspm.c
  
  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~
  
  [Where the problems could occur]
+ Hard to evaluate, these patches change the PCI/ASPM behavior and may lead to 
PCI devices work abnormal.
  
  =
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.
  
  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
     do that after PCIe capability is restored in pci_restore_aspm_state()
     following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
     (this is already forced by the parent-child ordering of Linux
     Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
     in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
     where these regressions happened, just in case. For the TUXEDO case
     we only skip restore if the BIOS is involved in system suspend
     (that's forcing "mem_sleep=deep" in the command line). This is to
     avoid possible power regression when the default suspend to idle is
     used, and at the same time make sure the devices continue working
     after resume when the BIOS is involved.
  
  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~
  
  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux-oem-6.8 package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux-oem-6.8 source package in Jammy:
  Invalid
Status in linux source package in Mantic:
  Won't Fix
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux-oem-6.8 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid
Status in linux-oem-6.8 source package in Noble:
  In Progress

Bug description:
  SRU Justification for Noble

  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  The new series of the fix has been merged into v6.9

  6d4266675279 PCI/ASPM: Update save_state when configuration changes
  64dbb2d70744 PCI/ASPM: Disable L1 before configuring L1 Substates
  c198fafa0125 

[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2024-04-08 Thread AceLan Kao
** Description changed:

+ SRU Justification for Noble
+ 
+ [Impact]
+ checkbox test case, after-suspend-mediacard/sdhc-insert, failed.
+ 
+ [Fix]
+ The new series of the fix has been merged into v6.9
+ 
+ 6d4266675279 PCI/ASPM: Update save_state when configuration changes
+ 64dbb2d70744 PCI/ASPM: Disable L1 before configuring L1 Substates
+ c198fafa0125 PCI/ASPM: Call pci_save_ltr_state() from pci_save_pcie_state()
+ 17423360a27a PCI/ASPM: Save L1 PM Substates Capability for suspend/resume
+ 1e11b5494c3d PCI/ASPM: Move pci_save_ltr_state() to aspm.c
+ f3994bba8200 PCI/ASPM: Always build aspm.c
+ fa84f4435a62 PCI/ASPM: Move pci_configure_ltr() to aspm.c
+ 
+ [Test Case]
+ 1. suspend and resume.
+ 2. check if the error appears in dmesg
+ ~~~
+  pcieport :00:1c.0: pciehp: Slot(5): Card not present
+  rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
+  rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
+ ~~~
+ 
+ [Where the problems could occur]
+ 
+ =
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.
  
  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
- 
+ 
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
- 
+ 
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
- 
+ 
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
-do that after PCIe capability is restored in pci_restore_aspm_state()
-following PCIe r6.0, sec 5.5.4.
- 
+    do that after PCIe capability is restored in pci_restore_aspm_state()
+    following PCIe r6.0, sec 5.5.4.
+ 
  2) ASPM is first enabled on the upstream component and then downstream
-(this is already forced by the parent-child ordering of Linux
-Device Power Management framework).
- 
+    (this is already forced by the parent-child ordering of Linux
+    Device Power Management framework).
+ 
  3) Program ASPM L1 PM substate configuration before L1 enables.
- 
+ 
  4) Program ASPM L1 PM substate enables last after rest of the fields
-in the capability are programmed.
- 
+    in the capability are programmed.
+ 
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
-where these regressions happened, just in case. For the TUXEDO case
-we only skip restore if the BIOS is involved in system suspend
-(that's forcing "mem_sleep=deep" in the command line). This is to
-avoid possible power regression when the default suspend to idle is
-used, and at the same time make sure the devices continue working
-after resume when the BIOS is involved.
+    where these regressions happened, just in case. For the TUXEDO case
+    we only skip restore if the BIOS is involved in system suspend
+    (that's forcing "mem_sleep=deep" in the command line). This is to
+    avoid possible power regression when the default suspend to idle is
+    used, and at the same time make sure the devices continue working
+    after resume when the BIOS is involved.
  
  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
-  pcieport :00:1c.0: pciehp: Slot(5): Card not present
-  rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
-  rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
+  pcieport :00:1c.0: pciehp: Slot(5): Card not present
+  rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
+  rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~
  
  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux-oem-6.8 package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in 

[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2024-04-08 Thread AceLan Kao
** Changed in: linux-oem-6.8 (Ubuntu Noble)
   Status: New => In Progress

** Changed in: linux-oem-6.8 (Ubuntu Noble)
 Assignee: (unassigned) => AceLan Kao (acelankao)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux-oem-6.8 package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux-oem-6.8 source package in Jammy:
  Invalid
Status in linux source package in Mantic:
  Won't Fix
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux-oem-6.8 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid
Status in linux-oem-6.8 source package in Noble:
  In Progress

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2024-04-04 Thread Timo Aaltonen
** Also affects: linux-oem-6.8 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux-oem-6.8 (Ubuntu Jammy)
   Status: New => Invalid

** Changed in: linux-oem-6.8 (Ubuntu Mantic)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux-oem-6.8 package in Ubuntu:
  New
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux-oem-6.8 source package in Jammy:
  Invalid
Status in linux source package in Mantic:
  Won't Fix
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux-oem-6.8 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid
Status in linux-oem-6.8 source package in Noble:
  New

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2024-03-25 Thread AceLan Kao
** Changed in: linux (Ubuntu Mantic)
   Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  Won't Fix
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2024-01-31 Thread AceLan Kao
The patch seems be accepted and will be merged to v6.9.
We'll skip this fix on Mantic as the patchset grouth and affects all PCI 
devices, and will try backporting it to Noble kernel.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2024-01-28 Thread AceLan Kao
New series of the patches https://patchwork.kernel.org/project/linux-
pci/cover/20240128233212.1139663-1-david.e@linux.intel.com/

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-12-27 Thread AceLan Kao
** Changed in: linux (Ubuntu Jammy)
   Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-12-22 Thread AceLan Kao
** Changed in: linux (Ubuntu Jammy)
 Assignee: koba (kobako) => AceLan Kao (acelankao)

** Changed in: linux (Ubuntu Mantic)
 Assignee: koba (kobako) => AceLan Kao (acelankao)

** Changed in: linux (Ubuntu Noble)
 Assignee: koba (kobako) => AceLan Kao (acelankao)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-12-22 Thread Bun K Tan
Please try this patch https://lore.kernel.org/linux-
pci/20231221011250.191599-1-david.e@linux.intel.com/ from David E
Box.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-12-05 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-6.1 - 6.1.0-1027.27

---
linux-oem-6.1 (6.1.0-1027.27) jammy; urgency=medium

  * jammy/linux-oem-6.1: 6.1.0-1027.27 -proposed tracker (LP: #2041604)

  * Packaging resync (LP: #1786013)
- [Packaging] resync git-ubuntu-log
- [Packaging] resync update-dkms-versions helper
- [Packaging] update variants

  * RTL8111EPP: Fix the network lost after resume with DASH (LP: #2043786)
- r8169: add handling DASH when DASH is disabled
- r8169: fix network lost after resume on DASH systems

  * System hang after unplug/plug DP monitor with AMD W7500 card (LP: #2042912)
- SAUCE: drm/amd/pm: Fix error of MACO flag setting code

  * Fix after-suspend-mediacard/sdhc-insert test failed (LP: #2042500)
- Revert "PCI/ASPM: Save L1 PM Substates Capability for suspend/resume"
- SAUCE: PCI/ASPM: Add back L1 PM Substate save and restore

  * Jammy update: v6.1.61 upstream stable release (LP: #2042580)
- Revert "Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5""
- KVM: x86/pmu: Truncate counter value to allowed width on write
- mmc: core: Align to common busy polling behaviour for mmc ioctls
- mmc: block: ioctl: do write error check for spi
- mmc: core: Fix error propagation for some ioctl commands
- ASoC: codecs: wcd938x: Convert to platform remove callback returning void
- ASoC: codecs: wcd938x: Simplify with dev_err_probe
- ASoC: codecs: wcd938x: fix regulator leaks on probe errors
- ASoC: codecs: wcd938x: fix runtime PM imbalance on remove
- pinctrl: qcom: lpass-lpi: fix concurrent register updates
- mcb: Return actual parsed size when reading chameleon table
- mcb-lpc: Reallocate memory region to avoid memory overlapping
- virtio_balloon: Fix endless deflation and inflation on arm64
- virtio-mmio: fix memory leak of vm_dev
- virtio-crypto: handle config changed by work queue
- virtio_pci: fix the common cfg map size
- vsock/virtio: initialize the_virtio_vsock before using VQs
- vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE
- arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399
- arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards
- mm: fix vm_brk_flags() to not bail out while holding lock
- hugetlbfs: clear resv_map pointer if mmap fails
- mm/page_alloc: correct start page when guard page debug is enabled
- mm/migrate: fix do_pages_move for compat pointers
- hugetlbfs: extend hugetlb_vma_lock to private VMAs
- maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()
- nfsd: lock_rename() needs both directories to live on the same fs
- drm/i915/pmu: Check if pmu is closed before stopping event
- drm/amd: Disable ASPM for VI w/ all Intel systems
- drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
- ARM: OMAP: timer32K: fix all kernel-doc warnings
- firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
- clk: ti: Fix missing omap4 mcbsp functional clock and aliases
- clk: ti: Fix missing omap5 mcbsp functional clock and aliases
- r8169: fix the KCSAN reported data-race in rtl_tx() while reading 
tp->cur_tx
- r8169: fix the KCSAN reported data-race in rtl_tx while reading
  TxDescArray[entry].opts1
- r8169: fix the KCSAN reported data race in rtl_rx while reading 
desc->opts1
- iavf: initialize waitqueues before starting watchdog_task
- i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
- treewide: Spelling fix in comment
- igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
- neighbour: fix various data-races
- igc: Fix ambiguity in the ethtool advertising
- net: ethernet: adi: adin1110: Fix uninitialized variable
- net: ieee802154: adf7242: Fix some potential buffer overflow in
  adf7242_stats_show()
- net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
- r8152: Increase USB control msg timeout to 5000ms as per spec
- r8152: Run the unload routine if we have errors during probe
- r8152: Cancel hw_phy_work if we have an error in probe
- r8152: Release firmware if we have an error in probe
- tcp: fix wrong RTO timeout when received SACK reneging
- gtp: uapi: fix GTPA_MAX
- gtp: fix fragmentation needed check with gso
- i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
- drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
- iavf: in iavf_down, disable queues when removing the driver
- scsi: sd: Introduce manage_shutdown device flag
- blk-throttle: check for overflow in calculate_bytes_allowed
- kasan: print the original fault addr when access invalid shadow
- io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
- iio: afe: rescale: Accept only offset channels
- iio: exynos-adc: request second interupt only when touchscreen mode is 
used
- iio: adc: xilinx-xadc: Don't clobber preset 

[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-23 Thread AceLan Kao
** Tags removed: verification-needed-jammy-linux-oem-6.1
** Tags added: verification-done-jammy-linux-oem-6.1

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-6.1 source package in Jammy:
  Fix Committed
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-20 Thread Timo Aaltonen
** Changed in: linux-oem-6.1 (Ubuntu Jammy)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-6.1 source package in Jammy:
  Fix Committed
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-20 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-oem-6.1/6.1.0-1027.27
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-jammy-linux-oem-6.1' to 'verification-done-
jammy-linux-oem-6.1'. If the problem still exists, change the tag
'verification-needed-jammy-linux-oem-6.1' to 'verification-failed-jammy-
linux-oem-6.1'.


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-jammy-linux-oem-6.1-v2 
verification-needed-jammy-linux-oem-6.1

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-20 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-6.5 - 6.5.0-1008.8

---
linux-oem-6.5 (6.5.0-1008.8) jammy; urgency=medium

  * jammy/linux-oem-6.5: 6.5.0-1008.8 -proposed tracker (LP: #2041878)

  * Packaging resync (LP: #1786013)
- [Packaging] resync git-ubuntu-log
- [Packaging] resync update-dkms-versions helper

  * System hang after unplug/plug DP monitor with AMD W7500 card (LP: #2042912)
- SAUCE: drm/amd/pm: Fix error of MACO flag setting code

  * Fix after-suspend-mediacard/sdhc-insert test failed (LP: #2042500)
- SAUCE: PCI/ASPM: Add back L1 PM Substate save and restore

  * Keyboard and Touchpad Not Working in New Lenovo V15 Gen4 Laptop
(LP: #2034477)
- x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
- platform/x86: Add s2idle quirk for more Lenovo laptops

  * Fix RPL-U CPU C-state alway keep at C3 when system run PHM with idle screen
on (LP: #2042385)
- SAUCE: r8169: Add quirks to enable ASPM on Dell platforms

  * Fix system suspend problem for Cirrus CS35L41 HDA codec on HP ZBook Fury 16
G9 (LP: #2042060)
- ALSA: hda: cs35l41: Override the _DSD for HP Zbook Fury 17 G9 to correct
  boost type
- ALSA: hda: cs35l41: Use reset label to get GPIO for HP Zbook Fury 17 G9
- ALSA: hda: cs35l41: Assert reset before system suspend
- ALSA: hda: cs35l41: Assert Reset prior to de-asserting in probe and system
  resume
- ALSA: hda: cs35l41: Run boot process during resume callbacks
- ALSA: hda: cs35l41: Force a software reset after hardware reset
- ALSA: hda: cs35l41: Do not unload firmware before reset in system suspend
- ALSA: hda: cs35l41: Check CSPL state after loading firmware
- ASoC: cs35l41: Detect CSPL errors when sending CSPL commands

  * Miscellaneous Ubuntu changes
- [Packaging] Add ppa2 to getabis

  [ Ubuntu: 6.5.0-13.13 ]

  * mantic/linux: 6.5.0-13.13 -proposed tracker (LP: #2042652)
  * arm64 atomic issues cause disk corruption (LP: #2042573)
- locking/atomic: scripts: fix fallback ifdeffery

  [ Ubuntu: 6.5.0-11.11 ]

  * mantic/linux: 6.5.0-11.11 -proposed tracker (LP: #2041879)
  * CVE-2023-31085
- ubi: Refuse attaching if mtd's erasesize is 0
  * CVE-2023-4244
- netfilter: nft_set_rbtree: skip sync GC for new elements in this 
transaction
  * CVE-2023-5633
- drm/vmwgfx: Keep a gem reference to user bos in surfaces
  * CVE-2023-5345
- fs/smb/client: Reset password pointer to NULL
  * CVE-2023-5090
- x86: KVM: SVM: always update the x2avic msr interception
  * Packaging resync (LP: #1786013)
- [Packaging] update helper scripts

 -- Timo Aaltonen   Fri, 10 Nov 2023
13:04:39 +0200

** Changed in: linux-oem-6.5 (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-31085

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-4244

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-5090

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-5345

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-5633

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 

[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-15 Thread Kai-Heng Feng
Not seeing the issue with the kernel in proposed#2.

** Tags removed: verification-needed-jammy-linux-oem-6.5
** Tags added: verification-done-jammy-linux-oem-6.5

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux-oem-6.5 source package in Jammy:
  Fix Committed
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-15 Thread koba
** Changed in: linux (Ubuntu Mantic)
   Status: New => In Progress

** Changed in: linux (Ubuntu Mantic)
 Assignee: (unassigned) => koba (kobako)

** Changed in: linux (Ubuntu Jammy)
   Status: New => In Progress

** Changed in: linux (Ubuntu Jammy)
 Assignee: (unassigned) => koba (kobako)

** Changed in: linux-oem-6.1 (Ubuntu Mantic)
   Status: New => Invalid

** Changed in: linux-oem-6.1 (Ubuntu Noble)
   Status: New => Invalid

** Changed in: linux-oem-6.5 (Ubuntu Mantic)
   Status: New => Invalid

** Changed in: linux-oem-6.5 (Ubuntu Noble)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  In Progress
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux-oem-6.5 source package in Jammy:
  Fix Committed
Status in linux source package in Mantic:
  In Progress
Status in linux-oem-6.1 source package in Mantic:
  Invalid
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  Invalid
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-14 Thread Timo Aaltonen
** Changed in: linux-oem-6.5 (Ubuntu Jammy)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  New
Status in linux-oem-6.5 package in Ubuntu:
  New
Status in linux source package in Jammy:
  New
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux-oem-6.5 source package in Jammy:
  Fix Committed
Status in linux source package in Mantic:
  New
Status in linux-oem-6.1 source package in Mantic:
  New
Status in linux-oem-6.5 source package in Mantic:
  New
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  New
Status in linux-oem-6.5 source package in Noble:
  New

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-13 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-oem-6.5/6.5.0-1008.8
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-jammy-linux-oem-6.5' to 'verification-done-
jammy-linux-oem-6.5'. If the problem still exists, change the tag
'verification-needed-jammy-linux-oem-6.5' to 'verification-failed-jammy-
linux-oem-6.5'.


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-jammy-linux-oem-6.5-v2 
verification-needed-jammy-linux-oem-6.5

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  New
Status in linux-oem-6.5 package in Ubuntu:
  New
Status in linux source package in Jammy:
  New
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux-oem-6.5 source package in Jammy:
  In Progress
Status in linux source package in Mantic:
  New
Status in linux-oem-6.1 source package in Mantic:
  New
Status in linux-oem-6.5 source package in Mantic:
  New
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  New
Status in linux-oem-6.5 source package in Noble:
  New

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-10 Thread Anthony Wong
** Also affects: linux (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Also affects: linux-oem-6.1 (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Also affects: linux-oem-6.5 (Ubuntu Mantic)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  New
Status in linux-oem-6.5 package in Ubuntu:
  New
Status in linux source package in Jammy:
  New
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux-oem-6.5 source package in Jammy:
  In Progress
Status in linux source package in Mantic:
  New
Status in linux-oem-6.1 source package in Mantic:
  New
Status in linux-oem-6.5 source package in Mantic:
  New
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  New
Status in linux-oem-6.5 source package in Noble:
  New

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend and resume.
  2. check if the error appears in dmesg
  ~~~
   pcieport :00:1c.0: pciehp: Slot(5): Card not present
   rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
   rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
  ~~~

  [where the issue could happen]
  low, the patch works well on the reported malfunctioned ASUS platform too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2042500/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2042500] Re: Fix after-suspend-mediacard/sdhc-insert test failed

2023-11-01 Thread koba
** Description changed:

  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.
  
  [Fix]
+ Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
+ for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
+ due to a regression that caused resume from suspend to fail on certain
+ systems. However, we never added this capability back and this is now
+ causing systems fail to enter low power CPU states, drawing more power
+ from the battery.
+ 
+ The original revert mentioned that we restore L1 PM substate configuration
+ even though ASPM L1 may already be enabled. This is due the fact that
+ the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
+ 
+ Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
+ more closely by:
+ 
+ 1) Do not restore ASPM configuration in pci_restore_pcie_state() but
+do that after PCIe capability is restored in pci_restore_aspm_state()
+following PCIe r6.0, sec 5.5.4.
+ 
+ 2) ASPM is first enabled on the upstream component and then downstream
+(this is already forced by the parent-child ordering of Linux
+Device Power Management framework).
+ 
+ 3) Program ASPM L1 PM substate configuration before L1 enables.
+ 
+ 4) Program ASPM L1 PM substate enables last after rest of the fields
+in the capability are programmed.
+ 
+ 5) Add denylist that skips restoring on the ASUS and TUXEDO systems
+where these regressions happened, just in case. For the TUXEDO case
+we only skip restore if the BIOS is involved in system suspend
+(that's forcing "mem_sleep=deep" in the command line). This is to
+avoid possible power regression when the default suspend to idle is
+used, and at the same time make sure the devices continue working
+after resume when the BIOS is involved.
  
+ [Test Case]
+ 1. suspend and resume.
+ 2. check if the error appears in dmesg
+ ~~~
+  pcieport :00:1c.0: pciehp: Slot(5): Card not present
+  rtsx_pci :05:00.0: Unable to change power state from D0 to D3hot, device 
inaccessible
+  rtsx_pci :05:00.0: Unable to change power state from D3cold to D0, 
device inaccessible
+ ~~~
  
  [where the issue could happen]
- low,
+ low, the patch works well on the reported malfunctioned ASUS platform too.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2042500

Title:
  Fix after-suspend-mediacard/sdhc-insert test failed

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  New
Status in linux-oem-6.5 package in Ubuntu:
  New
Status in linux source package in Jammy:
  New
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux-oem-6.5 source package in Jammy:
  In Progress
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.1 source package in Noble:
  New
Status in linux-oem-6.5 source package in Noble:
  New

Bug description:
  [Impact]
  checkbox test case, after-suspend-mediacard/sdhc-insert, failed.

  [Fix]
  Commit a7152be79b62 ("Revert "PCI/ASPM: Save L1 PM Substates Capability
  for suspend/resume"") reverted saving and restoring of ASPM L1 Substates
  due to a regression that caused resume from suspend to fail on certain
  systems. However, we never added this capability back and this is now
  causing systems fail to enter low power CPU states, drawing more power
  from the battery.
  
  The original revert mentioned that we restore L1 PM substate configuration
  even though ASPM L1 may already be enabled. This is due the fact that
  the pci_restore_aspm_l1ss_state() was called before pci_restore_pcie_state().
  
  Try to enable this functionality again following PCIe r6.0.1, sec 5.5.4
  more closely by:
  
  1) Do not restore ASPM configuration in pci_restore_pcie_state() but
 do that after PCIe capability is restored in pci_restore_aspm_state()
 following PCIe r6.0, sec 5.5.4.
  
  2) ASPM is first enabled on the upstream component and then downstream
 (this is already forced by the parent-child ordering of Linux
 Device Power Management framework).
  
  3) Program ASPM L1 PM substate configuration before L1 enables.
  
  4) Program ASPM L1 PM substate enables last after rest of the fields
 in the capability are programmed.
  
  5) Add denylist that skips restoring on the ASUS and TUXEDO systems
 where these regressions happened, just in case. For the TUXEDO case
 we only skip restore if the BIOS is involved in system suspend
 (that's forcing "mem_sleep=deep" in the command line). This is to
 avoid possible power regression when the default suspend to idle is
 used, and at the same time make sure the devices continue working
 after resume when the BIOS is involved.

  [Test Case]
  1. suspend