Message ID | 20201029085147.742454-1-tjaalton@ubuntu.com |
---|---|
State | New |
Headers | show |
Series | [1/4] UBUNTU: SAUCE: perf/x86/intel: Add Rocket Lake CPU support | expand |
Bah, ran the wrong command and it sent the patches to the list way too early :) On 29.10.2020 10.51, Timo Aaltonen wrote: > From: Kan Liang <kan.liang@linux.intel.com> > > From the perspective of Intel PMU, Rocket Lake is the same as Ice Lake > and Tiger Lake. Share the perf code with them. > > Signed-off-by: Kan Liang <kan.liang@linux.intel.com> > Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com> > --- > 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 f1926e9f2143..fec87ff8dc5e 100644 > --- a/arch/x86/events/intel/core.c > +++ b/arch/x86/events/intel/core.c > @@ -5436,6 +5436,7 @@ __init int intel_pmu_init(void) > case INTEL_FAM6_ICELAKE: > case INTEL_FAM6_TIGERLAKE_L: > case INTEL_FAM6_TIGERLAKE: > + case INTEL_FAM6_ROCKETLAKE: > 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)); >
diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index f1926e9f2143..fec87ff8dc5e 100644 --- a/arch/x86/events/intel/core.c +++ b/arch/x86/events/intel/core.c @@ -5436,6 +5436,7 @@ __init int intel_pmu_init(void) case INTEL_FAM6_ICELAKE: case INTEL_FAM6_TIGERLAKE_L: case INTEL_FAM6_TIGERLAKE: + case INTEL_FAM6_ROCKETLAKE: 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));