Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1266407lqd; Thu, 25 Apr 2024 10:11:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWei0HhVVD135aw9gacInSHjPL8XMloOiL2vHSF2EGJw9tr/SBltWlNE/i2qez3h+8/iWxwHi58Z+nKrrY2oNuqIepgiE28BJgmj++/Ow== X-Google-Smtp-Source: AGHT+IHfkHm1Co25Xx967r+iQyIXpAinBeRrgfQ+H5nxHr/piKDvtberbUacczMhu8MomWuEZKxJ X-Received: by 2002:a05:6102:114e:b0:47b:ccc5:eb86 with SMTP id j14-20020a056102114e00b0047bccc5eb86mr120283vsg.3.1714065070496; Thu, 25 Apr 2024 10:11:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714065070; cv=pass; d=google.com; s=arc-20160816; b=gzUdSJDsYcdUaw46gPooEnvRLygDxPs7tDlP0G8A06HwX4sTYXrKdeXw8ij8X0e/BB nyP8DH/t6D/OvjmtQvP4RJqzKnJT9Bp1LKdxcpQuTSuvX/JE8w6tmTLtYbJDEHNjK5qZ uaY/05op9HxsHi+ynDBmoTKHghqtBzGf1IHfX0EHzt3OPRz0NUTyrx8BqlnQZSErrxTj WONJk7X3qjuxTakkEpmqPhyTmwLvLmpLDVNe3b8yPj85rBKlMn7mXOkk8LFJ35Ub6R/c sXhJC0++VLAVimckIQgllYUxorcn8brfQ3Se1EEPnCLOHUSuz0/hOsA2rcHt8v/eUaw5 x6DA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:cc:subject:to:reply-to:sender:from:dkim-signature :dkim-signature:date; bh=wugknEMx6eimT+Flw8Mly0d3keuHZeLUeiEU1ZFIR0U=; fh=sRuoxverM9+fK9z5tkT0IKJpR0o28A+KF9ywarzvQRc=; b=IOdw65EVKf1IeNkrMJD36cDdlyyoUhpH21f/Fa7K7OUtEhovmSJKYSY0N8QFEJoghK N3t+hgVnxVv8OFulu+rmj1XMc/yzoRg1+RTduGm7uYU5hQAZwwhMo5jeQk29SewdsyQJ aonDShawdxEQWvOxaFlKT0o1RxJuMLKHiERRRDK1dp/Q1zlEqPV7b2ohHY5Ie7I4E5dz fiE8JU/XKzfyI8jxaDfLpkyk8/46+i4KAlj2UJsnS9VJc54UElc6iys6Zf7F0kA/z3zg rXMsMBPlxwXR7lGVvvu0DJ/1HZFjkAb+UE41XvszoEKVmvAXpMTWwQINJ8mLX8Fsx6iw M/mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wNIIvOm+; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-158950-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id dw17-20020a056102469100b0047be761a4dfsi2229350vsb.434.2024.04.25.10.11.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 10:11:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158950-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wNIIvOm+; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-158950-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BA54D1C23FE9 for ; Thu, 25 Apr 2024 17:11:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 752C014EC4D; Thu, 25 Apr 2024 17:10:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="wNIIvOm+"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="E0aRqtY4" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2508E14D70C; Thu, 25 Apr 2024 17:10:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714065042; cv=none; b=hWCUNkK4UWq+5tCbn3BEYK+QEegCaDQy9RKujapOpXonGHrvOzuZQXzTXt/Wbn5yK0fEzUvKLAGm5Fo4Ie/NTgU1+yFk3S1KuIgs6Xd1gfimcSXFWDZ/jfTk8Fukg3Oxf7oKJomoFEhtwf98Nhr1sDzwphuCDpvdtW46cJQvIGw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714065042; c=relaxed/simple; bh=nqpKJluw1doy3y0allgcYKgIgsh/jnQXaIoFaSK7oOg=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=U5AwN4V2F/PKz9128pyg3CPAYZG5exYb5ShRV/7z0QxCHgrjqCakkz49BeVSWWHW1P+oTHqpEtyVXc3oXD/3yB/xFiB/2fA4JJtmM1/PPYTWB61Mo/vTIep4KsSFeWh4oUFTb72T1iROZIvO13CXD79S8ONybzMeCClfSs3gGhk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=wNIIvOm+; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=E0aRqtY4; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Thu, 25 Apr 2024 17:10:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1714065036; 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; bh=wugknEMx6eimT+Flw8Mly0d3keuHZeLUeiEU1ZFIR0U=; b=wNIIvOm+tj4cgLNEkM8MBEpxUshpJ/iYSv2PLOtpgS5Z3HbTEck4/hr4aZidrPJJ0FhRGY 8dgyUh8mz8tgqDPlKsbWbVMDQ0RGBC696GYUeWEB329TFjVj5C0M/jaYntgyZrDWvEEylq VDXx+H8vrZw40OjxmvYvfHQmz1uNkewU57L7bMxMtXh6BBfL6JcZoV90NjYzAe+wftpp9L V28hNl420QzlE9hwdXvjdLRACRnlBP8sjpgQyrCWCAIIxxcM/tcv+jxstFPpN4Rd2A4DQf Ftiavrx6fYDlsUCLp6JdzTVZGLNia46Kkx5q9mujsd6Ix+cxpH3Jxpfw0OLGaQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1714065036; 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; bh=wugknEMx6eimT+Flw8Mly0d3keuHZeLUeiEU1ZFIR0U=; b=E0aRqtY4Zt8fZRdSgWRVwt8U4pT2b+yLDoHO4HvS1DiVHYOV8N+v9k8l3oDA9xxdMupn2u 49PGDMHPFvGnpfDw== From: "tip-bot2 for Tony Luck" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] perf/x86/intel/uncore: Switch to new Intel CPU model defines Cc: Tony Luck , Dave Hansen , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171406503634.10875.16911960699005867696.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/cpu branch of tip: Commit-ID: 438731421a2f6dc11a7a4f0ef9a19d79f77ed75f Gitweb: https://git.kernel.org/tip/438731421a2f6dc11a7a4f0ef9a19d79f77ed75f Author: Tony Luck AuthorDate: Wed, 24 Apr 2024 11:15:03 -07:00 Committer: Dave Hansen CommitterDate: Thu, 25 Apr 2024 09:04:32 -07:00 perf/x86/intel/uncore: Switch to new Intel CPU model defines New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck Signed-off-by: Dave Hansen Link: https://lore.kernel.org/all/20240424181503.41595-1-tony.luck%40intel.com --- arch/x86/events/intel/uncore_snbep.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/events/intel/uncore_snbep.c b/arch/x86/events/intel/uncore_snbep.c index 2eaf0f3..74b8b21 100644 --- a/arch/x86/events/intel/uncore_snbep.c +++ b/arch/x86/events/intel/uncore_snbep.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* SandyBridge-EP/IvyTown uncore support */ +#include #include "uncore.h" #include "uncore_discovery.h" @@ -3285,7 +3286,7 @@ void bdx_uncore_cpu_init(void) uncore_msr_uncores = bdx_msr_uncores; /* Detect systems with no SBOXes */ - if ((boot_cpu_data.x86_model == 86) || hswep_has_limit_sbox(BDX_PCU_DID)) + if (boot_cpu_data.x86_vfm == INTEL_BROADWELL_D || hswep_has_limit_sbox(BDX_PCU_DID)) uncore_msr_uncores[BDX_MSR_UNCORE_SBOX] = NULL; hswep_uncore_pcu.constraints = bdx_uncore_pcu_constraints; @@ -5394,7 +5395,7 @@ static int icx_iio_get_topology(struct intel_uncore_type *type) static void icx_iio_set_mapping(struct intel_uncore_type *type) { /* Detect ICX-D system. This case is not supported */ - if (boot_cpu_data.x86_model == INTEL_FAM6_ICELAKE_D) { + if (boot_cpu_data.x86_vfm == INTEL_ICELAKE_D) { pmu_clear_mapping_attr(type->attr_update, &icx_iio_mapping_group); return; }