[Kernel-packages] [Bug 1953540] Re: Fix power button wakeup with shared IRQs on AMD platforms

2022-09-02 Thread Timo Aaltonen
included in v5.15.9

** Changed in: hwe-next
   Status: New => Fix Released

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

Title:
   Fix power button wakeup with shared IRQs on AMD platforms

Status in HWE Next:
  Fix Released
Status in linux-oem-5.14 package in Ubuntu:
  Fix Released
Status in linux-oem-5.14 source package in Focal:
  Fix Released

Bug description:
  [Impact]

  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.

  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.

  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.

  The patches were cherry-picked from 5.16rc3.

  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.

  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1953540/+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 1953540] Re: Fix power button wakeup with shared IRQs on AMD platforms

2021-12-16 Thread Alex Hung
** Changed in: linux-oem-5.14 (Ubuntu)
   Status: In Progress => Fix Released

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

Title:
   Fix power button wakeup with shared IRQs on AMD platforms

Status in HWE Next:
  New
Status in linux-oem-5.14 package in Ubuntu:
  Fix Released
Status in linux-oem-5.14 source package in Focal:
  Fix Released

Bug description:
  [Impact]

  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.

  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.

  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.

  The patches were cherry-picked from 5.16rc3.

  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.

  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1953540/+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 1953540] Re: Fix power button wakeup with shared IRQs on AMD platforms

2021-12-16 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-5.14 - 5.14.0-1011.11

