[v3 2/2] x86/tsc: use tsc early

2017-08-11 Thread Pavel Tatashin
tsc_early_init(): Use verious methods to determine the availability of TSC feature and its frequency early in boot, and if that is possible initialize TSC and also call sched_clock_early_init() to be able to get timestamps early in boot. tsc_early_fini() Implement the finish part of early tsc

[v3 2/2] x86/tsc: use tsc early

2017-08-11 Thread Pavel Tatashin
tsc_early_init(): Use verious methods to determine the availability of TSC feature and its frequency early in boot, and if that is possible initialize TSC and also call sched_clock_early_init() to be able to get timestamps early in boot. tsc_early_fini() Implement the finish part of early tsc

[v3 2/2] x86/tsc: use tsc early

2017-08-10 Thread Pavel Tatashin
tsc_early_init(): Use verious methods to determine the availability of TSC feature and its frequency early in boot, and if that is possible initialize TSC and also call sched_clock_early_init() to be able to get timestamps early in boot. tsc_early_fini() Implement the finish part of early tsc

[v3 2/2] x86/tsc: use tsc early

2017-08-10 Thread Pavel Tatashin
tsc_early_init(): Use verious methods to determine the availability of TSC feature and its frequency early in boot, and if that is possible initialize TSC and also call sched_clock_early_init() to be able to get timestamps early in boot. tsc_early_fini() Implement the finish part of early tsc