commit | 1b1472aa775d0c2dba38651f22e3f8f6469964fe | [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 | 474e14c2dd2694cacd2dd266026e2bd53c6026df [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>