From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCC99C433FE for ; Fri, 1 Oct 2021 12:10:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B436761A05 for ; Fri, 1 Oct 2021 12:10:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354312AbhJAMMU (ORCPT ); Fri, 1 Oct 2021 08:12:20 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:56870 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354263AbhJAMMN (ORCPT ); Fri, 1 Oct 2021 08:12:13 -0400 Date: Fri, 01 Oct 2021 12:10:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1633090228; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PKdUT2tWmLaYws9SLtjmPaIsfe8rLIzVpkhV/pkr2d4=; b=gvsKqNfIdVytiUwBQlSYKYNoV3G4ekrUqHQewIv3d+yirGQ+wMaVIvAgh5iqFDk5jx3we3 zDjWRngFasoq+f+ckaFtouFgBdsU0loRyaJ6inHXuCyXMwZTiHNDhmyZjJJzpnNIgB0y9n EbSovbdLv0eWw80MRkGT9UCwNkKL413ZFg+pJ7KQL9N9tTdbykqRdpvVKWd0PQIw51h333 fAKbAaoLHxfVBU2tETbxC4RJJ+/Ssn3OhEg4lgpDYwHRU3KU1eQvmo1Kjyzmn+iJd4FdxI jYXdY+Tg9pp0SkLvmTQeQpvihe6bEKbpzmdVC1u/c1QWdngKPbceUxHwPc6+Aw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1633090228; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PKdUT2tWmLaYws9SLtjmPaIsfe8rLIzVpkhV/pkr2d4=; b=tXgm0e+VeZyBfywnM7N58z/wBzj6fy1NlMEazDgcmQxYOz6lm2fpC25Ucx6f6iJ5gPOqLE NOUgkIBBs6hkkNCA== From: "tip-bot2 for Kan Liang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/urgent] perf/x86/intel: Update event constraints for ICX Cc: Kan Liang , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1632842343-25862-1-git-send-email-kan.liang@linux.intel.com> References: <1632842343-25862-1-git-send-email-kan.liang@linux.intel.com> MIME-Version: 1.0 Message-ID: <163309022747.25758.6997796394387733005.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the perf/urgent branch of tip: Commit-ID: ecc2123e09f9e71ddc6c53d71e283b8ada685fe2 Gitweb: https://git.kernel.org/tip/ecc2123e09f9e71ddc6c53d71e283b8ada685fe2 Author: Kan Liang AuthorDate: Tue, 28 Sep 2021 08:19:03 -07:00 Committer: Peter Zijlstra CommitterDate: Fri, 01 Oct 2021 13:57:54 +02:00 perf/x86/intel: Update event constraints for ICX According to the latest event list, the event encoding 0xEF is only available on the first 4 counters. Add it into the event constraints table. Fixes: 6017608936c1 ("perf/x86/intel: Add Icelake support") Signed-off-by: Kan Liang Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/1632842343-25862-1-git-send-email-kan.liang@linux.intel.com --- arch/x86/events/intel/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index 7011e87..9a04443 100644 --- a/arch/x86/events/intel/core.c +++ b/arch/x86/events/intel/core.c @@ -263,6 +263,7 @@ static struct event_constraint intel_icl_event_constraints[] = { INTEL_EVENT_CONSTRAINT_RANGE(0xa8, 0xb0, 0xf), INTEL_EVENT_CONSTRAINT_RANGE(0xb7, 0xbd, 0xf), INTEL_EVENT_CONSTRAINT_RANGE(0xd0, 0xe6, 0xf), + INTEL_EVENT_CONSTRAINT(0xef, 0xf), INTEL_EVENT_CONSTRAINT_RANGE(0xf0, 0xf4, 0xf), EVENT_CONSTRAINT_END };