Skip to content

Commit 6fcb41c

Browse files
lenbIngo Molnar
authored andcommitted
x86/tsc_msr: Add Airmont reference clock values
per the Intel 64 and IA-32 Architecture Software Developer's Manual... Add the reference clock for Intel Atom Processors Based on the Airmont Microarchitecture. Reported-by: Stephane Gasparini <[email protected]> Signed-off-by: Len Brown <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/abc6a0f4b18281410da1a3f26e2819d8e03e144f.1466138954.git.len.brown@intel.com Signed-off-by: Ingo Molnar <[email protected]>
1 parent 05680e7 commit 6fcb41c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arch/x86/kernel/tsc_msr.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <asm/apic.h>
1414
#include <asm/param.h>
1515

16-
#define MAX_NUM_FREQS 8
16+
#define MAX_NUM_FREQS 9
1717

1818
/*
1919
* If MSR_PERF_STAT[31] is set, the maximum resolved bus ratio can be
@@ -40,6 +40,9 @@ static struct freq_desc freq_desc_tables[] = {
4040
{ 6, 0x37, 1, { 83300, 100000, 133300, 116700, 80000, 0, 0, 0 } },
4141
/* ANN - Intel Atom processor Z3500 series */
4242
{ 6, 0x5a, 1, { 83300, 100000, 133300, 100000, 0, 0, 0, 0 } },
43+
/* AMT - Intel Atom processor X7-Z8000 and X5-Z8000 series */
44+
{ 6, 0x4c, 1, { 83300, 100000, 133300, 116700,
45+
80000, 93300, 90000, 88900, 87500 } },
4346
};
4447

4548
static int match_cpu(u8 family, u8 model)

0 commit comments

Comments
 (0)