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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83AEEC77B6C for ; Thu, 6 Apr 2023 18:48:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240310AbjDFSsF (ORCPT ); Thu, 6 Apr 2023 14:48:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240347AbjDFSrn (ORCPT ); Thu, 6 Apr 2023 14:47:43 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B6AAF2D for ; Thu, 6 Apr 2023 11:47:20 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id m6-20020a056902118600b00aeb1e3dbd1bso39268722ybu.9 for ; Thu, 06 Apr 2023 11:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1680806830; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=fjcXbmaXHW+VU6K8Dkm01tSQekJd5NJ+0JkdzAIWERs=; b=oW14Xqbe/tLEdB0kF2YQU4jkNGPXFQDF0+Z6vw0A0pKomEwi4PUqxaGQZNKBx5TS4+ N4D2jEH8+YmGrwBcrkOaNBl8gai4smWU9nB6a/VYFfYMD4CBtx1FRGcgkbK2i119QB2T d7xAUUqbqOgL2hVOjfd7HuLVK8D4sxjtvahw31EXvzPkwp7HOnN0FzGp49swr7gNQFqT MRDJcKIDZ2kPvkEmbQWZxCukNclA7wGJ5iP6UomdVhAfb9DXvvuEDpJ7BQTTXzAkWPsc mu+/FlLJRzXwPZgSB7F1Rv75lP01oeCz3lgROw5ZMOUxL6DORcw5Hlt6JjdJYDUdZapC vFyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680806830; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fjcXbmaXHW+VU6K8Dkm01tSQekJd5NJ+0JkdzAIWERs=; b=YbX8oUHNJzA7uRIO3YZ0uUcWPAiocSTEJLDWuaBsxnz73IljY9qqTVOiUcafS41neW aQDt4zJqyp79RvrsbbHtRzNhnCLDKUnG2lvhYJM2bYTqQNq1bCzoPUHnZlQISJh4/MCA 2EHKuHd/9Zs4istpoqYwNeTaRgpGCAiAYu6pl3eHRs9lmrs+38KUOXDae5DrwvcbTtJy C8J8pMhenixogUSt6PyS2xjLGTYp4Dqi9KLSJQWhldr4W3UmoJhI0Wo6aoW+UvLH7lkA IlY8EzWPeyMweokoZx3TX60DLDEJ93G+iuL93a+99AJGjhi/6uMgK1EKhdI0cX2JUcUY ZvVg== X-Gm-Message-State: AAQBX9fXzABVU9EWWd8hGc7OYTu87uTKdq9knxgtWi3QTxIDMV8jv9xZ plFqBMz/klCUwGPcArmEiDkl8Ra/eLGo X-Google-Smtp-Source: AKy350bSz/1DLrOrFFbxQSoBFBftUVZIwNmbMqxgB8kS3lR3spLMt3qlQdEqrN8j4hY2AuISlcrGNOAGXYGn X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:939d:185a:97bb:59ee]) (user=irogers job=sendgmr) by 2002:a25:d6c9:0:b0:b46:4a5e:3651 with SMTP id n192-20020a25d6c9000000b00b464a5e3651mr244823ybg.9.1680806830609; Thu, 06 Apr 2023 11:47:10 -0700 (PDT) Date: Thu, 6 Apr 2023 11:46:36 -0700 In-Reply-To: <20230406184638.2632300-1-irogers@google.com> Message-Id: <20230406184638.2632300-3-irogers@google.com> Mime-Version: 1.0 References: <20230406184638.2632300-1-irogers@google.com> X-Mailer: git-send-email 2.40.0.577.gac1e443424-goog Subject: [PATCH v1 3/5] perf vendor events intel: Correct knightslanding memory topic From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Kan Liang , Zhengjun Xing , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Correct the memory topic of events for the imc related PMUs. These updates were generated by: https://github.com/intel/perfmon/blob/main/scripts/create_perf_json.py with this PR: https://github.com/intel/perfmon/pull/66 Signed-off-by: Ian Rogers --- .../x86/knightslanding/uncore-memory.json | 38 +++++++++++++++++++ .../arch/x86/knightslanding/uncore-other.json | 36 ------------------ 2 files changed, 38 insertions(+), 36 deletions(-) create mode 100644 tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json new file mode 100644 index 000000000000..47da947b1a6e --- /dev/null +++ b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json @@ -0,0 +1,38 @@ +[ + { + "BriefDescription": "CAS All", + "EventCode": "0x03", + "EventName": "UNC_M_CAS_COUNT.ALL", + "PerPkg": "1", + "UMask": "0x3", + "Unit": "iMC_DCLK" + }, + { + "BriefDescription": "CAS Reads", + "EventCode": "0x03", + "EventName": "UNC_M_CAS_COUNT.RD", + "PerPkg": "1", + "UMask": "0x1", + "Unit": "iMC_DCLK" + }, + { + "BriefDescription": "CAS Writes", + "EventCode": "0x03", + "EventName": "UNC_M_CAS_COUNT.WR", + "PerPkg": "1", + "UMask": "0x2", + "Unit": "iMC_DCLK" + }, + { + "BriefDescription": "DCLK count", + "EventName": "UNC_M_D_CLOCKTICKS", + "PerPkg": "1", + "Unit": "iMC_DCLK" + }, + { + "BriefDescription": "UCLK count", + "EventName": "UNC_M_U_CLOCKTICKS", + "PerPkg": "1", + "Unit": "iMC_UCLK" + } +] diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-other.json b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-other.json index 491cb37ddab0..fc85e0c95318 100644 --- a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-other.json +++ b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-other.json @@ -3621,41 +3621,5 @@ "PerPkg": "1", "UMask": "0x4", "Unit": "M2PCIe" - }, - { - "BriefDescription": "CAS All", - "EventCode": "0x03", - "EventName": "UNC_M_CAS_COUNT.ALL", - "PerPkg": "1", - "UMask": "0x3", - "Unit": "iMC_DCLK" - }, - { - "BriefDescription": "CAS Reads", - "EventCode": "0x03", - "EventName": "UNC_M_CAS_COUNT.RD", - "PerPkg": "1", - "UMask": "0x1", - "Unit": "iMC_DCLK" - }, - { - "BriefDescription": "CAS Writes", - "EventCode": "0x03", - "EventName": "UNC_M_CAS_COUNT.WR", - "PerPkg": "1", - "UMask": "0x2", - "Unit": "iMC_DCLK" - }, - { - "BriefDescription": "DCLK count", - "EventName": "UNC_M_D_CLOCKTICKS", - "PerPkg": "1", - "Unit": "iMC_DCLK" - }, - { - "BriefDescription": "UCLK count", - "EventName": "UNC_M_U_CLOCKTICKS", - "PerPkg": "1", - "Unit": "iMC_UCLK" } ] -- 2.40.0.577.gac1e443424-goog