Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp574373lql; Mon, 11 Mar 2024 10:44:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdyr+qTS4hSHcJK2rvCIfF5pkwoqd8GrhzJJnuvqj2HsC9vGakvg7mXrNl1GJw4BMRE3zQ0HNL8bJ+PZBEuqIber6CqHjGCSjbsFnuUQ== X-Google-Smtp-Source: AGHT+IGHqKzWKER1r6uNCPugKgzqugvoTEt/GKZ4QGpqX2V65AOj236ixOz89hxvizK6I2TN+aDk X-Received: by 2002:a2e:82cd:0:b0:2d4:3d86:54e2 with SMTP id n13-20020a2e82cd000000b002d43d8654e2mr832477ljh.27.1710179053681; Mon, 11 Mar 2024 10:44:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710179053; cv=pass; d=google.com; s=arc-20160816; b=B2HiHQMBLVoUrUxFklsTvNzKbbNG5qHNndzchdUl/qs8UX0/TVjy2kwfZe9Tw+w5q2 xWrcFsVCcE7C0RI/GWvyHBwPHvD+raueA1Ee29Q/cE19bk9XzYjFoEPFVB4Pvk/zDHWd 1u3hcc4JH6Yv63aTpHxBvqKj3692VAnkZ6kZfn7Qi3P0+nnxYVe1xiIcE03U0BNnu+6l lpZMjKr4DZYFj79VswQVrRRfAAcsittf0+hYwXBHIDdDBWlEWD0pVMZoidXAwFKDvEp1 UurccCYJbad2Qf/ic4yDDtgM4WfzZso6t+aSEL6a2NUv+UmBWscvkMhU/26Ky0Hg5h+e RhQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=oF34FEnMH9EnB0cuP15G09+KTXv6xLWNfYuekhXlBCo=; fh=3iLraWKIk4aDkCg3BckamTZ46CBRxN1pRZBBWO0hb5k=; b=KatANoW2PKOpiB4D/8+SvyFXhwomuXE4djjbYMADrHIEOq+QDCfBY5xZ+6WaTPAF/Z o98NziseUtgHIKse9Si5OnQRlLQYtQwA1+Gt6rU1dYdpXazGWXkAZvWWuYEhwY/DfUlP RfMvs+jTOHmUbnCcdP9JAsw+Ql+HXkfqSQrqksYy7amPArE60QjiH0JscAjPHNnJLMeG 2lnWSR/8EzQrUx6WXcTf0TmGfLTtvMVv+6HRw77YoGC1Ea63670disDjji7ypXgCPp7F UCnv4QBwNiB/jLaFybL193pphlZ7fuEDLiDpwo0FbVPUgVsnX8joVHHM2kjuuwCiuQ/j GXPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=q7Qkamd4; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-99320-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99320-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y20-20020a056402135400b00561d0de3e07si2616580edw.255.2024.03.11.10.44.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 10:44:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99320-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=q7Qkamd4; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-99320-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99320-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 649C51F22AE1 for ; Mon, 11 Mar 2024 17:44:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D5BF535C6; Mon, 11 Mar 2024 17:43:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="q7Qkamd4" Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A28654744 for ; Mon, 11 Mar 2024 17:43:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710179032; cv=none; b=R7l5j6d7+/NEmJ48PvusW74GNBGmdKwH0VH9D831/rgOXZoVzqAEzXTJHVYGoKejRP0C6Kx/oyBsh88TFafBkqjO6OooRIH3uyoXWybYLKD3/XuhTy1OL2cmJ9p8/2X9E+raALzI+TDb4OjH60XBBCTO5/kfXfDSz9CgmftXd28= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710179032; c=relaxed/simple; bh=6giF1Y1yY2eNcLEL7A3kln8xD7UdhAKJ+1Jewg7oVW4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=fLMm6Y7cmhthvD9PLCp8pLVO0qOvx+w6se7H2/NGTMQu1P5z0dNNBPF2yPq8lW4QARxW2gFxF3cZtjkxIGAM2f8P+3SSECAuEdxiwzjqcOGW13qZxToqBr/A63UsEZEgYHJv+YQiarze/3HDm7ffeN6EegztVWsXZZ9TEP4b9Ec= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=q7Qkamd4; arc=none smtp.client-ip=209.85.166.170 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=google.com Received: by mail-il1-f170.google.com with SMTP id e9e14a558f8ab-3663528c0a5so7425ab.0 for ; Mon, 11 Mar 2024 10:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1710179030; x=1710783830; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=oF34FEnMH9EnB0cuP15G09+KTXv6xLWNfYuekhXlBCo=; b=q7Qkamd4UXnrHRrB8DgXkiREgd0f/sdvVdwQZmGvZlYSI4gxX1cZ47GVph2o09FiTK syLzN+nVx7jhiJU7jD/Jri5i8e4kTNTJvlYjut93dMk6xld+ccjroGmc0vb6w6eEQmmA 0FhOZlEKEZfdam9+uIcBTNaKi/5q9FJ81Pn360XN+5pYvSAquH01GK/eiyHrZ/o3ZkEd ReJIPe+EtcTJRXaRXQKlLc8Q9GLl3pLXaHfwz+hokCRhYvrFbMMGv1nV/D+G5tdzC9MB wg+8cRlM1zq5hT/v9W/gIm6nARb1NF6RxdMeNJ1sEXWKhjuPT5/MWWftWxL3P8q9dOXI IDWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710179030; x=1710783830; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oF34FEnMH9EnB0cuP15G09+KTXv6xLWNfYuekhXlBCo=; b=rpUl0Lm+pThQh4UQ3eVbpzlHcWALG7JWLEj5OjvxNa/yhpmbUh8xbnxSxKBy/6zt5z V40EGYjHwT7+jHZEnrXTnmupzht23h4zrE8MGdKNGBAvdKG354rPeugwO3E2AIZMahuU fn8sjNL2Ml4mVbRIVQJEV5Fbn6OhfBjpMyhv7uMW3/DINFdqzW9H2iDk2zbxG8B5HY6B rwbaDuix5FUhb/9NNakAMjIp+edAROU138oFmR2t9B6QjOTYuaJ4niwjrghQc5ugjNKx JM/j2ZQLJhBjIbfI8ErG6q/4Y3i02hzjKPeZd0Gqt/v3zh4WM32MA47EPL/Fg+YOegnO LlrA== X-Forwarded-Encrypted: i=1; AJvYcCVGZoMKaQU6qvchOrsp3HfsybhnRWkUVIq7BODmWV03qIfngYGShEriTxIe6Fj+AIiCMtzlqgUXmtSt4U8xQnvwQSNbD3dvCyslHlEe X-Gm-Message-State: AOJu0Yx7Df5gh4ByNrxkNm+EotqGAKeE0j62aY5hEaeR857sawE0DTed GKNUCtRVvXQ9OpeoIfjidFdHGuq0ThOhfBuTbAokkQt1cUjgYuslcmQvBBkKRnZkkIxCS1o2OWs SHgg8IJ/FxPISnjnxHartKwUy2lix+Hhay+G3 X-Received: by 2002:a05:6e02:1c24:b0:366:50b7:10ec with SMTP id m4-20020a056e021c2400b0036650b710ecmr224089ilh.11.1710179030122; Mon, 11 Mar 2024 10:43:50 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Ian Rogers Date: Mon, 11 Mar 2024 10:43:35 -0700 Message-ID: Subject: Re: [PATCH 2/4] perf vendor events amd: Add Zen 5 uncore events To: Sandipan Das Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, adrian.hunter@intel.com, eranian@google.com, ravi.bangoria@amd.com, ananth.narayan@amd.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 10, 2024 at 10:24=E2=80=AFPM Sandipan Das wrote: > > Add uncore events taken from Section 1.5 "L3 Cache Performance Monitor > Counters" and Section 2 "UMC Performance Monitors" of the Performance > Monitor Counters for AMD Family 1Ah Model 00h-0Fh Processors document > available at the link below. This constitutes events which capture L3 > cache and UMC command activity. Why do the L3 uncore PMU events go in the same topic as the core/cpu events, but the memory controller events not? Could they both go in separate files to make better use of the topic? Thanks, Ian > Link: https://bugzilla.kernel.org/attachment.cgi?id=3D305974 > Signed-off-by: Sandipan Das > --- > .../pmu-events/arch/x86/amdzen5/cache.json | 175 ++++++++++++++++++ > .../arch/x86/amdzen5/memory-controller.json | 101 ++++++++++ [ ... snip ... ]