[Kernel-packages] [Bug 1950013] Re: Add s0i3 RTC wake up for AMD systems

2022-01-17 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.15.0-17.17

---
linux (5.15.0-17.17) jammy; urgency=medium

  * jammy/linux: 5.15.0-17.17 -proposed tracker (LP: #1957809)

 -- Andrea Righi   Thu, 13 Jan 2022 17:11:21
+0100

** Changed in: linux (Ubuntu)
   Status: Incomplete => 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/1950013

Title:
  Add s0i3 RTC wake up for AMD systems

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

Bug description:
  [Impact]

    RTC based wakeup is not supported natively by the hardware for s0i3.

  [Fix]

    A firmware and driver updates were implemented. The driver passes
  wakeup time to SMU to to enable RTC from S0i3.

    Note this s0i3 RTC wake up also requires new firmware.

    The first patch is the prerequisite actual fix (patch 2 and 3).

  [Test]

    This is requested by AMD and tested by an AMD developer as below:

  Testing a suspend run with RTC for 15 seconds and then 30 seconds:
  ```
  $ sudo rtcwake --seconds 15 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:31:45 2021
  $ sudo rtcwake --seconds 30 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:33:13 2021
  $ sudo cat /sys/kernel/debug/amd_pmc/s0ix_stats
  === S0ix statistics ===
  S0ix Entry Time: 4793618285
  S0ix Exit Time: 6209036738
  Residency Time: 29487884
  ```
  Residency divided by 100 is 29.4 seconds.

  Reading idle mask works fine too.

  [Where problems could occur]

    Low risk.

    First patch only exports Idlemask value.
    The actual fix only affects a specific AMD CPU (CZN).

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950013/+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 1950013] Re: Add s0i3 RTC wake up for AMD systems

2021-11-29 Thread Alex Hung
** 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/1950013

Title:
  Add s0i3 RTC wake up for AMD systems

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

Bug description:
  [Impact]

    RTC based wakeup is not supported natively by the hardware for s0i3.

  [Fix]

    A firmware and driver updates were implemented. The driver passes
  wakeup time to SMU to to enable RTC from S0i3.

    Note this s0i3 RTC wake up also requires new firmware.

    The first patch is the prerequisite actual fix (patch 2 and 3).

  [Test]

    This is requested by AMD and tested by an AMD developer as below:

  Testing a suspend run with RTC for 15 seconds and then 30 seconds:
  ```
  $ sudo rtcwake --seconds 15 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:31:45 2021
  $ sudo rtcwake --seconds 30 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:33:13 2021
  $ sudo cat /sys/kernel/debug/amd_pmc/s0ix_stats
  === S0ix statistics ===
  S0ix Entry Time: 4793618285
  S0ix Exit Time: 6209036738
  Residency Time: 29487884
  ```
  Residency divided by 100 is 29.4 seconds.

  Reading idle mask works fine too.

  [Where problems could occur]

    Low risk.

    First patch only exports Idlemask value.
    The actual fix only affects a specific AMD CPU (CZN).

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950013/+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 1950013] Re: Add s0i3 RTC wake up for AMD systems

