Skip to content

Commit 23645a7

Browse files
Kan LiangIngo Molnar
authored andcommitted
perf/x86/intel: Add Tiger Lake CPU support
Tiger Lake is the followon to Ice Lake. From the perspective of Intel core PMU, there is little changes compared with Ice Lake, e.g. small changes in event list. But it doesn't impact on core PMU functionality. Share the perf code with Ice Lake. The event list patch will be submitted later separately. The patch has been tested on real hardware. Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent f1857a2 commit 23645a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/x86/events/intel/core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5033,6 +5033,8 @@ __init int intel_pmu_init(void)
50335033
/* fall through */
50345034
case INTEL_FAM6_ICELAKE_L:
50355035
case INTEL_FAM6_ICELAKE:
5036+
case INTEL_FAM6_TIGERLAKE_L:
5037+
case INTEL_FAM6_TIGERLAKE:
50365038
x86_pmu.late_ack = true;
50375039
memcpy(hw_cache_event_ids, skl_hw_cache_event_ids, sizeof(hw_cache_event_ids));
50385040
memcpy(hw_cache_extra_regs, skl_hw_cache_extra_regs, sizeof(hw_cache_extra_regs));

0 commit comments

Comments
 (0)