lkml.org 
[lkml]   [2023]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] Add PMC support for Zhaoxin Yongfeng architecture
Date
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://lkml.org/lkml/2023/3/16/841

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.17.1

\
 
 \ /
  Last update: 2023-03-27 01:13    [W:0.040 / U:1.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site