/[packages]/updates/6/grub2/current/SOURCES/grub2-2.00-mga-Change_default_tsc_calibration_method_to_pmtimer_on_EFI.patch
ViewVC logotype

Contents of /updates/6/grub2/current/SOURCES/grub2-2.00-mga-Change_default_tsc_calibration_method_to_pmtimer_on_EFI.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1243329 - (show annotations) (download)
Thu Jul 12 23:53:42 2018 UTC (2 months ago) by barjac
File size: 1303 byte(s)
- Updates to current Cauldron patch status before 6.1 release:
- patch to fix Mga#23268
- (mageia 6: cant boot installation medium (neither usb nor dvd) on direkt-tek DTLAPY116-2)
- Patched to fix Mga#22918
- (grub2-mkrescue still searches /boot/grub for config)
- Enable translation of labels in the theme configuration file.
- Copy grub.mo rather than link
- Fixes Mga#22182 (grub.mo dangling link)
1 From 446794de8da4329ea532cbee4ca877bcafd0e534 Mon Sep 17 00:00:00 2001
2 From: "David E. Box" <david.e.box@linux.intel.com>
3 Date: Fri, 15 Sep 2017 15:37:05 -0700
4 Subject: [PATCH] tsc: Change default tsc calibration method to pmtimer on EFI
5 systems
6
7 On efi systems, make pmtimer based tsc calibration the default over the
8 pit. This prevents Grub from hanging on Intel SoC systems that power gate
9 the pit.
10
11 Signed-off-by: David E. Box <david.e.box@linux.intel.com>
12 Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
13
14 diff --git a/grub-core/kern/i386/tsc.c b/grub-core/kern/i386/tsc.c
15 index 2e85289d8..f266eb131 100644
16 --- a/grub-core/kern/i386/tsc.c
17 +++ b/grub-core/kern/i386/tsc.c
18 @@ -68,7 +68,7 @@ grub_tsc_init (void)
19 #ifdef GRUB_MACHINE_XEN
20 (void) (grub_tsc_calibrate_from_xen () || calibrate_tsc_hardcode());
21 #elif defined (GRUB_MACHINE_EFI)
22 - (void) (grub_tsc_calibrate_from_pit () || grub_tsc_calibrate_from_pmtimer () || grub_tsc_calibrate_from_efi() || calibrate_tsc_hardcode());
23 + (void) (grub_tsc_calibrate_from_pmtimer () || grub_tsc_calibrate_from_pit () || grub_tsc_calibrate_from_efi() || calibrate_tsc_hardcode());
24 #elif defined (GRUB_MACHINE_COREBOOT)
25 (void) (grub_tsc_calibrate_from_pmtimer () || grub_tsc_calibrate_from_pit () || calibrate_tsc_hardcode());
26 #else
27 --
28 2.13.7

  ViewVC Help
Powered by ViewVC 1.1.26