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

Message ID 20230323024026.823-1-silviazhao-oc@zhaoxin.com
Headers
Series Add PMC support for Zhaoxin Yongfeng architecture |

Message

silviazhao March 23, 2023, 2:40 a.m. UTC
  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
  

Comments

silviazhao May 9, 2023, 8:45 a.m. UTC | #1
On 2023/3/23 10:40, silviazhao wrote:
> 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
>
Is there anything that needs to be modified in this patch set? Please 
let me know.
Thx.