Searched hist:"02904 a06c76be857307b78184863654b9e7b88ab" (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/amd64/acpica/ |
H A D | acpi_wakeup.c | diff 2b4b3789f877918e9e89a217d3b25d854d1a2267 Sat Mar 18 16:45:49 CET 2023 Konstantin Belousov <kib@FreeBSD.org> acpi_wakeup.c: apply the reviewer' editorial corrections to the comment text.
Fixes: 02904a06c76be857307b78184863654b9e7b88ab MFC after: 1 week Differential revision: https://reviews.freebsd.org/D39146 diff 02904a06c76be857307b78184863654b9e7b88ab Fri Mar 17 14:02:03 CET 2023 Konstantin Belousov <kib@FreeBSD.org> amd64: properly recalculate mitigations knobs after resume
Revision r333125 AKA 986c4ca38772f72 forced clear cpu_stdext_feature3 on suspend, since at that time microcode update was not reloaded early on resume. Then, revision 050f5a8405c63 started re-reading cpu_stdext_feature3 again. Since modern CPUs do not require mitigations from the Skylake era, this went unnoticed for some time.
Keep zeroing cpu_stdext_feature3 on suspend, but re-read it in more controlled way on resume after microcode is reloaded, and recalculate active workarounds based on actual microcode capabilities.
Reported and tested by: romain Reviewed by: emaste, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D39146
|
/freebsd/sys/amd64/amd64/ |
H A D | initcpu.c | diff 02904a06c76be857307b78184863654b9e7b88ab Fri Mar 17 14:02:03 CET 2023 Konstantin Belousov <kib@FreeBSD.org> amd64: properly recalculate mitigations knobs after resume
Revision r333125 AKA 986c4ca38772f72 forced clear cpu_stdext_feature3 on suspend, since at that time microcode update was not reloaded early on resume. Then, revision 050f5a8405c63 started re-reading cpu_stdext_feature3 again. Since modern CPUs do not require mitigations from the Skylake era, this went unnoticed for some time.
Keep zeroing cpu_stdext_feature3 on suspend, but re-read it in more controlled way on resume after microcode is reloaded, and recalculate active workarounds based on actual microcode capabilities.
Reported and tested by: romain Reviewed by: emaste, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D39146
|