OpenBSD cvs log

created 2022-11-06T03:58:28Z
begin 2022-11-01T00:00:00Z
end 2022-11-02T00:00:00Z
path src/sys
commits 2

date 2022-11-01T01:01:14Z
author cheloha
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): vcpu_reset_regs_svm: allow reads of MSR_HWCR, MSR_PSTATEDEF(0)

Guests may need these MSRs to determine the TSC frequency on AMD
families 17h and 19h.

GP fault reported by weerd@, observed on "AMD EPYC 3201 8-Core Processor"
(17-01-02). Same issue observed by Jesper Wallin on "AMD Ryzen PRO 3700U".
Tested by Jesper Wallin.

Link: https://marc.info/?l=openbsd-bugs&m=166721628323483&w=2

ok mlarkin@

date 2022-11-01T13:59:00Z
author kettenis
files src/sys/arch/amd64/isa/clock.c log diff annotate
src/sys/arch/i386/isa/clock.c log diff annotate
message Use todr_attach().

ok phessler@