Date: Wed, 22 Jul 2020 00:37:52 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 248159] mpr(4): Unable to suspend to ACPI S3 state on Ryzen platform Message-ID: <bug-248159-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248159 Bug ID: 248159 Summary: mpr(4): Unable to suspend to ACPI S3 state on Ryzen platform Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: kumba@gentoo.org It looks like the mpr(4) driver w/ an LSI/AVAGO/Broadcom SAS9300-8i won't allow an AMD Ryzen system to enter ACPI S3 state. I have on system running Ryzen on an ASUS PRIME B450M-A/CSM motherboard, and building a second system using a Gigabyte B450M DS3H motherboard. Both systems have a SAS9300-8i card in them, and I finally pinned down that removing the SAS card allowed 'acpiconf -s 3' to work and put the system to sleep. Issue is reproducible on 12.1-RELEASE-p7, 12.1-STABLE (r361761), and 13-CURRENT (r361779). The only (somewhat) usable error message is "acpi0: device_suspend failed", followed by the system running resume functions (mostly bringing the USB ports back online). Doing some looking around, it appears the culprit is....by design: /usr/src/sys/dev/mpr/mpr_pci.c:454 static int mpr_pci_suspend(device_t dev) { return (EINVAL); } Are there plans to implement mpr_pci_suspend so that this device can be put into S3 state? are here any SAS/SATA HBA drivers in FreeBSD that support suspend/resume? -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248159-227>
