Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1532577pxb; Wed, 20 Oct 2021 07:00:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAFG9sOkRRyfPpQyNHhqRAvFQJPD+eG7MT02SSbYjcAAGg2ciaYwTM42se1YQJuDQPKPXr X-Received: by 2002:a17:906:3d72:: with SMTP id r18mr45066136ejf.525.1634738438449; Wed, 20 Oct 2021 07:00:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634738438; cv=none; d=google.com; s=arc-20160816; b=DxB9x/yWILGmZ0l1hKDtp6RvqU5MesXD+Ic5IGZYG5zzD88UjhWN48IcOzVdBBMEsJ otUseVlTsjlGBOBHOtIiB8tnZhGB78KNnCtOu4XdhnVyK+kKvEuK73vBknOZ5p/akqIg PNwItvFAJctvXOXqgd9fLWzlg3ufayC2VlgynwP+6OMZwH0ykNTSJnuqh5BaJdb8WgHF teztLVYbJHBuvpsQVnfbCa3zW4ZFD6e2eTtH/Xdo1yApoFPlk6hC3weW59iZVUW0qoWU GkcyanD73dB4y/eRPKr48Mv7jEfXvYgbMjyLUWJayugO+x6NVA2S69aRP/HpwAYIx759 RgCQ== 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=b2Y4fTY7R2Gm7KUEdeL3aOQo7PvcqJXEJADRIYWWs8Q=; b=jqTAjSA33x4Ca14FSUYwLdqrd2GW0tI59zzRPPy/F9e6CUPGlRWwsIbplruD7+dxxJ SX02p7c977ynTnr7FQwmvylCHjhqZ/t2aBVTApJr8Oiv7sJfJcB0IB7chd+TtmmOyiyz 4s4NqHUeibL0jypUNRJFwNFBv08I0xMvOpNsi4Z3B01y8iyyix7KXzsyXy7yenwqb77Y sEYJFNfAeds6KIsOS+MmsJ16RoTJKDEzbOG7/Zy/ct28GN6X+KnCUkabj8YbKS2S8aQq 9SGWf85UxWZiudDVbfQlpSybcYwM2AtoQyNeabbfZKLnqNR/5xjLZmipEJoML2koe2qI qwdA== 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 v9si3332070edx.570.2021.10.20.07.00.10; Wed, 20 Oct 2021 07:00:38 -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 S230366AbhJTN7w (ORCPT + 99 others); Wed, 20 Oct 2021 09:59:52 -0400 Received: from mga07.intel.com ([134.134.136.100]:44987 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230345AbhJTN7p (ORCPT ); Wed, 20 Oct 2021 09:59:45 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10143"; a="292245587" X-IronPort-AV: E=Sophos;i="5.87,167,1631602800"; d="scan'208";a="292245587" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 06:57:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,167,1631602800"; d="scan'208";a="662253229" Received: from nntpdsd52-165.inn.intel.com ([10.125.52.165]) by orsmga005.jf.intel.com with ESMTP; 20 Oct 2021 06:57:29 -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 v2 2/3] Fix IIO event constraints for Skylake Server Date: Wed, 20 Oct 2021 16:57:24 +0300 Message-Id: <20211020135725.46597-3-alexander.antonov@linux.intel.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20211020135725.46597-1-alexander.antonov@linux.intel.com> References: <20211020135725.46597-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 94cb83b1d6ec..705ee6e9ddbe 100644 --- a/arch/x86/events/intel/uncore_snbep.c +++ b/arch/x86/events/intel/uncore_snbep.c @@ -3678,6 +3678,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