提交 15dbc0d1 编写于 作者: K Kan Liang 提交者: Yunying Sun

perf/x86/intel/uncore: Fix Intel SPR IIO event constraints

mainline inclusion
from mainline-v5.16-rc1
commit 67c5d443
category: feature
feature: SPR PMU uncore support
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I5BECO

Intel-SIG: commit 67c5d443 perf/x86/intel/uncore: Fix Intel SPR IIO
event constraints
This commit is backported as a fix to SPR PMU uncore support.

-------------------------------------

SPR IIO events have the exact same event constraints as ICX, so add the
constraints.

Fixes: 3ba7095b ("perf/x86/intel/uncore: Add Sapphire Rapids server IIO support")
Signed-off-by: NKan Liang <kan.liang@linux.intel.com>
Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1629991963-102621-6-git-send-email-kan.liang@linux.intel.comSigned-off-by: NYunying Sun <yunying.sun@intel.com>
上级 3ec8caa2
......@@ -5494,6 +5494,7 @@ static struct intel_uncore_type spr_uncore_iio = {
.event_mask_ext = SNR_IIO_PMON_RAW_EVENT_MASK_EXT,
.format_group = &snr_uncore_iio_format_group,
.attr_update = uncore_alias_groups,
.constraints = icx_uncore_iio_constraints,
};
static struct attribute *spr_uncore_raw_formats_attr[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册