Don't call cpu_ucode_apply() and cpu_tsx_disable() from cpu_attach()'s
authorguenther <guenther@openbsd.org>
Sun, 18 Feb 2024 05:42:50 +0000 (05:42 +0000)
committerguenther <guenther@openbsd.org>
Sun, 18 Feb 2024 05:42:50 +0000 (05:42 +0000)
commit60cbec2cacb68beb91c1ef6537a1bac757f77966
tree4589714b59edbac4ac26062f23b21781f98d24a3
parent173b228135c3f68aa4d8194978684a9083fcdfab
Don't call cpu_ucode_apply() and cpu_tsx_disable() from cpu_attach()'s
CPU_ROLE_SP case: for cpu0 they are called earlier, from cpu_startup().
(APs call them from cpu_hatch())

ok deraadt@
sys/arch/amd64/amd64/cpu.c