---
linux-oem-5.14 (5.14.0-1011.11) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1011.11 -proposed tracker
(LP: #1954691)

  * Packaging resync (LP: #1786013)
- debian/dkms-versions -- update from kernel-versions (main/2021.11.08)

  * s2idle suspend failure: amd_pmc AMDI0005:00: SMU response timed out
(LP: #1954633)
- platform/x86: amd-pmc: Fix s2idle failures on certain AMD laptops

  *  Fix power button wakeup with shared IRQs on AMD platforms (LP: #1953540)
- ACPI: Add stubs for wakeup handler functions
- pinctrl: amd: Fix wakeups when IRQ is shared with SCI

  * alsa/hda: the microphone can't be detected on a couple of lenovo machines
(LP: #1954612)
- ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform

  * mt7921e: Failed to start WM firmware (LP: #1954300)
- SAUCE: Bluetooth: btusb: Handle download_firmware failure cases
- SAUCE: Bluetooth: btusb: Return error code when getting patch status 
failed

  * Fix cpufreq: cpufreq_online: Failed to initialize policy for cpu: 0 (-19)
(LP: #1954617)
- ACPI: CPPC: Introduce cppc_get_nominal_perf()
- ACPI: CPPC: Add NULL pointer check to cppc_get_perf()
- cpufreq: intel_pstate: hybrid: Rework HWP calibration

  * Add support for NVIDIA EC backlight (LP: #1953286)
- platform/x86: Add driver for ACPI WMAA EC-based backlight control
- platform/x86: Remove "WMAA" from identifier names in wmaa-backlight-wmi.c
- platform/x86: Rename wmaa-backlight-wmi to nvidia-wmi-ec-backlight
- [Config] NVIDIA_WMI_EC_BACKLIGHT=m

  * Let VMD follow host bridge PCIe settings (LP: #1954611)
- SAUCE: PCI: vmd: Honor ACPI _OSC on PCIe features

 -- Timo Aaltonen   Mon, 13 Dec 2021
19:41:56 +0200

** Changed in: linux-oem-5.14 (Ubuntu Focal)
   Status: In Progress => Fix Released

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

Title:
   Fix power button wakeup with shared IRQs on AMD platforms

Status in HWE Next:
  New
Status in linux-oem-5.14 package in Ubuntu:
  In Progress
Status in linux-oem-5.14 source package in Focal:
  Fix Released

Bug description:
  [Impact]

  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.

  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.

  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.

  The patches were cherry-picked from 5.16rc3.

  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.

  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1953540/+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 1953540] Re: Fix power button wakeup with shared IRQs on AMD platforms

2021-12-14 Thread Kai-Chuan Hsieh
Verify on WMVB5-DVT2-A2, BIOS 0.4.7.

1. suspend the system
2. resume the system by power button
3. system can suspend/resume multiple times successfully

Attached kernel log for reference.

** Attachment added: "suspend-success.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux-oem-5.14/+bug/1953540/+attachment/5547548/+files/suspend-success.log

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

Title:
   Fix power button wakeup with shared IRQs on AMD platforms

Status in HWE Next:
  New
Status in linux-oem-5.14 package in Ubuntu:
  In Progress
Status in linux-oem-5.14 source package in Focal:
  In Progress

Bug description:
  [Impact]

  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.

  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.

  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.

  The patches were cherry-picked from 5.16rc3.

  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.

  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1953540/+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 1953540] Re: Fix power button wakeup with shared IRQs on AMD platforms

2021-12-13 Thread Alex Hung
** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

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

Title:
   Fix power button wakeup with shared IRQs on AMD platforms

Status in HWE Next:
  New
Status in linux-oem-5.14 package in Ubuntu:
  In Progress
Status in linux-oem-5.14 source package in Focal:
  In Progress

Bug description:
  [Impact]

  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.

  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.

  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.

  The patches were cherry-picked from 5.16rc3.

  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.

  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1953540/+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 1953540] Re: Fix power button wakeup with shared IRQs on AMD platforms

2021-12-13 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-oem-5.14/5.14.0-1011.11
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-focal' to 'verification-done-focal'. If the
problem still exists, change the tag 'verification-needed-focal' to
'verification-failed-focal'.

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: verification-needed-focal

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

Title:
   Fix power button wakeup with shared IRQs on AMD platforms

Status in HWE Next:
  New
Status in linux-oem-5.14 package in Ubuntu:
  In Progress
Status in linux-oem-5.14 source package in Focal:
  In Progress

Bug description:
  [Impact]

  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.

  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.

  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.

  The patches were cherry-picked from 5.16rc3.

  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.

  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1953540/+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 1953540] Re: Fix power button wakeup with shared IRQs on AMD platforms

2021-12-10 Thread Alex Hung
** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Focal)
   Status: New => Invalid

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: hwe-next
   Importance: Undecided => Medium

** Package changed: linux (Ubuntu Focal) => linux-oem-5.14 (Ubuntu
Focal)

** Changed in: linux-oem-5.14 (Ubuntu Focal)
   Status: Invalid => In Progress

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

Title:
   Fix power button wakeup with shared IRQs on AMD platforms

Status in HWE Next:
  New
Status in linux-oem-5.14 package in Ubuntu:
  In Progress
Status in linux-oem-5.14 source package in Focal:
  In Progress

Bug description:
  [Impact]

  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.

  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.

  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.

  The patches were cherry-picked from 5.16rc3.

  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.

  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1953540/+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 1953540] Re: Fix power button wakeup with shared IRQs on AMD platforms

2021-12-07 Thread Alex Hung
** Tags added: amd oem-priority originate-from-1950332

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

Title:
   Fix power button wakeup with shared IRQs on AMD platforms

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Impact]

  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.

  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.

  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.

  The patches were cherry-picked from 5.16rc3.

  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.

  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1953540/+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 1953540] Re: Fix power button wakeup with shared IRQs on AMD platforms

2021-12-07 Thread Alex Hung
** Description changed:

  [Impact]
  
  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.
  
  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
- the the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
+ the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.
- 
  
  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.
  
  The patches were cherry-picked from 5.16rc3.
  
  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button
  
  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

** Description changed:

  [Impact]
  
  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.
  
  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.
  
  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.
  
  The patches were cherry-picked from 5.16rc3.
  
  [Test]
- This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button
+ This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.
  
  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

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

Title:
   Fix power button wakeup with shared IRQs on AMD platforms

Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Impact]

  On some platform designs the the power button wakeup from s0i3 doesn't
  work even with the existing changes to IRQ handling for the GPIO
  controller.

  In these designs the ACPI SCI and GPIO controller share an IRQ. Due to
  the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO
  controller driver doesn't get a chance to wake the system in this
  circumstance.

  [Fix]
  To fix this rework the existing IRQ handler function to function as a checker 
and an IRQ handler depending on the calling arguments.

  The patches were cherry-picked from 5.16rc3.

  [Test]
  This is requested by AMD. The test was done on two systems L15 AMD Gen2 and 
P14s AMD Gen2 and both can be waken up by power button presses.

  [Where problems could occur]
  Risk is low. This only affects AMD platforms with s0i3 enabled. 
Suspends/resumes are not affect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1953540/+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