acpi_wakeup.c (685dc743dc3b5645e34836464128e1c0558b404b) acpi_wakeup.c (ebaea1bcd2eb0aa90937637ed305184b6fedc69b)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org>
5 * Copyright (c) 2001-2012 Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
6 * Copyright (c) 2003 Peter Wemm
7 * Copyright (c) 2008-2012 Jung-uk Kim <jkim@FreeBSD.org>
8 * All rights reserved.

--- 292 unchanged lines hidden (view full) ---

301 if (vmm_resume_p != NULL)
302 vmm_resume_p();
303 intr_resume(/*suspend_cancelled*/false);
304
305 hw_ibrs_recalculate(true);
306 amd64_syscall_ret_flush_l1d_recalc();
307 hw_ssb_recalculate(true);
308 x86_rngds_mitg_recalculate(true);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org>
5 * Copyright (c) 2001-2012 Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
6 * Copyright (c) 2003 Peter Wemm
7 * Copyright (c) 2008-2012 Jung-uk Kim <jkim@FreeBSD.org>
8 * All rights reserved.

--- 292 unchanged lines hidden (view full) ---

301 if (vmm_resume_p != NULL)
302 vmm_resume_p();
303 intr_resume(/*suspend_cancelled*/false);
304
305 hw_ibrs_recalculate(true);
306 amd64_syscall_ret_flush_l1d_recalc();
307 hw_ssb_recalculate(true);
308 x86_rngds_mitg_recalculate(true);
309 zenbleed_check_and_apply(true);
309
310 AcpiSetFirmwareWakingVector(0, 0);
311 } else {
312 /* Wakeup MD procedures in interrupt enabled context */
313 if (sleep_result == 1 && mem_range_softc.mr_op != NULL &&
314 mem_range_softc.mr_op->reinit != NULL)
315 mem_range_softc.mr_op->reinit(&mem_range_softc);
316 }

--- 147 unchanged lines hidden ---
310
311 AcpiSetFirmwareWakingVector(0, 0);
312 } else {
313 /* Wakeup MD procedures in interrupt enabled context */
314 if (sleep_result == 1 && mem_range_softc.mr_op != NULL &&
315 mem_range_softc.mr_op->reinit != NULL)
316 mem_range_softc.mr_op->reinit(&mem_range_softc);
317 }

--- 147 unchanged lines hidden ---