Skip to contentSkip to conversation

x86: baytrail: Correct the comment of IACORE_VIDS bit ranges

PATCH New Bin Meng 2 participants 3 messages May 24, 2018 – May 25, 2018 x86

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 x86: baytrail: Correct the comment of IACORE_VIDS bit ranges

The guaranteed vid bit ranges in IACORE_VIDS MSR is actually [22:16]. This corrects the comment for it.

---

 arch/x86/cpu/baytrail/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/cpu/baytrail/cpu.c +1 -1
index 29baf08..56e9813 100644
@@ -80,7 +80,7 @@ static void set_max_freq(void)
 	perf_ctl.lo = (msr.lo & 0x3f0000) >> 8;
 
 	/*
-	 * Set guaranteed vid [21:16] from IACORE_VIDS to bits [7:0] of
+	 * Set guaranteed vid [22:16] from IACORE_VIDS to bits [7:0] of
 	 * the PERF_CTL
 	 */
 	msr = msr_read(MSR_IACORE_VIDS);
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 x86: baytrail: Correct the comment of IACORE_VIDS bit ranges

Quoted 10 lines · Bin Meng

The guaranteed vid bit ranges in IACORE_VIDS MSR is actually [22:16]. This corrects the comment for it.

---

 arch/x86/cpu/baytrail/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
author
#2 lore raw

PATCH 1/1 x86: baytrail: Correct the comment of IACORE_VIDS bit ranges

Quoted 5 lines · Simon Glass
Quoted 4 lines · Bin Meng

The guaranteed vid bit ranges in IACORE_VIDS MSR is actually [22:16]. This corrects the comment for it.

Quoted 8 lines
Quoted 6 lines

---

 arch/x86/cpu/baytrail/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

applied to u-boot-x86, thanks!