tsc: Change default tsc calibration method to pmtimer on EFI systems
authorDavid E. Box <david.e.box@linux.intel.com>
Fri, 15 Sep 2017 22:37:05 +0000 (15:37 -0700)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 6 Oct 2017 14:58:55 +0000 (16:58 +0200)
commit446794de8da4329ea532cbee4ca877bcafd0e534
tree6b9cb6712111d8a043a2efc3cde7e8ddb3933124
parent92bfc33db984eec22966a163eed7b6f2ab0266bf
tsc: Change default tsc calibration method to pmtimer on EFI systems

On efi systems, make pmtimer based tsc calibration the default over the
pit. This prevents Grub from hanging on Intel SoC systems that power gate
the pit.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/i386/tsc.c