[Bug 248159] mpr(4): Unable to suspend to ACPI S3 state on Ryzen platform

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 22 00:37:53 UTC 2020


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 at FreeBSD.org
          Reporter: kumba at 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.


More information about the freebsd-bugs mailing list