[Bug 270489] Laptop doesn't wake from suspend anymore with 13.2-RC5

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Mar 2023 22:07:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270489

--- Comment #7 from Luís Henriques <henrix@camandro.org> ---
I don't really know what's happening at the low-level here in this patch, but
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 != 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.

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