Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1381160pxb; Wed, 20 Oct 2021 04:04:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfbUFE50WxeeVFujphPFtSlLrdN2+p6E0Xd6495LboAvywME1Lg5cBGnxErwbMaQwCQgtb X-Received: by 2002:a17:906:f747:: with SMTP id jp7mr44129865ejb.530.1634727859100; Wed, 20 Oct 2021 04:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634727859; cv=none; d=google.com; s=arc-20160816; b=sYFbLcHaD+Blg9KXdahNC/SM7WW7RodGKVyrdyNvgihHmJcoK9dGKgfHccIU5s5juj GcW8kDRsHT06p7dwMfEBMyyy65TkO+cx0GITGqNYi/cgmlcyGTcLL6V9BKUO2rD/yZwM TczgO18p3GWvWzrIOrYyoVqmYZ+gZwSVxnbxP3QsWVIJGHVJfqInmPoEU15W6XQIO2jw 1W+1bynPzmV2kXh0NkedEjU6BDodbqTv3T02xrGlsqjK6LL5iWglRkDlJ1cxifuwmibz lZB+CLPiJW4184LrGdK0c5JibKltSYR3uyMQOqA5GqAUtAedzfDKIPu3Gvy2/YLtvfm5 PBXA== 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=goKD4B19S1KVjw35li8fCAI6NcA+E6zzrFkhrF712NQWXDkIwnarYmvCtSnP2GdvWm 7Pynk10z+oVfM6arQnXZRlvY/xHmEqcZkZXDcprFLhSLzv6umzlE0g1Bls2KWhaDVrzB Jz3M3+UxE0KS3WAcKq+Q/P9h9kmVQ6L+PkSqNCHOOq8dLxaml983TAV/C1BUyVJDMLnR 5G4hsrO0ONfECcfGtStzuaiSbNw0yNe2gj4nRn/peLaGSJnZkqr+1/cF/n+rwNXP+i0o nBDG0AGa6IHm7q52nuUio1xJ+gy2kdq5pUkHU74tN67BuFML4I6MBC+gkRyVpX2dIRqe GpZQ== 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 g10si4132213edz.276.2021.10.20.04.03.54; Wed, 20 Oct 2021 04:04:19 -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 S230212AbhJTLCz (ORCPT + 99 others); Wed, 20 Oct 2021 07:02:55 -0400 Received: from mga02.intel.com ([134.134.136.20]:39328 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbhJTLCs (ORCPT ); Wed, 20 Oct 2021 07:02:48 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="215917472" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="215917472" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 04:00:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="444322959" Received: from nntpdsd52-165.inn.intel.com ([10.125.52.165]) by orsmga006.jf.intel.com with ESMTP; 20 Oct 2021 04:00:32 -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: [RESEND PATCH 2/3] Fix IIO event constraints for Skylake Server Date: Wed, 20 Oct 2021 14:00:27 +0300 Message-Id: <20211020110028.38781-3-alexander.antonov@linux.intel.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20211020110028.38781-1-alexander.antonov@linux.intel.com> References: <20211020110028.38781-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