CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2023/04/24 03:04:03

Modified files:
        sys/arch/amd64/amd64: acpi_machdep.c cpu.c hibernate_machdep.c 

Log message:
Toggle IBT off during amd64 hibernate before dropping to real mode.

Hibernate on IBT-capable MP systems broke when trying to quiesce
cpus. Instead of finding the locations of endbr64 in the asm indirect
jumps in acpi_wakecode.S, simply disable CR4.CET beforehand and
re-enable on resume.

This will also disable shadowstack, but there are no plans to use it.

"this approach is fine" deraadt@

Reply via email to