OpenBSD cvs log

created 2022-09-25T03:22:32Z
begin 2022-09-22T00:00:00Z
end 2022-09-23T00:00:00Z
path src/sys
commits 3

date 2022-09-22T04:36:37Z
author robert
files src/sys/arch/amd64/amd64/amd64errata.c log diff annotate
src/sys/arch/amd64/amd64/cpu.c log diff annotate
message Call amd64_errata() from cpu_fix_msrs() instead of identifycpu() so that
on resume, the errata is re-applied.
In addition make amd64_errata() print the information about the applied
errata only once for the first CPU.

input from jsg@ and deraadt@, ok deraadt@

date 2022-09-22T04:36:38Z
author robert
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
message Call amd64_errata() from cpu_fix_msrs() instead of identifycpu() so that
on resume, the errata is re-applied.
In addition make amd64_errata() print the information about the applied
errata only once for the first CPU.

input from jsg@ and deraadt@, ok deraadt@

date 2022-09-22T04:57:08Z
author robert
files src/sys/arch/amd64/amd64/tsc.c log diff annotate
src/sys/arch/amd64/include/cpufunc.h log diff annotate
src/sys/arch/amd64/include/timetc.h log diff annotate
message use the always serializing RDTSCP instruction in tsc and usertc if available

tweaks from cheloha@; ok deraadt@, sthen@, cheloha@