Commit 67c5d443 authored by Kan Liang's avatar Kan Liang Committed by Peter Zijlstra

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

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: default avatarKan Liang <kan.liang@linux.intel.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1629991963-102621-6-git-send-email-kan.liang@linux.intel.com
parent 9d756e40
...@@ -5661,6 +5661,7 @@ static struct intel_uncore_type spr_uncore_iio = { ...@@ -5661,6 +5661,7 @@ static struct intel_uncore_type spr_uncore_iio = {
.event_mask_ext = SNR_IIO_PMON_RAW_EVENT_MASK_EXT, .event_mask_ext = SNR_IIO_PMON_RAW_EVENT_MASK_EXT,
.format_group = &snr_uncore_iio_format_group, .format_group = &snr_uncore_iio_format_group,
.attr_update = uncore_alias_groups, .attr_update = uncore_alias_groups,
.constraints = icx_uncore_iio_constraints,
}; };
static struct attribute *spr_uncore_raw_formats_attr[] = { static struct attribute *spr_uncore_raw_formats_attr[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment