From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.200 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796236914; b=myUKR1xNKUGrmNXs1Vhpga2/KukATzrte1+rCxxYlw2+gk+nkKnCq5UdWGPUF/8wjybk Gj3Wj77OdljaVP62/yNeBEQRMqcEqWuKThQ1ZKP+ZErI+il0MHQtWSocvxL9uQPGxB1P6 A17T8oc6fGlCrwG9Zj1QSNeubJPA89udOyhCmXhHLxsp7fgUu/Xb9Zi7DufEshxjqHT3Z wlB5tX3FhG3c0I3r7WW0u+GTdDStxA/yHxjO9WkOkQZi9rgyxX9X2DgzaKLzphFEPsuBz Oky5UDGWS0hbEofqiTIwhtBCBiZ0Wc0o7UjQzAt6Wn681HVy7UH2evq16nPEoi3rOBw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796236914; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type; bh=Xfa5XTgrRi3s7p8uhs7g7fz7vHBe28U204CnYc//He0=; b=31CN3sJJjzcYo487IwXfQUVu5ir2ROLV1ebfQDHDOjLoIyzwCMsztBSFZzIX76EE85pw Iylwp2vnT+X9vQRfGrzsuH14DtwApgdIHnzxx7OsQpKvfm4batmGMrXxdTq2MEHhF4iaD fVWH2P2uElv2wB85OVKL8KAcI7mS3aqRXBfMpraHGGuo1Ugu1elTbUMQ+kwhy/IXg4ve6 yfHvEe7YF9RlbqGBsi9BBo7tbQ+IrP5aZuHXiL++0Y2Lu6bTbGjHiEFngOKLgNmKTJb0w kSuSROfAalW7MHaZwWBXp+W5D1PSOcD5prm1A4lo4PnZQcDUkTfEAdtAbXX8HrVIPwQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=IHLwGJ0V; arc=none smtp.remote-ip=74.125.82.200 Received: from mail-dy1-f200.google.com (mail-dy1-f200.google.com [74.125.82.200]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02A99606A68D for ; Wed, 2 Dec 2026 18:41:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 02A99606A68D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=IHLwGJ0V Received: by mail-dy1-f200.google.com with SMTP id 5a478bee46e88-38355b03cb8so12580208eec.0 for ; Wed, 02 Dec 2026 10:41:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796236901; x=1796841701; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Xfa5XTgrRi3s7p8uhs7g7fz7vHBe28U204CnYc//He0=; b=IHLwGJ0VcvPM+x4HEAv/R7uzPqjra5ZGOVMiMLtWxl9HSHuqMHxiJRKoCpGKfJ6TIO rM7NKKRFEof/q1BvJ6r2r5jEJkX3EoWmPZpSD+VIC8DVw0NeMSd1C7sNzzm4lFczWUm9 sjXrrFCUwV5Eicbw56kQTecKtaBzJV1XN+hgoKHqfPMEGBO8p/OPWCpAy27EIeDCd/2T s1KRsxcoJXEDMoMD+dudaV37DANWxV3KV/NCszx2NkVY94NnlYlb+grK9/+aRtXGr7w2 ljVujKM0a+XsNfWLD0baRLuJD23dpkYCp8hhrXpybsROM3rTIZd1oeaTln6KsDAFaSJn qz4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796236901; x=1796841701; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Xfa5XTgrRi3s7p8uhs7g7fz7vHBe28U204CnYc//He0=; b=SZrw5f9OzDcIzkC3JHQkdpV8QYdH50TzbmgZ92o3M6uC0k+mDaV7TUE4rqItyXQJGm r1Epw8zoKMt1cjCxm1UHIfckKA0mlWyBKe29onOmYZolvFtv9Rl4oB0kB07BLh7vFFOo Zj40TVv+r2eQCqVQuCliZuKXjqY0JGAXF9aoCjFD5jxK2swuURslidja2lhbMmR8QL0B 6isooIpeeyxXLJRaW4rpymfRuscPUpU3XBz09JJpjvGKM3Bi7mCnBBtmOm0S3HglAFs4 m7HGqQMQVGupqEx3nNVk3WLQuxnWN1TIrqNhLhLVN5rpUZwsVyMeQTVVB6qrxUeyMRgg nWeA== X-Forwarded-Encrypted: i=1; AL+hErH/kuWTozsvzbxAbIhASm0AhSU7YHybTYnoyN2ftdMs42pds3hxTBRBnDsyl4/oE6QY5NSRnSKN/Zp91mA=@vger.kernel.org X-Gm-Message-State: APuU4Z8ICnxK9r/cE+Bhpp1JSnWd75xBqbWSQLMLHzpZzRypUBtxb5Gl RNoZSIQg16e2CYHG/0Xjbj59kBp7YY9OsDPwA0LBwqzD7mTfE0bRNaHxIKkNhztH0/vwYUuT0Iz rDVWUymRZKA== X-Received: from dybkc17.prod.google.com ([2002:a05:7301:3911:b0:387:30ef:f784]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:693c:8641:20b0:383:50b7:1d78 with SMTP id 5a478bee46e88-38571223ee7mr45395874eec.40.1796236900790; Wed, 02 Dec 2026 10:41:40 -0800 (PST) Date: Wed, 2 Dec 2026 10:40:29 -0800 In-Reply-To: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: X-Mailer: git-send-email 2.56.1.911.g883d8bcb20-goog Message-ID: Subject: [PATCH v2 24/36] perf vendor events intel: Update knightslanding events From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , James Clark Cc: Dapeng Mi , Zide Chen , Thomas Falcon , Chun-Tse Shao , Lalit Maganti , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Ian Rogers Content-Type: text/plain; charset="UTF-8" Re-generate knightslanding events with create_perf_json.py: - Fix uncore iMC_DCLK unit name to "iMC" matching knl_uncore_imc_dclk. - Fix counter count initialization in counter.json. Fixes: ae7bcd600e1c ("perf vendor events: Update Intel knightslanding") Signed-off-by: Ian Rogers --- .../perf/pmu-events/arch/x86/knightslanding/counter.json | 4 ++-- .../pmu-events/arch/x86/knightslanding/uncore-memory.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/counter.json b/tools/perf/pmu-events/arch/x86/knightslanding/counter.json index 4ce9f30a4fe5..30c64fb38069 100644 --- a/tools/perf/pmu-events/arch/x86/knightslanding/counter.json +++ b/tools/perf/pmu-events/arch/x86/knightslanding/counter.json @@ -20,14 +20,14 @@ "CountersNumGeneric": "4" }, { - "Unit": "iMC_DCLK", + "Unit": "iMC", "CountersNumFixed": "0", "CountersNumGeneric": "4" }, { "Unit": "iMC_UCLK", "CountersNumFixed": "0", - "CountersNumGeneric": 4 + "CountersNumGeneric": "4" }, { "Unit": "M2PCIe", diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json index f137dfde8481..1e0993c54011 100644 --- a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json +++ b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json @@ -83,7 +83,7 @@ "EventName": "UNC_M_CAS_COUNT.ALL", "PerPkg": "1", "UMask": "0x3", - "Unit": "iMC_DCLK" + "Unit": "iMC" }, { "BriefDescription": "CAS Reads", @@ -92,7 +92,7 @@ "EventName": "UNC_M_CAS_COUNT.RD", "PerPkg": "1", "UMask": "0x1", - "Unit": "iMC_DCLK" + "Unit": "iMC" }, { "BriefDescription": "CAS Writes", @@ -101,14 +101,14 @@ "EventName": "UNC_M_CAS_COUNT.WR", "PerPkg": "1", "UMask": "0x2", - "Unit": "iMC_DCLK" + "Unit": "iMC" }, { "BriefDescription": "DCLK count", "Counter": "0,1,2,3", "EventName": "UNC_M_D_CLOCKTICKS", "PerPkg": "1", - "Unit": "iMC_DCLK" + "Unit": "iMC" }, { "BriefDescription": "UCLK count", -- 2.56.1.915.g69d5ec7298-goog