** Changed in: linux (Ubuntu Impish) Status: In Progress => Fix Committed
** Changed in: linux (Ubuntu Jammy) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.14 in Ubuntu. https://bugs.launchpad.net/bugs/1954930 Title: AMD: Suspend not working when some cores are disabled through cpufreq Status in HWE Next: New Status in linux package in Ubuntu: Fix Committed 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 Status in linux source package in Impish: Fix Committed Status in linux-oem-5.14 source package in Impish: Invalid Status in linux source package in Jammy: Fix Committed Status in linux-oem-5.14 source package in Jammy: Invalid Bug description: [SRU Justification] [Impact] Detailed in https://gitlab.freedesktop.org/drm/amd/-/issues/1708, taking some cpu cores offline using cpufreq gadgets or via sysfs may hang the system. [Fix] In v5.16-rc1 commit d6b88ce2eb9d ("ACPI: processor idle: Allow playing dead in C3 state") fixes this issue. [Test Case] As stated in aforementioned bug url, setup cpufreq extention to take down a few cpu cores, and trigger system suspend. There are ~50% chances that networking/input/... would hang and the user can only reboot by sysrq keys. [Where problems could occur] According to the patch discussion thread in https://lore.kernel.org/linux-acpi/20210922133116.102-1-richard.g...@amd.com/, the limitation to allow enter_dead in no more than ACPI_STATE_C2 might not have a practical meaning, but simply C2 was the deepest supported then. [Other Info] While this is currently only available in v5.16-rc1 and affects AMD Cezanne/Barcelo, oem-5.14/impish and jammy are nominated. ========== original bug report ========== https://gitlab.freedesktop.org/drm/amd/-/issues/1708 Reproduce steps: 1. Install cpufeq gnome extension (https://extensions.gnome.org/extension/1082/cpufreq/) 2. Click on the cpu freq extention in the top bar 3. Slide the "cores online" from 16 to 3 4. close lid of laptop Expected result: the laptop goes into suspend Actual result: the laptop stay on but screen is now always black and keyboard input is ignored Fix committed to v5.16-rc1: https://github.com/torvalds/linux/commit/d6b88ce2eb9d2698eb24451eb92c0a1649b17bb1 --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.20 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: ubuntu 1188 F.... pulseaudio /dev/snd/controlC2: ubuntu 1188 F.... pulseaudio /dev/snd/controlC0: ubuntu 1188 F.... pulseaudio CasperMD5CheckResult: skip Dependencies: DistributionChannelDescriptor: # This is the distribution channel descriptor for the OEM CDs # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor canonical-oem-somerville-focal-amd64-20200502-85+fossa-edge-staging+X152 DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2021-09-09 (97 days ago) InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 20200502-05:58 IwConfig: lo no wireless extensions. enp1s0f0 no wireless extensions. Lsusb: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 062a:4c01 MosArt Semiconductor Corp. 2.4G INPUT DEVICE Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: AMD Celadon-CZN Package: linux-firmware 1.187.23+staging.38 [origin: LP-PPA-canonical-hwe-team-linux-firmware-staging] PackageArchitecture: all ProcFB: 0 amdgpu ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.14.0-9011-oem root=UUID=668f30b7-78ec-472e-9916-c9b1cbdbbbc6 ro automatic-oem-config no_console_suspend ProcVersionSignature: Ubuntu 5.14.0-9011.11+staging.37-oem 5.14.20 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: linux-restricted-modules-5.14.0-9011-oem N/A linux-backports-modules-5.14.0-9011-oem N/A linux-firmware 1.187.23+staging.38 RfKill: Tags: third-party-packages focal Uname: Linux 5.14.0-9011-oem x86_64 UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: N/A _MarkForUpload: True dmi.bios.date: 06/30/2021 dmi.bios.release: 19.1 dmi.bios.vendor: INSYDE Corp. dmi.bios.version: RLD1005B_AB dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: Celadon-CZN dmi.board.vendor: AMD dmi.board.version: Base Board Version dmi.chassis.asset.tag: Chassis Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: Chassis Manufacturer dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnINSYDECorp.:bvrRLD1005B_AB:bd06/30/2021:br19.1:svnAMD:pnCeladon-CZN:pvr1:rvnAMD:rnCeladon-CZN:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:sku123456789: dmi.product.family: Renoir dmi.product.name: Celadon-CZN dmi.product.sku: 123456789 dmi.product.version: 1 dmi.sys.vendor: AMD To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/1954930/+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