Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2023 22:07:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 270489] Laptop doesn't wake from suspend anymore with 13.2-RC5
Message-ID:  <bug-270489-227-bhXGnCAXSG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270489-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270489-227@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #7 from Lu=C3=ADs Henriques <henrix@camandro.org> ---
I don't really know what's happening at the low-level here in this patch, b=
ut
I've done some blind testing here's what I learned: the system wakes up from
suspend if I comment the following lines from the patch:

                ...
                identify_cpu_ext_features();
                hw_ibrs_recalculate(true);
                /*
                 * hw_ssb_recalculate(true);
                 * amd64_syscall_ret_flush_l1d_recalc();
                 * x86_rngds_mitg_recalculate(true);
                 */
                mca_resume();
                if (vmm_resume_p !=3D NULL)
                        vmm_resume_p();
                ...

If I uncomment the next line (hw_ssb_recalculate(true)) the laptop won't
wakeup.  But as I said, I've no idea why, this was just blind testing.

--=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-270489-227-bhXGnCAXSG>