From: kan.liang@linux.intel.com
To: peterz@infradead.org, mingo@redhat.com, linux-kernel@vger.kernel.org
Cc: eranian@google.com, ak@linux.intel.com,
Kan Liang <kan.liang@linux.intel.com>,
Ammy Yi <ammy.yi@intel.com>
Subject: [PATCH V2 5/5] perf/x86/intel/uncore: Support Sierra Forest and Grand Ridge
Date: Fri, 17 Nov 2023 08:39:39 -0800 [thread overview]
Message-ID: <20231117163939.2468007-5-kan.liang@linux.intel.com> (raw)
In-Reply-To: <20231117163939.2468007-1-kan.liang@linux.intel.com>
From: Kan Liang <kan.liang@linux.intel.com>
The same as Granite Rapids, the Sierra Forest and Grand Ridge also
supports the discovery table feature and the same type of the uncore
units. The difference of the available units and counters can be
retrieved from the discovery table automatically.
Just add the CPU model ID.
Tested-by: Ammy Yi <ammy.yi@intel.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
---
Changes since V1:
- Add Tested-by tag
arch/x86/events/intel/uncore.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/events/intel/uncore.c b/arch/x86/events/intel/uncore.c
index 7fb1c54c9879..7927c0b832fa 100644
--- a/arch/x86/events/intel/uncore.c
+++ b/arch/x86/events/intel/uncore.c
@@ -1877,6 +1877,8 @@ static const struct x86_cpu_id intel_uncore_match[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(GRANITERAPIDS_D, &gnr_uncore_init),
X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_D, &snr_uncore_init),
X86_MATCH_INTEL_FAM6_MODEL(ATOM_GRACEMONT, &adl_uncore_init),
+ X86_MATCH_INTEL_FAM6_MODEL(ATOM_CRESTMONT_X, &gnr_uncore_init),
+ X86_MATCH_INTEL_FAM6_MODEL(ATOM_CRESTMONT, &gnr_uncore_init),
{},
};
MODULE_DEVICE_TABLE(x86cpu, intel_uncore_match);
--
2.35.1
next prev parent reply other threads:[~2023-11-17 16:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-17 16:39 [PATCH V2 1/5] perf/x86/intel/uncore: Generic uncore_get_uncores and MMIO format of SPR kan.liang
2023-11-17 16:39 ` [PATCH V2 2/5] perf/x86/uncore: Use u64 to replace unsigned for the uncore offsets array kan.liang
2023-11-29 8:19 ` [tip: perf/core] " tip-bot2 for Kan Liang
2023-11-17 16:39 ` [PATCH V2 3/5] perf/x86/intel/uncore: Support Granite Rapids kan.liang
2023-11-29 8:19 ` [tip: perf/core] " tip-bot2 for Kan Liang
2023-11-17 16:39 ` [PATCH V2 4/5] perf/x86/intel/uncore: Support IIO free-running counters on GNR kan.liang
2023-11-29 8:19 ` [tip: perf/core] " tip-bot2 for Kan Liang
2023-11-17 16:39 ` kan.liang [this message]
2023-11-29 8:19 ` [tip: perf/core] perf/x86/intel/uncore: Support Sierra Forest and Grand Ridge tip-bot2 for Kan Liang
2023-11-29 8:19 ` [tip: perf/core] perf/x86/intel/uncore: Generic uncore_get_uncores and MMIO format of SPR tip-bot2 for Kan Liang
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=20231117163939.2468007-5-kan.liang@linux.intel.com \
--to=kan.liang@linux.intel.com \
--cc=ak@linux.intel.com \
--cc=ammy.yi@intel.com \
--cc=eranian@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.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
all inboxes | Powered by JetHome®