Page MenuHomeFreeBSD

amd64: Call clock_init() after finishidentcpu()
AbandonedPublic

Authored by khng on Mar 4 2022, 5:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 8 2024, 2:37 PM
Unknown Object (File)
Jan 29 2024, 5:52 AM
Unknown Object (File)
Dec 23 2023, 2:31 AM
Unknown Object (File)
Dec 12 2023, 4:28 AM
Unknown Object (File)
Oct 17 2023, 11:19 AM
Unknown Object (File)
Oct 9 2023, 12:51 PM
Unknown Object (File)
Oct 9 2023, 12:51 PM
Unknown Object (File)
Jul 10 2023, 4:01 PM
Subscribers

Details

Reviewers
markj
Summary

In a subsequent commit clock_init() will attempt to determine the TSC
frequency, and this requires that CPU identification is finalized.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44656
Build 41544: arc lint + arc unit

Event Timeline

khng requested review of this revision.Mar 4 2022, 5:08 PM

In a subsequent commit clock_init() will attempt to determine the TSC frequency, and this requires that CPU identification is finalized.

Need to remove "In a subsequent commit" and change "will attempt" to "attempts".

sys/amd64/amd64/machdep.c
1456

A more conservative approach is to move the clock_init() call instead, but ok.

This revision is now accepted and ready to land.Mar 4 2022, 6:34 PM