[Kernel-packages] [Bug 1950042] Re: Let NVMe with HMB use native power control again

2022-09-02 Thread Timo Aaltonen
** Changed in: linux (Ubuntu)
   Status: Incomplete => Fix Released

** 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/1950042

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Fix Released
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux source package in Hirsute:
  Fix Released
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Fix Released
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

2022-01-04 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.11.0-44.48

---
linux (5.11.0-44.48) hirsute; urgency=medium

  * hirsute/linux: 5.11.0-44.48 -proposed tracker (LP: #1954388)

  * Add F81966 watchdog support (LP: #1949063)
- SAUCE: watchdog: f71808e_wdt: Add F81966 support

linux (5.11.0-42.46) hirsute; urgency=medium

  * hirsute/linux: 5.11.0-42.46 -proposed tracker (LP: #1952278)

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

  * CVE-2021-4002
- hugetlbfs: flush TLBs correctly after huge_pmd_unshare

  * CVE-2021-43267
- tipc: fix size validations for the MSG_CRYPTO type

  * Hirsute update: upstream stable patchset 2021-11-24 (LP: #1952136)
- ext4: check and update i_disksize properly
- ext4: correct the error path of ext4_write_inline_data_end()
- ASoC: Intel: sof_sdw: tag SoundWire BEs as non-atomic
- HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
- netfilter: ip6_tables: zero-initialize fragment offset
- HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs
- ASoC: SOF: loader: release_firmware() on load failure to avoid batching
- netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic
- netfilter: nf_nat_masquerade: defer conntrack walk to work queue
- mac80211: Drop frames from invalid MAC address in ad-hoc mode
- m68k: Handle arrivals of multiple signals correctly
- hwmon: (ltc2947) Properly handle errors when looking for the external 
clock
- net: prevent user from passing illegal stab size
- mac80211: check return value of rhashtable_init
- vboxfs: fix broken legacy mount signature checking
- net: sun: SUNVNET_COMMON should depend on INET
- drm/amdgpu: fix gart.bo pin_count leak
- scsi: ses: Fix unsigned comparison with less than zero
- scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
- perf/core: fix userpage->time_enabled of inactive events
- sched: Always inline is_percpu_thread()
- hwmon: (pmbus/ibm-cffps) max_power_out swap changes
- ALSA: usb-audio: Unify mixer resume and reset_resume procedure
- pinctrl: qcom: sc7280: Add PM suspend callbacks
- io_uring: kill fasync
- ALSA: usb-audio: Add quirk for VF0770
- ALSA: pcm: Workaround for a wrong offset in SYNC_PTR compat ioctl
- ALSA: seq: Fix a potential UAF by wrong private_free call order
- ALSA: hda/realtek: Enable 4-speaker output for Dell Precision 5560 laptop
- ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254
- ALSA: hda/realtek: Complete partial device name to avoid ambiguity
- ALSA: hda/realtek: Add quirk for Clevo X170KM-G
- ALSA: hda/realtek - ALC236 headset MIC recording issue
- ALSA: hda/realtek: Add quirk for TongFang PHxTxX1
- ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW
- nds32/ftrace: Fix Error: invalid operands (*UND* and *UND* sections) for 
`^'
- s390: fix strrchr() implementation
- clk: socfpga: agilex: fix duplicate s2f_user0_clk
- csky: don't let sigreturn play with priveleged bits of status register
- csky: Fixup regs.sr broken in ptrace
- arm64/hugetlb: fix CMA gigantic page order for non-4K PAGE_SIZE
- drm/msm: Avoid potential overflow in timeout_to_jiffies()
- btrfs: unlock newly allocated extent buffer after error
- btrfs: deal with errors when replaying dir entry during log replay
- btrfs: deal with errors when adding inode reference during log replay
- btrfs: check for error when looking up inode during dir entry replay
- btrfs: update refs for any root except tree log roots
- btrfs: fix abort logic in btrfs_replace_file_extents
- x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails
- mei: me: add Ice Lake-N device id.
- USB: xhci: dbc: fix tty registration race
- xhci: guard accesses to ep_state in xhci_endpoint_reset()
- xhci: Fix command ring pointer corruption while aborting a command
- xhci: Enable trust tx length quirk for Fresco FL11 USB controller
- cb710: avoid NULL pointer subtraction
- efi/cper: use stack buffer for error record decoding
- efi: Change down_interruptible() in virt_efi_reset_system() to
  down_trylock()
- usb: musb: dsps: Fix the probe error path
- Input: xpad - add support for another USB ID of Nacon GC-100
- USB: serial: qcserial: add EM9191 QDL support
- USB: serial: option: add Quectel EC200S-CN module support
- USB: serial: option: add Telit LE910Cx composition 0x1204
- USB: serial: option: add prod. id for Quectel EG91
- misc: fastrpc: Add missing lock before accessing find_vma()
- EDAC/armada-xp: Fix output of uncorrectable error counter
- nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells
- x86/Kconfig: Do not enable AMD_MEM_ENCR

[Kernel-packages] [Bug 1950042] Re: Let NVMe with HMB use native power control again

2022-01-04 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.13.0-23.23

---
linux (5.13.0-23.23) impish; urgency=medium

  * impish/linux: 5.13.0-23.23 -proposed tracker (LP: #1952263)

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

  * CVE-2021-4002
- hugetlbfs: flush TLBs correctly after huge_pmd_unshare

  * [SRU][I/OEM-5.13/OEM-5.14] Add MAC passthrough support for more Lenovo docks
(LP: #1951767)
- net: usb: r8152: Add MAC passthrough support for more Lenovo Docks

  * Fix non-working e1000e device after resume (LP: #1951861)
- SAUCE: Revert "e1000e: Additional PHY power saving in S0ix"
- SAUCE: Revert "e1000e: Add polling mechanism to indicate CSME DPG exit"
- SAUCE: Revert "e1000e: Add handshake with the CSME to support S0ix"

  * CVE-2021-43267
- tipc: fix size validations for the MSG_CRYPTO type

  * Impish update: upstream stable patchset 2021-11-22 (LP: #1951880)
- ext4: check and update i_disksize properly
- ext4: correct the error path of ext4_write_inline_data_end()
- ASoC: Intel: sof_sdw: tag SoundWire BEs as non-atomic
- HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
- netfilter: ip6_tables: zero-initialize fragment offset
- HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs
- ASoC: SOF: loader: release_firmware() on load failure to avoid batching
- netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic
- netfilter: nf_nat_masquerade: defer conntrack walk to work queue
- mac80211: Drop frames from invalid MAC address in ad-hoc mode
- m68k: Handle arrivals of multiple signals correctly
- hwmon: (ltc2947) Properly handle errors when looking for the external 
clock
- net: prevent user from passing illegal stab size
- mac80211: check return value of rhashtable_init
- vboxfs: fix broken legacy mount signature checking
- net: sun: SUNVNET_COMMON should depend on INET
- drm/amdgpu: fix gart.bo pin_count leak
- scsi: ses: Fix unsigned comparison with less than zero
- scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
- perf/core: fix userpage->time_enabled of inactive events
- sched: Always inline is_percpu_thread()
- hwmon: (pmbus/ibm-cffps) max_power_out swap changes
- ALSA: usb-audio: Unify mixer resume and reset_resume procedure
- KVM: arm64: nvhe: Fix missing FORCE for hyp-reloc.S build rule
- pinctrl: qcom: sc7280: Add PM suspend callbacks
- net: bgmac-platform: handle mac-address deferral
- scsi: qla2xxx: Fix excessive messages during device logout
- io_uring: kill fasync
- upstream stable to v5.10.74, v5.14.13
- ALSA: usb-audio: Add quirk for VF0770
- ALSA: pcm: Workaround for a wrong offset in SYNC_PTR compat ioctl
- ALSA: seq: Fix a potential UAF by wrong private_free call order
- ALSA: hda/realtek: Enable 4-speaker output for Dell Precision 5560 laptop
- ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254
- ALSA: hda/realtek: Complete partial device name to avoid ambiguity
- ALSA: hda/realtek: Add quirk for Clevo X170KM-G
- ALSA: hda/realtek - ALC236 headset MIC recording issue
- ALSA: hda/realtek: Add quirk for TongFang PHxTxX1
- ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW
- nds32/ftrace: Fix Error: invalid operands (*UND* and *UND* sections) for 
`^'
- s390: fix strrchr() implementation
- clk: socfpga: agilex: fix duplicate s2f_user0_clk
- csky: don't let sigreturn play with priveleged bits of status register
- csky: Fixup regs.sr broken in ptrace
- arm64/hugetlb: fix CMA gigantic page order for non-4K PAGE_SIZE
- drm/msm: Avoid potential overflow in timeout_to_jiffies()
- btrfs: unlock newly allocated extent buffer after error
- btrfs: deal with errors when replaying dir entry during log replay
- btrfs: deal with errors when adding inode reference during log replay
- btrfs: check for error when looking up inode during dir entry replay
- btrfs: update refs for any root except tree log roots
- btrfs: fix abort logic in btrfs_replace_file_extents
- x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails
- mei: me: add Ice Lake-N device id.
- USB: xhci: dbc: fix tty registration race
- xhci: guard accesses to ep_state in xhci_endpoint_reset()
- xhci: Fix command ring pointer corruption while aborting a command
- xhci: Enable trust tx length quirk for Fresco FL11 USB controller
- cb710: avoid NULL pointer subtraction
- efi/cper: use stack buffer for error record decoding
- efi: Change down_interruptible() in virt_efi_reset_system() to
  down_trylock()
- usb: musb: dsps: Fix the probe error path
- Input: xpad - add support for another USB ID of Nacon GC-100
- U

[Kernel-packages] [Bug 1950042] Re: Let NVMe with HMB use native power control again

2021-12-08 Thread Kai-Heng Feng
Verified, thanks for the notice.

** Tags removed: verification-needed-hirsute verification-needed-impish
** Tags added: verification-done-hirsute verification-done-impish

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

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Fix Released
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux source package in Hirsute:
  Fix Committed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Fix Committed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

2021-12-08 Thread Kelsey Skunberg
Hi Kai-Heng. May you please verify this bug is fixed in the Hirsute and
Impish kernels in -proposed? Thank you!

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

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Fix Released
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux source package in Hirsute:
  Fix Committed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Fix Committed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

2021-11-30 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-5.10 - 5.10.0-1052.54

---
linux-oem-5.10 (5.10.0-1052.54) focal; urgency=medium

  * focal/linux-oem-5.10: 5.10.0-1052.54 -proposed tracker (LP:
#1949843)

  * creat09 from ubuntu_ltp_syscalls and cve-2018-13405 from ubuntu_ltp/cve
failed with XFS (LP: #1950239)
- xfs: fix up non-directory creation in SGID directories

  * 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

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

 -- Chia-Lin Kao (AceLan)   Tue, 23 Nov 2021
15:29:37 +0800

** Changed in: linux-oem-5.10 (Ubuntu Focal)
   Status: Fix Committed => 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/1950042

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Fix Released
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux source package in Hirsute:
  Fix Committed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Fix Committed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

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 b

[Kernel-packages] [Bug 1950042] Re: Let NVMe with HMB use native power control again

2021-11-29 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux/5.13.0-23.23 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-impish' to 'verification-done-impish'. If the
problem still exists, change the tag 'verification-needed-impish' to
'verification-failed-impish'.

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-impish

** Tags added: verification-needed-hirsute

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

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Fix Committed
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux-oem-5.14 source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Committed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Fix Committed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

2021-11-29 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux/5.11.0-42.46 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-hirsute' to 'verification-done-hirsute'. If the
problem still exists, change the tag 'verification-needed-hirsute' to
'verification-failed-hirsute'.

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!

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

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Fix Committed
Status in linux-oem-5.13 source package in Focal:
  Fix Released
Status in linux-oem-5.14 source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Committed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Fix Committed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

2021-11-29 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-5.13 - 5.13.0-1020.24

---
linux-oem-5.13 (5.13.0-1020.24) focal; urgency=medium

  * focal/linux-oem-5.13: 5.13.0-1020.24 -proposed tracker (LP:
#1949739)

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

  * alsa/sof: All audio jacks can't detect hotplug when only codec is suspended
(LP: #1950540)
- ASoC: SOF: Intel: hda: fix hotplug when only codec is suspended

  * 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

  [ Ubuntu: 5.13.0-22.22 ]

  * impish/linux: 5.13.0-22.22 -proposed tracker (LP: #1949740)
  * Packaging resync (LP: #1786013)
- debian/dkms-versions -- update from kernel-versions (main/2021.11.08)
  * ebpf:  bpf_redirect fails with ip6 gre interfaces (LP: #1947164)
- net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()
  * require CAP_NET_ADMIN to attach N_HCI ldisc (LP: #1949516)
- Bluetooth: hci_ldisc: require CAP_NET_ADMIN to attach N_HCI ldisc
  * CVE-2021-3744 // CVE-2021-3764
- crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()
  * ppc64 BPF JIT mod by 1 will not return 0 (LP: #1948351)
- powerpc/bpf: Fix BPF_MOD when imm == 1
  * Fix Screen freeze after resume from suspend with iGPU [1002:6987]
(LP: #1949050)
- drm/amdgpu: reenable BACO support for 699F:C7 polaris12 SKU
- drm/amdgpu: add missing cleanups for Polaris12 UVD/VCE on suspend
- drm/amdgpu: Fix crash on device remove/driver unload
  * Intel I225-IT ethernet controller: igc: probe of :02:00.0 failed with
error -1 (LP: #1945576)
- igc: Remove _I_PHY_ID checking
- igc: Remove phy->type checking
  * Fail to detect audio output from external monitor (LP: #1948767)
- ALSA: hda: intel: Allow repeatedly probing on codec configuration errors
  * Drop "UBUNTU: SAUCE: cachefiles: Page leaking in
cachefiles_read_backing_file while vmscan is active" (LP: #1947709)
- Revert "UBUNTU: SAUCE: cachefiles: Page leaking in
  cachefiles_read_backing_file while vmscan is active"
  * rtw89 kernel module for Realtek 8852 wifi is missing (LP: #1945967)
- rtw89: add Realtek 802.11ax driver
- rtw89: Remove redundant check of ret after call to rtw89_mac_enable_bb_rf
- rtw89: fix return value check in rtw89_cam_send_sec_key_cmd()
- rtw89: remove unneeded semicolon
- [Config] RTW89=m
  * Impish update: upstream stable patchset 2021-11-03 (LP: #1949636)
- mm: fix uninitialized use in overcommit_policy_handler
- usb: gadget: r8a66597: fix a loop in set_feature()
- usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
- usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA
- usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
- cifs: fix incorrect check for null pointer in header_assemble
- xen/x86: fix PV trap handling on secondary processors
- usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c
- USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter
- USB: cdc-acm: fix minor-number release
- Revert "USB: bcma: Add a check for devm_gpiod_get"
- binder: make sure fd closes complete
- staging: greybus: uart: fix tty use after free
- Re-enable UAS for LaCie Rugged USB3-FW with fk quirk
- usb: dwc3: core: balance phy init and exit
- usb: core: hcd: Add support for deferring roothub registration
- USB: serial: mos7840: remove duplicated 0xac24 device ID
- USB: serial: option: add Telit LN920 compositions
- USB: serial: option: remove duplicate USB device ID
- USB: serial: option: add device id for Foxconn T99W265
- mcb: fix error handling in mcb_alloc_bus()
- erofs: fix up erofs_lookup tracepoint
- btrfs: prevent __btrfs_dump_space_info() to underflow its free space
- xhci: Set HCD flag to defer primary roothub registration
- serial: 8250: 8250_omap: Fix RX_LVL register offset
- serial: mvebu-uart: fix driver's tx_empty callback
- scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE
- drm/amd/pm: Update intermediate power state for SI
- net: hso: fix muxed tty registration
- comedi: Fix memory leak in compat_insnlist()
- afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation
- afs: Fix updating of i_blocks on file/dir extension
- platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
- enetc: Fix illegal access when reading affinity_hint
- enetc: Fix uninitialized struct dim_sample field usage
- bnxt_en: Fix TX timeout when TX ring size is set to the smallest
- net: hns3: fix change RSS 'hfunc' ineffective issue
- net: hns3: check queue id range before using
- net/smc: add missing error check in smc_clc_prfx_set(

[Kernel-packages] [Bug 1950042] Re: Let NVMe with HMB use native power control again

2021-11-23 Thread AceLan Kao
** Changed in: linux-oem-5.10 (Ubuntu Focal)
   Status: Confirmed => Fix Committed

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

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Fix Committed
Status in linux-oem-5.13 source package in Focal:
  Fix Committed
Status in linux-oem-5.14 source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Committed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Fix Committed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

2021-11-22 Thread Stefan Bader
** Changed in: linux (Ubuntu Impish)
   Status: Confirmed => Fix Committed

** Changed in: linux (Ubuntu Hirsute)
   Status: Confirmed => Fix Committed

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

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Confirmed
Status in linux-oem-5.13 source package in Focal:
  Fix Committed
Status in linux-oem-5.14 source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Committed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Fix Committed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

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

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

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Confirmed
Status in linux-oem-5.13 source package in Focal:
  Fix Committed
Status in linux-oem-5.14 source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Confirmed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Confirmed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

2021-11-10 Thread Yao Wei
Verified pass on focal that the system can enter PC10 and SLP_S0.

On 5.14.0-1007-oem:

turbostat --quiet -S --show Pkg%pc2,Pkg%pc3,Pk%pc10,CPU%LPI,SYS%LPI
rtcwake -m freeze -s 15 | tee s0ix-diag.txt

rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Thu Nov 11 01:39:29 2021
16.659672 sec
Pkg%pc2 Pkg%pc3 Pk%pc10 CPU%LPI SYS%LPI
1.5986.66   0.000.000.00

On 5.14.0-1008-oem (proposed):

turbostat --quiet -S --show Pkg%pc2,Pkg%pc3,Pk%pc10,CPU%LPI,SYS%LPI
rtcwake -m freeze -s 15 | tee s0ix-diag.txt

rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Thu Nov 11 01:53:24 2021
16.661935 sec
Pkg%pc2 Pkg%pc3 Pk%pc10 CPU%LPI SYS%LPI
0.821.9686.22   87.40   85.27


** 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/1950042

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Confirmed
Status in linux-oem-5.13 source package in Focal:
  Confirmed
Status in linux-oem-5.14 source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Confirmed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Confirmed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

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

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Confirmed
Status in linux-oem-5.13 source package in Focal:
  Confirmed
Status in linux-oem-5.14 source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Confirmed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Confirmed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1950042/+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 1950042] Re: Let NVMe with HMB use native power control again

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

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

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

** Changed in: linux-oem-5.10 (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/1950042

Title:
  Let NVMe with HMB use native power control again

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.13 package in Ubuntu:
  Invalid
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.10 source package in Focal:
  Confirmed
Status in linux-oem-5.13 source package in Focal:
  Confirmed
Status in linux-oem-5.14 source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Confirmed
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux-oem-5.13 source package in Hirsute:
  Invalid
Status in linux-oem-5.14 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  Confirmed
Status in linux-oem-5.10 source package in Impish:
  Invalid
Status in linux-oem-5.13 source package in Impish:
  Invalid
Status in linux-oem-5.14 source package in Impish:
  Invalid

Bug description:
  Impact]
  NVMe with HMB may still do DMA during suspend, so there was a commit
  that put the NVMe to PCI D3 during suspend to prevent DMA activities.
  However, this makes them consumes much more power because modern NVMe
  requires to stay at PCI D0 to make its natve power control work. 

  [Fix]
  Instead of put the NVMe to PCI D3 and reset it afterward, simply disable
  HMB and re-enable HMB, for suspend and resume respectively.

  [Test]
  On affected system, Intel SoC can only reach PC3 during suspend.
  With the SRU applied, the Intel SoC can reach PC10 and SLP_S0 and use
  significant less power.

  [Where problems could occur]
  The original approach, i.e. disable NVMe and put it to PCI D3 to prevent
  DMA activies, was just a precaution. There wasn't any case that
  indicates it happens in practice.

  This is a different approach to the same problem, which is a theoretical
  problem.

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