[PATCH] x86, perf: Add model number for Skylake Server to perf

From: Andi Kleen
Date: Fri Apr 15 2016 - 16:25:42 EST


From: Andi Kleen <ak@xxxxxxxxxxxxxxx>

Everything the same as base Skylake, just a new model number.

Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
---
arch/x86/events/intel/core.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
index a7ec685657a5..8fddb0283111 100644
--- a/arch/x86/events/intel/core.c
+++ b/arch/x86/events/intel/core.c
@@ -3616,6 +3616,7 @@ __init int intel_pmu_init(void)

case 78: /* 14nm Skylake Mobile */
case 94: /* 14nm Skylake Desktop */
+ case 85: /* 14nm Skylake Server */
x86_pmu.late_ack = true;
memcpy(hw_cache_event_ids, skl_hw_cache_event_ids, sizeof(hw_cache_event_ids));
memcpy(hw_cache_extra_regs, skl_hw_cache_extra_regs, sizeof(hw_cache_extra_regs));
--
2.5.5