2021-11-29 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-5.14 - 5.14.0-1008.8

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

  * focal/linux-oem-5.14: 5.14.0-1008.8 -proposed tracker (LP: #1949844)

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

  * Let NVMe with HMB use native power control again (LP: #1950042)
- nvme-pci: use attribute group for cmb sysfs
- nvme-pci: cmb sysfs: one file, one value
- nvme-pci: disable hmb on idle suspend
- nvme: allow user toggling hmb usage

  * Add s0i3 RTC wake up for AMD systems (LP: #1950013)
- platform/x86: amd-pmc: Export Idlemask values based on the APU
- platform/x86: amd-pmc: adjust arguments for `amd_pmc_send_cmd`
- platform/x86: amd-pmc: Add special handling for timer based S0i3 wakeup

  * require CAP_NET_ADMIN to attach N_HCI ldisc (LP: #1949516)
- Bluetooth: hci_ldisc: require CAP_NET_ADMIN to attach N_HCI ldisc

  * AMD ACP 6.x DMIC Supports (LP: #1949245)
- ASoC: amd: add Yellow Carp ACP6x IP register header
- ASoC: amd: add Yellow Carp ACP PCI driver
- ASoC: amd: add acp6x init/de-init functions
- ASoC: amd: add platform devices for acp6x pdm driver and dmic driver
- ASoC: amd: add acp6x pdm platform driver
- ASoC: amd: add acp6x irq handler
- ASoC: amd: add acp6x pdm driver dma ops
- ASoC: amd: add acp6x pci driver pm ops
- ASoC: amd: add acp6x pdm driver pm ops
- ASoC: amd: enable Yellow carp acp6x drivers build
- ASoC: amd: create platform device for acp6x machine driver
- ASoC: amd: add YC machine driver using dmic
- ASoC: amd: enable Yellow Carp platform machine driver build
- [Config] Enable AMD ACP 6 DMIC Support

  * Focal update: v5.14.17 upstream stable release (LP: #1950165)
- scsi: core: Put LLD module refcnt after SCSI device is released
- sfc: Fix reading non-legacy supported link modes
- vrf: Revert "Reset skb conntrack connection..."
- media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
- Revert "xhci: Set HCD flag to defer primary roothub registration"
- Revert "usb: core: hcd: Add support for deferring roothub registration"
- drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
- drm/i915: Remove memory frequency calculation
- Revert "soc: imx: gpcv2: move reset assert after requesting domain power 
up"
- ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
- Revert "wcn36xx: Disable bmps when encryption is disabled"
- drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
- drm/amd/display: Revert "Directly retrain link from debugfs"
- Revert "drm/i915/gt: Propagate change in error status to children on 
unhold"
- ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
- ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
- Linux 5.14.17

  * Focal update: v5.14.16 upstream stable release (LP: #1950164)
- ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images
- ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
- ARM: 9134/1: remove duplicate memcpy() definition
- ARM: 9138/1: fix link warning with XIP + frame-pointer
- ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
- ARM: 9141/1: only warn about XIP address when not compile testing
- ARM: 9148/1: handle CONFIG_CPU_ENDIAN_BE32 in arch/arm/kernel/head.S
- usbnet: sanity check for maxpacket
- usbnet: fix error return code in usbnet_probe()
- Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
- pinctrl: amd: disable and mask interrupts on probe
- ata: sata_mv: Fix the error handling of mv_chip_id()
- tipc: fix size validations for the MSG_CRYPTO type
- nfc: port100: fix using -ERRNO as command type mask
- Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
- net/tls: Fix flipped sign in tls_err_abort() calls
- mmc: vub300: fix control-message timeouts
- mmc: cqhci: clear HALT state after CQE enable
- mmc: mediatek: Move cqhci init behind ungate clock
- mmc: tmio: reenable card irqs after the reset callback
- mmc: dw_mmc: exynos: fix the finding clock sample value
- mmc: sdhci: Map more voltage level to SDHCI_POWER_330
- mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield
- mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning
  circuit
- block: Fix partition check for host-aware zoned block devices
- ocfs2: fix race between searching chunks and release journal_head from
  buffer_head
- nvme-tcp: fix H2CData PDU send accounting (again)
- ftrace/nds32: Update the proto for ftrace_trace_function to match
  ftrace_stub
- cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
- cfg80211: fix management registrations locking
- net: lan78xx: fix division 

[Kernel-packages] [Bug 1950013] Re: Add s0i3 RTC wake up for AMD systems

2021-11-10 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/1950013

Title:
  Add s0i3 RTC wake up for AMD systems

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Committed

Bug description:
  [Impact]

    RTC based wakeup is not supported natively by the hardware for s0i3.

  [Fix]

    A firmware and driver updates were implemented. The driver passes
  wakeup time to SMU to to enable RTC from S0i3.

    Note this s0i3 RTC wake up also requires new firmware.

    The first patch is the prerequisite actual fix (patch 2 and 3).

  [Test]

    This is requested by AMD and tested by an AMD developer as below:

  Testing a suspend run with RTC for 15 seconds and then 30 seconds:
  ```
  $ sudo rtcwake --seconds 15 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:31:45 2021
  $ sudo rtcwake --seconds 30 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:33:13 2021
  $ sudo cat /sys/kernel/debug/amd_pmc/s0ix_stats
  === S0ix statistics ===
  S0ix Entry Time: 4793618285
  S0ix Exit Time: 6209036738
  Residency Time: 29487884
  ```
  Residency divided by 100 is 29.4 seconds.

  Reading idle mask works fine too.

  [Where problems could occur]

    Low risk.

    First patch only exports Idlemask value.
    The actual fix only affects a specific AMD CPU (CZN).

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950013/+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 1950013] Re: Add s0i3 RTC wake up for AMD systems

2021-11-10 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-oem-5.14/5.14.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-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/1950013

Title:
  Add s0i3 RTC wake up for AMD systems

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Committed

Bug description:
  [Impact]

    RTC based wakeup is not supported natively by the hardware for s0i3.

  [Fix]

    A firmware and driver updates were implemented. The driver passes
  wakeup time to SMU to to enable RTC from S0i3.

    Note this s0i3 RTC wake up also requires new firmware.

    The first patch is the prerequisite actual fix (patch 2 and 3).

  [Test]

    This is requested by AMD and tested by an AMD developer as below:

  Testing a suspend run with RTC for 15 seconds and then 30 seconds:
  ```
  $ sudo rtcwake --seconds 15 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:31:45 2021
  $ sudo rtcwake --seconds 30 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:33:13 2021
  $ sudo cat /sys/kernel/debug/amd_pmc/s0ix_stats
  === S0ix statistics ===
  S0ix Entry Time: 4793618285
  S0ix Exit Time: 6209036738
  Residency Time: 29487884
  ```
  Residency divided by 100 is 29.4 seconds.

  Reading idle mask works fine too.

  [Where problems could occur]

    Low risk.

    First patch only exports Idlemask value.
    The actual fix only affects a specific AMD CPU (CZN).

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950013/+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 1950013] Re: Add s0i3 RTC wake up for AMD systems

2021-11-10 Thread Timo Aaltonen
** Changed in: linux-oem-5.14 (Ubuntu Focal)
   Status: New => Fix Committed

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

-- 
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/1950013

Title:
  Add s0i3 RTC wake up for AMD systems

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Committed

Bug description:
  [Impact]

    RTC based wakeup is not supported natively by the hardware for s0i3.

  [Fix]

    A firmware and driver updates were implemented. The driver passes
  wakeup time to SMU to to enable RTC from S0i3.

    Note this s0i3 RTC wake up also requires new firmware.

    The first patch is the prerequisite actual fix (patch 2 and 3).

  [Test]

    This is requested by AMD and tested by an AMD developer as below:

  Testing a suspend run with RTC for 15 seconds and then 30 seconds:
  ```
  $ sudo rtcwake --seconds 15 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:31:45 2021
  $ sudo rtcwake --seconds 30 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:33:13 2021
  $ sudo cat /sys/kernel/debug/amd_pmc/s0ix_stats
  === S0ix statistics ===
  S0ix Entry Time: 4793618285
  S0ix Exit Time: 6209036738
  Residency Time: 29487884
  ```
  Residency divided by 100 is 29.4 seconds.

  Reading idle mask works fine too.

  [Where problems could occur]

    Low risk.

    First patch only exports Idlemask value.
    The actual fix only affects a specific AMD CPU (CZN).

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950013/+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 1950013] Re: Add s0i3 RTC wake up for AMD systems

2021-11-08 Thread Timo Aaltonen
also needed in jammy kernel

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

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

-- 
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/1950013

Title:
  Add s0i3 RTC wake up for AMD systems

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.14 package in Ubuntu:
  New
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  New

Bug description:
  [Impact]

    RTC based wakeup is not supported natively by the hardware for s0i3.

  [Fix]

    A firmware and driver updates were implemented. The driver passes
  wakeup time to SMU to to enable RTC from S0i3.

    Note this s0i3 RTC wake up also requires new firmware.

    The first patch is the prerequisite actual fix (patch 2 and 3).

  [Test]

    This is requested by AMD and tested by an AMD developer as below:

  Testing a suspend run with RTC for 15 seconds and then 30 seconds:
  ```
  $ sudo rtcwake --seconds 15 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:31:45 2021
  $ sudo rtcwake --seconds 30 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:33:13 2021
  $ sudo cat /sys/kernel/debug/amd_pmc/s0ix_stats
  === S0ix statistics ===
  S0ix Entry Time: 4793618285
  S0ix Exit Time: 6209036738
  Residency Time: 29487884
  ```
  Residency divided by 100 is 29.4 seconds.

  Reading idle mask works fine too.

  [Where problems could occur]

    Low risk.

    First patch only exports Idlemask value.
    The actual fix only affects a specific AMD CPU (CZN).

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950013/+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 1950013] Re: Add s0i3 RTC wake up for AMD systems

2021-11-05 Thread Alex Hung
https://lists.ubuntu.com/archives/kernel-team/2021-November/125521.html

-- 
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/1950013

Title:
  Add s0i3 RTC wake up for AMD systems

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

Bug description:
  [Impact]

    RTC based wakeup is not supported natively by the hardware for s0i3.

  [Fix]

    A firmware and driver updates were implemented. The driver passes
  wakeup time to SMU to to enable RTC from S0i3.

    Note this s0i3 RTC wake up also requires new firmware.

    The first patch is the prerequisite actual fix (patch 2 and 3).

  [Test]

    This is requested by AMD and tested by an AMD developer as below:

  Testing a suspend run with RTC for 15 seconds and then 30 seconds:
  ```
  $ sudo rtcwake --seconds 15 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:31:45 2021
  $ sudo rtcwake --seconds 30 -m mem
  rtcwake: assuming RTC uses UTC ...
  rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Nov 5 02:33:13 2021
  $ sudo cat /sys/kernel/debug/amd_pmc/s0ix_stats
  === S0ix statistics ===
  S0ix Entry Time: 4793618285
  S0ix Exit Time: 6209036738
  Residency Time: 29487884
  ```
  Residency divided by 100 is 29.4 seconds.

  Reading idle mask works fine too.

  [Where problems could occur]

    Low risk.

    First patch only exports Idlemask value.
    The actual fix only affects a specific AMD CPU (CZN).

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950013/+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