commit | acc2482fd8079a062c051cfaac16054f527acab4 | [log] [tgz] |
---|---|---|
author | Christian Gmeiner <christian.gmeiner@gmail.com> | Mon May 14 11:32:17 2018 +0200 |
committer | Bin Meng <bmeng.cn@gmail.com> | Wed Jun 13 09:50:57 2018 +0800 |
tree | 30d47145cfaeb0ef3a6c8b8ca6d67ef8e0e6163d | |
parent | 7868909ed53ed41a945f7ed95ebb88aa252142ce [diff] |
x86: tsc: add support for reading CPU freq from cpuid Starting with cpuid level 0x16 (Skylake-based processors) it is possible to get CPU base freq via cpuid. This fixes booting on a skylake based system. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [bmeng: fixed wrong indention of labels] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>