Page MenuHomeFreeBSD

Handle the TSC sometimes stopping on older Intel CPUs with C2 by disabling both C2 and C3 if the TSC is used as the timecounter on these CPUs.
ClosedPublic

Authored by jhb on Jan 5 2015, 6:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 29 2024, 10:41 PM
Unknown Object (File)
Apr 29 2024, 10:15 PM
Unknown Object (File)
Apr 29 2024, 8:28 AM
Unknown Object (File)
Apr 28 2024, 5:13 AM
Unknown Object (File)
Apr 28 2024, 5:13 AM
Unknown Object (File)
Apr 19 2024, 2:42 PM
Unknown Object (File)
Dec 20 2023, 1:09 AM
Unknown Object (File)
Nov 10 2023, 12:17 PM
Subscribers
None

Details

Reviewers
jkim
jhb
Summary

PR: 192316

Test Plan

Bug submitter tested this on a laptop that reported C3 as C2 (it
seems) when power management settings were changed in the BIOS.
This does disable C2 on some systems where it would be safe, but
all newer systems have a C-state invariant TSC which are not
affected by this change.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

jhb retitled this revision from to Handle the TSC sometimes stopping on older Intel CPUs with C2 by disabling both C2 and C3 if the TSC is used as the timecounter on these CPUs..
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: jkim.
jhb updated this object.
jhb added a reviewer: jhb.
This revision is now accepted and ready to land.Jan 29 2015, 4:47 PM