[PATCH RESEND 0/3] Add PMC support for Zhaoxin Yongfeng architecture

SilviaZhao-oc posted 3 patches 9 months, 3 weeks ago
arch/x86/events/zhaoxin/core.c        | 55 ++++++++++++++++++---------
arch/x86/include/asm/zhaoxin-family.h | 19 +++++++++
2 files changed, 57 insertions(+), 17 deletions(-)
create mode 100644 arch/x86/include/asm/zhaoxin-family.h
[PATCH RESEND 0/3] Add PMC support for Zhaoxin Yongfeng architecture
Posted by SilviaZhao-oc 9 months, 3 weeks ago
From: SilviaZhao <silviazhao-oc@zhaoxin.com>

Add PMC support for Zhaoxin Yongfeng architecture.
Dave Hansen suggested to use macros instead of open-coded model numbers.
So create arch/x86/include/asm/zhaoxin-family.h to introduce macros for
Zhaoxin family numbers.
https://lore.kernel.org/lkml/6f78ecfb-99c8-eee3-cad0-69bbd88a107c@intel.com

SilviaZhao (3):
  x86/cpu/zhaoxin: Introduce macros for Zhaoxin family numbers
  perf/x86/zhaoxin: Replace open-coded model number with macros
  perf/x86/zhaoxin: Add Yongfeng support

 arch/x86/events/zhaoxin/core.c        | 55 ++++++++++++++++++---------
 arch/x86/include/asm/zhaoxin-family.h | 19 +++++++++
 2 files changed, 57 insertions(+), 17 deletions(-)
 create mode 100644 arch/x86/include/asm/zhaoxin-family.h

-- 
2.34.1