Skip site navigation (1)Skip section navigation (2)
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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248159

            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 a=
llow
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 th=
em,
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-CUR=
RENT
(r361779).  The only (somewhat) usable error message is "acpi0: device_susp=
end
failed", followed by the system running resume functions (mostly bringing t=
he
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?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248159-227>