lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 324/917] perf/x86/intel/uncore: Fix Intel SPR IIO event constraints
    Date
    From: Kan Liang <kan.liang@linux.intel.com>

    [ Upstream commit 67c5d44384f8dc57e1c1b3040423cfce99b578cd ]

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

    Fixes: 3ba7095beaec ("perf/x86/intel/uncore: Add Sapphire Rapids server IIO support")
    Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
    Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    Link: https://lkml.kernel.org/r/1629991963-102621-6-git-send-email-kan.liang@linux.intel.com
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/x86/events/intel/uncore_snbep.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/x86/events/intel/uncore_snbep.c b/arch/x86/events/intel/uncore_snbep.c
    index ce85ee5f60f97..2d75d212c8cc4 100644
    --- a/arch/x86/events/intel/uncore_snbep.c
    +++ b/arch/x86/events/intel/uncore_snbep.c
    @@ -5661,6 +5661,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[] = {
    --
    2.33.0


    \
     
     \ /
      Last update: 2021-11-16 00:36    [W:3.633 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site