1. 30 Jan, 2009 2 commits
    • Yasuaki Ishimatsu's avatar
      x86: unify PM-Timer messages · 39ba5d43
      Yasuaki Ishimatsu authored
      Impact: Cleans up printk formatting
      
      When LOCAL APIC was calibrated, the debug message is displayed as follows.
      
      	CPU0: Intel(R) Xeon(R) CPU            5110  @ 1.60GHz stepping 06
      	Using local APIC timer interrupts.
      	calibrating APIC timer ...
      	... lapic delta = 3773131
      	... PM timer delta = 812434
      	APIC calibration not consistent with PM Timer: 226ms instead of 100ms
      	APIC delta adjusted to PM-Timer: 1662420 (3773131)
      	TSC delta adjusted to PM-Timer: 159592409 (362220564)
      	..... delta 1662420
      	..... mult: 71411249
      	..... calibration result: 265987
      	..... CPU clock speed is 1595.0924 MHz.
      	..... host bus clock speed is 265.0987 MHz.
      
      There are three type of PM-Timer (PM-Timer, PM Timer, and PM timer),
      in this message. This patch unifies those messages to PM-Timer.
      Signed-off-by: default avatarYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      39ba5d43
    • Yasuaki Ishimatsu's avatar
      x86: fix debug message of CPU clock speed · 754ef0cd
      Yasuaki Ishimatsu authored
      Impact: Fixes incorrect printk
      
      LOCAL APIC is corrected by PM-Timer, when SMI occurred while LOCAL APIC is calibrated.
      In this case, LOCAL APIC debug message(Boot with apic=debug) is displayed correctly,
      however, CPU clock speed debug message is displayed wrongly .
      
      When SMI occured on my machine, which has 1.6GHz CPU, CPU clock speed is displayed
      3622.0205 MHz as follow.
      
      	CPU0: Intel(R) Xeon(R) CPU            5110  @ 1.60GHz stepping 06
      	Using local APIC timer interrupts.
      	calibrating APIC timer ...
      	... lapic delta = 3773130
      	... PM timer delta = 812434
      	APIC calibration not consistent with PM Timer: 226ms instead of 100ms
      	APIC delta adjusted to PM-Timer: 1662420 (3773130)
      	..... delta 1662420
      	..... mult: 71411249
      	..... calibration result: 265987
      	..... CPU clock speed is 3622.0205 MHz.  =====>  here
      	..... host bus clock speed is 265.0987 MHz.
      
      This patch fixes to displaying CPU clock speed correctly as follow.
      
      	CPU0: Intel(R) Xeon(R) CPU            5110  @ 1.60GHz stepping 06
      	Using local APIC timer interrupts.
      	calibrating APIC timer ...
      	... lapic delta = 3773131
      	... PM timer delta = 812434
      	APIC calibration not consistent with PM Timer: 226ms instead of 100ms
      	APIC delta adjusted to PM-Timer: 1662420 (3773131)
      	TSC delta adjusted to PM-Timer: 159592409 (362220564)
      	..... delta 1662420
      	..... mult: 71411249
      	..... calibration result: 265987
      	..... CPU clock speed is 1595.0924 MHz.
      	..... host bus clock speed is 265.0987 MHz.
      Signed-off-by: default avatarYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      754ef0cd
  2. 27 Jan, 2009 1 commit
  3. 26 Jan, 2009 37 commits