linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: silviazhao <silviazhao-oc@zhaoxin.com>
To: <peterz@infradead.org>, <mingo@redhat.com>, <acme@kernel.org>,
	<mark.rutland@arm.com>, <alexander.shishkin@linux.intel.com>,
	<jolsa@kernel.org>, <namhyung@kernel.org>, <irogers@google.com>,
	<adrian.hunter@intel.com>, <tglx@linutronix.de>, <bp@alien8.de>,
	<dave.hansen@linux.intel.com>, <x86@kernel.org>, <hpa@zytor.com>,
	<linux-perf-users@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Cc: <cobechen@zhaoxin.com>, <louisqi@zhaoxin.com>,
	<silviazhao@zhaoxin.com>, <cooperyan@zhaoxin.com>
Subject: [PATCH 0/3] Add PMC support for Zhaoxin Yongfeng architecture
Date: Thu, 23 Mar 2023 10:40:23 +0800	[thread overview]
Message-ID: <20230323024026.823-1-silviazhao-oc@zhaoxin.com> (raw)

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


             reply	other threads:[~2023-03-23  2:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-23  2:40 silviazhao [this message]
2023-03-23  2:40 ` [PATCH 1/3] x86/cpu/zhaoxin: Introduce macros for Zhaoxin family numbers silviazhao
2023-03-23  2:40 ` [PATCH 2/3] perf/x86/zhaoxin: Replace open-coded model number with macros silviazhao
2023-03-23  2:40 ` [PATCH 3/3] perf/x86/zhaoxin: Add Yongfeng support silviazhao
2023-05-09  8:45 ` [PATCH 0/3] Add PMC support for Zhaoxin Yongfeng architecture silviazhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230323024026.823-1-silviazhao-oc@zhaoxin.com \
    --to=silviazhao-oc@zhaoxin.com \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=bp@alien8.de \
    --cc=cobechen@zhaoxin.com \
    --cc=cooperyan@zhaoxin.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=irogers@google.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=louisqi@zhaoxin.com \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=silviazhao@zhaoxin.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).