Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4233944rwb; Mon, 31 Jul 2023 03:57:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlFzjRE6jJLyRorI/YUclHfcXdgdnezchmWZezNxo5L8HtuyJoVYIpgQRekaB4z44IRlCCua X-Received: by 2002:a05:6358:1112:b0:134:e3d2:1e50 with SMTP id f18-20020a056358111200b00134e3d21e50mr5383191rwi.18.1690801026103; Mon, 31 Jul 2023 03:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690801026; cv=none; d=google.com; s=arc-20160816; b=MGRwlhh1TAmXVT9+kMFwNg6UjhzsODr04Ju9EBAivHz6JOVPenBgN4iygaHS54LtiM SDjL7fjyAhgiOde303ZBqa1wtgsXieWbCIdwkD2RWfC1ZfU14xli1Gl/Wn4IZJMUKjus bSKVSHrWA4roDAT0vZVeuAn69itXQtNzFbIHXGZjtP3AKtJG9rrTa53rMEiCmjAjPeKt olhqbCrCxUf83k1XUtgaPRMsRJScn8hSu2KfXjR0LVADsWoTZ1RON/ND/HqVmo12mYy5 kFXZzHDFcDjNw4aGWikW71fRe5CC0gAjAC0h0qx9REbmfDnGWO8Eq9zRXf4+Hn/DGNrN ogLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=iaGBxewauEhPBUimcq/pODsBkFg4BhibqIT0MYHZ9Qk=; fh=AzljjFUbSn2Veg1nV3FZn3p8sXbAzzIpZQBpXeqbT/I=; b=NMikHM6/2oH9AG3OlsPnw7lOBE3/hAFkJX2sGrzFTe1/eCQ3zirO8AeZtlTpL1v50q Gp5UP6WS3aRvGPPSokMSQQTyqqmOIs8WFulrCUusOBxpTGCplLuBH1D+IXCkNXuIifAd qejaac330CAo2IlKH59VogKRlKAYXsINsBU5kdpZl1a4C5Br/c5K9fa+ZEVPA5NZyvy3 K9WjhMiXSfopQCqR7ZvPCJQAqU50jo2E3yLdGgRIROz65huHxTHGhPE60jGXPmN1w53Y wbl6kUcoMQ6tbm+8oy2nmbFO999d347KlfIiuS5mr3eypcZA+7CX5lQlg9e7sHXIw39I S6Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=JdLzJzBH; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=izxcmJBp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020a655b87000000b0055c0477e26dsi3290474pgr.475.2023.07.31.03.56.54; Mon, 31 Jul 2023 03:57:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=JdLzJzBH; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=izxcmJBp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232482AbjGaKT7 (ORCPT + 99 others); Mon, 31 Jul 2023 06:19:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232166AbjGaKTf (ORCPT ); Mon, 31 Jul 2023 06:19:35 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24841A6; Mon, 31 Jul 2023 03:19:35 -0700 (PDT) Date: Mon, 31 Jul 2023 10:19:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1690798773; 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=iaGBxewauEhPBUimcq/pODsBkFg4BhibqIT0MYHZ9Qk=; b=JdLzJzBH2JOXIV7xEgVG1cuyTBW8V9ZYDjAWH1QxLDiHj1CMqBaMjY581mlP6TNiLwfDgU 2Z4xNGBZbGMaJddzcaBivwvvtbuseGt0jm29+JEf6/CAq6fN/6bv04q6mCbzK+dkVSxC/S ii6p4jt6mx4oKvvXAEcX62dYAvQdA7bVj5VqmQJfXGLocEOrIbQGKtfFjSAyed63bZDq+8 kwphYKmCe4f6exnykzk2PudDKXTCeu1FWc/TGkhUiiaChLN4z1GyMbrI0ZLiLl+8DJwKGE J23jZ7LHh9vYcA+o4QroSm9M3uc4kVERsCfPLdLpgVL53gTYVRk2r2v0xYnMxg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1690798773; 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=iaGBxewauEhPBUimcq/pODsBkFg4BhibqIT0MYHZ9Qk=; b=izxcmJBpjBejKy0rGmmS9q19mN3NqbiE2vy8wm0Sk30yWXw5ZWdUxFTM9IcQahRAfJl8Hr 1nwrqAvaOIOAVUAQ== From: "tip-bot2 for Ravi Bangoria" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] perf/mem: Introduce PERF_MEM_LVLNUM_UNC Cc: Ravi Bangoria , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230725150206.184-2-ravi.bangoria@amd.com> References: <20230725150206.184-2-ravi.bangoria@amd.com> MIME-Version: 1.0 Message-ID: <169079877327.28540.11395438134296621838.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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the perf/core branch of tip: Commit-ID: 526fffabc5fb63e80eb890c74b6570df2570c87f Gitweb: https://git.kernel.org/tip/526fffabc5fb63e80eb890c74b6570df2570c87f Author: Ravi Bangoria AuthorDate: Tue, 25 Jul 2023 20:32:04 +05:30 Committer: Peter Zijlstra CommitterDate: Wed, 26 Jul 2023 12:28:44 +02:00 perf/mem: Introduce PERF_MEM_LVLNUM_UNC Older API PERF_MEM_LVL_UNC can be replaced by PERF_MEM_LVLNUM_UNC. Signed-off-by: Ravi Bangoria Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20230725150206.184-2-ravi.bangoria@amd.com --- include/uapi/linux/perf_event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index 3767543..39c6a25 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h @@ -1339,7 +1339,8 @@ union perf_mem_data_src { #define PERF_MEM_LVLNUM_L2 0x02 /* L2 */ #define PERF_MEM_LVLNUM_L3 0x03 /* L3 */ #define PERF_MEM_LVLNUM_L4 0x04 /* L4 */ -/* 5-0x8 available */ +/* 5-0x7 available */ +#define PERF_MEM_LVLNUM_UNC 0x08 /* Uncached */ #define PERF_MEM_LVLNUM_CXL 0x09 /* CXL */ #define PERF_MEM_LVLNUM_IO 0x0a /* I/O */ #define PERF_MEM_LVLNUM_ANY_CACHE 0x0b /* Any cache */