Skip to contentSkip to conversation

x86/tsc trivial: Changes Fast TSC calibration failed from error to warning

PATCH Superseded Alexandre Demers 1 participant 1 message Aug 30, 2014 x86

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/tsc trivial: Changes Fast TSC calibration failed from error to warning

Most users see this message when booting without knowning that it is of mostly no importance and that TSC calibration may have succeeded by another way.

As explained thoroufly by Paul Bolle in 2012
(http://lkml.iu.edu//hypermail/linux/kernel/1209.3/00224.html),
"Fast TSC calibration failed" should not be considered as an error since other calibration methods are being tried afterward. At most, those send a warning if they fail (not an error). So let's change the message from error to warning.

It should also fix bug 75971: fast tsc calibration faild on ubuntu 14.04 LTS

Tested on kernel 3.17-rc2.

---
 arch/x86/kernel/tsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/tsc.c +1 -1
index b6025f9..5a22022 100644
@@ -617,7 +617,7 @@ static unsigned long quick_pit_calibrate(void)
 			goto success;
 		}
 	}
-	pr_err("Fast TSC calibration failed\n");
+	pr_warn("Fast TSC calibration failed\n");
 	return 0;
 
 success:
Signature · 1 line
2.1.0