Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp915041pxb; Tue, 14 Sep 2021 11:26:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUsSg1BF0fqDoVlCxxihXmDJvDr9/nagjzzHLdLHA6wZdopcPYUMsnOY9vPPq3q6YuDZ+t X-Received: by 2002:a05:6512:16a6:: with SMTP id bu38mr13901386lfb.401.1631643968636; Tue, 14 Sep 2021 11:26:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631643968; cv=none; d=google.com; s=arc-20160816; b=xnaTO0DNC4Sm2TXgFTbm5lw1JzRDYeKViRAHFAL310ZJ3bvHSBfIQTjZbPSZHxZacy ZqzjC6X5nBYjD+k+MPJRiNP9MPe4MQCvTMP5wAEZHaFFA1tIHAtWI+1TYEHQu+a0cfQT Z+Eg3FYNKYeGvNDyySMlrFJAwCWVj50+IpJJyvPsPMTirwfJ8ylDfyO97KqvwufYpNX/ m7tjCUDyAMaPHPvycDJ3AyUJwxwryCsiBUS9iY7YFywRh93ECPV/iKUoHb7g3aRGAoW+ hP8Ei4jTYMbSXZmtKgbLTtv1tcILSQ2SvlD4TGwhTS4tpbV6YuV2twE6XfSghPYUJv/N rXdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=C7Rif2L1+2EArJ7KzdBK9lVJ7rt7LhtFryAG1bfSw1E=; b=O0yrMrt7xgHc1rJ3ufV28Y8lTVWG3XkeFSr92C6n2saYcbbhC69qJtniZSpbtz1JW3 wTdh+PHejm0+O/ikJCDX1fsa9LNizo3vyS4cpJMIuuyGkIYK75fNGbCyn/nyeefh8mdd BCEyLKWfX/nAjxE8YsOKzO0oD1azElFZJhQpRG9mb7WUz9ei/jGqyWJJsVp0RZM/JeIr UTZdfLc1qEYI+sPGxvgJ22MCUOI1o1D+I9FTST0o0R6jyKte9Fcq7N0NzF9NybmSgH4W opb34zb+eP88CTns1NEkesV/VmriPXw+nT7JFsKXuTqUNkzb54++DODfdGPkcH1skdPZ thuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i22si11961298lfe.5.2021.09.14.11.25.39; Tue, 14 Sep 2021 11:26:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231877AbhINSZR (ORCPT + 99 others); Tue, 14 Sep 2021 14:25:17 -0400 Received: from mga06.intel.com ([134.134.136.31]:52821 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230458AbhINSZN (ORCPT ); Tue, 14 Sep 2021 14:25:13 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="283094766" X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="283094766" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 11:23:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="470309638" Received: from nntpdsd52-165.inn.intel.com ([10.125.52.165]) by fmsmga007.fm.intel.com with ESMTP; 14 Sep 2021 11:23:53 -0700 From: alexander.antonov@linux.intel.com To: peterz@infradead.org, linux-kernel@vger.kernel.org Cc: kan.liang@linux.intel.com, ak@linux.intel.com, alexey.v.bayduraev@linux.intel.com, alexander.antonov@linux.intel.com Subject: [PATCH 2/3] Fix IIO event constraints for Skylake Server Date: Tue, 14 Sep 2021 21:23:48 +0300 Message-Id: <20210914182349.36186-3-alexander.antonov@linux.intel.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20210914182349.36186-1-alexander.antonov@linux.intel.com> References: <20210914182349.36186-1-alexander.antonov@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexander Antonov According to the latest uncore document, COMP_BUF_OCCUPANCY (0xd5) event can be collected on 2-3 counters. Update uncore IIO event constraints for Skylake Server. Fixes: cd34cd97b7b4 ("perf/x86/intel/uncore: Add Skylake server uncore support") Reviewed-by: Kan Liang Signed-off-by: Alexander Antonov --- 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 9cc65a4194ce..4aa675a8a8eb 100644 --- a/arch/x86/events/intel/uncore_snbep.c +++ b/arch/x86/events/intel/uncore_snbep.c @@ -3677,6 +3677,7 @@ static struct event_constraint skx_uncore_iio_constraints[] = { UNCORE_EVENT_CONSTRAINT(0xc0, 0xc), UNCORE_EVENT_CONSTRAINT(0xc5, 0xc), UNCORE_EVENT_CONSTRAINT(0xd4, 0xc), + UNCORE_EVENT_CONSTRAINT(0xd5, 0xc), EVENT_CONSTRAINT_END }; -- 2.21.3