Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8817969rwb; Thu, 24 Nov 2022 04:50:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Wb8KgoaxtV+HtW/OL2zCSNtUUPjppLelea9zj4/XSA0mCieA1e7hufeZd2YKEXw/GZAUw X-Received: by 2002:aa7:9159:0:b0:572:24c7:34da with SMTP id 25-20020aa79159000000b0057224c734damr13861237pfi.73.1669294249058; Thu, 24 Nov 2022 04:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669294249; cv=none; d=google.com; s=arc-20160816; b=SYRAErnSUsu5gerzfcd4ouNZHxH6Xwx1MGgn4z/2TNnjreii847JIBLOdYVXqcmv01 LvhEB99zoWIcV6W24cBGFVF46H/11yLQF/MGZtJuxFvj1fKsYvvU5gWHHZUDGAgtmk43 6FOhkq7luhJ0XnGt6LM/eVfZAtHepN12Pj2JUeU2HOqxBYIbplbncCIco2w4Zc85wrZ1 D0MV7vrrZlWWlvkQjEdx4ehYMETnF6tftI87R9qUw3Z0hbjFlQPIkxoQijLjHoBG+Eor Dt4hWf1R200THDvew/fk7kIzLuQ4YMWP+ZpF/RRNkAK9ivNwinQSQXbXrubuK4aHm7c6 LyHQ== 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=To7oIj3xlstxDJLovDga6gmsNv+yahCX7K9mhqQxSyU=; b=rhO/sUVe80DpPfpKjWD0kkRpc/p05x/yKILrKr4FSi9LB412B9OSZDLMCrYWt/I3Pv SJAeNbt4qu3MDxXmUqZULVqKRzvPa8qVfoEmY2r7pYljUWLY7jDbfez3j2IJAPFdKSiE jK/VidWkQ5x00ZnyeLymlw9+35V5biC1PjlGAv6W92hz60cnKKW6r5BGkOWgNDuKjCdE F53Ro18hAU6ZaCIJJRsmxwkKLD/iaU+iFqyE1skN1ToCVbmid9RkH2zvcTNuWxUGywm4 cgPWnOEeAAp+t5yS3IrSGW6o0k4/A7rfSZmY5hkk0INMe9zwwU5Wf9zDPH0yIByjOC/M 0LSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dB+SBaRn; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=UT3xMvR6; 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 me18-20020a17090b17d200b00218daa77393si1206711pjb.170.2022.11.24.04.50.38; Thu, 24 Nov 2022 04:50:49 -0800 (PST) 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=dB+SBaRn; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=UT3xMvR6; 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 S230282AbiKXMDK (ORCPT + 86 others); Thu, 24 Nov 2022 07:03:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230221AbiKXMCz (ORCPT ); Thu, 24 Nov 2022 07:02:55 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6653E1CB22; Thu, 24 Nov 2022 04:02:54 -0800 (PST) Date: Thu, 24 Nov 2022 12:02:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669291372; 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=To7oIj3xlstxDJLovDga6gmsNv+yahCX7K9mhqQxSyU=; b=dB+SBaRnOOHrGWqI6FfkWpO/MMSX0Pj2zH62MSD7I334gzwfIWgL4J0W9MjW2yOnaJGZF9 XNTDoYPOwnK1h9FxrdbSiET+0llVy4J3PIbYF4jIzaIkT/Ws8BR1sTYkqRhiyRPkZtttat wPQamie9qjPj4gfyxN5DMPd46Ci3TtYL/gn+mKB9eKyIaw3hURly7M/5hcVFr5Y83i1ajW 7iOAG4LahxenZhXuwXgyJDNGGP1j6Vme1mMmIVZKDeh6Qxg1u3BByBEF+TFOIAL2EXsazd yEi41dXYar7i/dN7FC/Pn23mERzEgHQCjyrWfas57VtKETUAWz1fmiYpQJaBqA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669291372; 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=To7oIj3xlstxDJLovDga6gmsNv+yahCX7K9mhqQxSyU=; b=UT3xMvR6mBtKEWyFIvDJOw7wiMcetjDRq7fQddwDtuaXuLkvz6NsHD6B3wqlreae0SnJaV OAVrx1nRLU9as3Aw== From: "tip-bot2 for Alexander Antonov" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] perf/x86/intel/uncore: Update sysfs-devices-mapping file Cc: Alexander Antonov , "Peter Zijlstra (Intel)" , Kan Liang , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20221117122833.3103580-11-alexander.antonov@linux.intel.com> References: <20221117122833.3103580-11-alexander.antonov@linux.intel.com> MIME-Version: 1.0 Message-ID: <166929137153.4906.11100268678842231768.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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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: 61fb0f7e974ac00ead611c00a57efdafac7785b5 Gitweb: https://git.kernel.org/tip/61fb0f7e974ac00ead611c00a57efdafac7785b5 Author: Alexander Antonov AuthorDate: Thu, 17 Nov 2022 12:28:32 Committer: Peter Zijlstra CommitterDate: Thu, 24 Nov 2022 11:09:24 +01:00 perf/x86/intel/uncore: Update sysfs-devices-mapping file Add description for /sys/devices/uncore_upi_*/die* attributes to sysfs-devices-mapping. Signed-off-by: Alexander Antonov Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Kan Liang Link: https://lore.kernel.org/r/20221117122833.3103580-11-alexander.antonov@linux.intel.com --- Documentation/ABI/testing/sysfs-devices-mapping | 30 +++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/Documentation/ABI/testing/sysfs-devices-mapping b/Documentation/ABI/testing/sysfs-devices-mapping index 8d202ba..2eee144 100644 --- a/Documentation/ABI/testing/sysfs-devices-mapping +++ b/Documentation/ABI/testing/sysfs-devices-mapping @@ -1,6 +1,6 @@ What: /sys/devices/uncore_iio_x/dieX Date: February 2020 -Contact: Roman Sudarikov +Contact: Alexander Antonov Description: Each IIO stack (PCIe root port) has its own IIO PMON block, so each dieX file (where X is die number) holds "Segment:Root Bus" @@ -32,3 +32,31 @@ Description: IIO PMU 0 on die 1 belongs to PCI RP on bus 0x40, domain 0x0000 IIO PMU 0 on die 2 belongs to PCI RP on bus 0x80, domain 0x0000 IIO PMU 0 on die 3 belongs to PCI RP on bus 0xc0, domain 0x0000 + +What: /sys/devices/uncore_upi_x/dieX +Date: March 2022 +Contact: Alexander Antonov +Description: + Each /sys/devices/uncore_upi_X/dieY file holds "upi_Z,die_W" + value that means UPI link number X on die Y is connected to UPI + link Z on die W and this link between sockets can be monitored + by UPI PMON block. + For example, 4-die Sapphire Rapids platform has the following + UPI 0 topology:: + + # tail /sys/devices/uncore_upi_0/die* + ==> /sys/devices/uncore_upi_0/die0 <== + upi_1,die_1 + ==> /sys/devices/uncore_upi_0/die1 <== + upi_0,die_3 + ==> /sys/devices/uncore_upi_0/die2 <== + upi_1,die_3 + ==> /sys/devices/uncore_upi_0/die3 <== + upi_0,die_1 + + Which means:: + + UPI link 0 on die 0 is connected to UPI link 1 on die 1 + UPI link 0 on die 1 is connected to UPI link 0 on die 3 + UPI link 0 on die 2 is connected to UPI link 1 on die 3 + UPI link 0 on die 3 is connected to UPI link 0 on die 1 \ No newline at end of file