Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp17757lqp; Fri, 12 Apr 2024 09:18:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXVlTfWlEIWniak0q8OrZVed5vjSFgJ+kvmofX+ZzcaXrwkrkvNdcNFkyvC7vQzJv2Vq0Xo8wa69ZbvW+PJsPN3G5yH6cUe8oz1vleOUw== X-Google-Smtp-Source: AGHT+IGVi3rbT+ZVQzL3CsTmmw0UgXorkmY/eUud7qj66+EQnoNLTQDp35PfWNps+3HksU0geB7B X-Received: by 2002:a05:6870:71d2:b0:232:fa72:bdd0 with SMTP id p18-20020a05687071d200b00232fa72bdd0mr3408810oag.5.1712938721951; Fri, 12 Apr 2024 09:18:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712938721; cv=pass; d=google.com; s=arc-20160816; b=psqy8pgDTmJ6iraxAQwqEL/ETJbAUjYvT1OwO6amuwBIXHJ2+oT0+LIDl6dzdRjFVR K690BnZAtEEnDxeB+B9qnE5AgOfcrDTlckyPsn6z2IYBcWJxAc63/GkFFZSz2y5InePP aFF7jOblw6WAcyxGwqsdi71QLQUnqk2ZSMiH52L3yzt1GNqpnLBZ1V8aqeLe8vbhIRb2 GIq6oGqQfw/NW8prQqapo5OzcQ/qtenGe+Ohs2E5lIK/Ncco89zIJ54Xtb1cpzETxWpO ZIP1Wz15/KXHoIa7JuH9DBugJN1J0wX+2W2s/KQv5vZp+DGRa+mUALmUFNzc4VQpIypN 8GZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=BiAfhEB5fus52gFLaEDrSYZxPG3CL8F/Mz5P4UESVao=; fh=22aR/NFsCqnOGZIQzPDG1h79gcfY6gTV1vkpxQGj2A0=; b=WGSmU6NxtlpyAV250DeepbsPgffymHh9K7kv/4VFMc4gA6L1p8YGhFY4sHsABZd4A5 zmhaBkWeqwkyBqyIO5A1g37XLv7xSBobST0VIgwW6YpK0HcUXv7Xy+MJNMYPThd9lTQq Nlf3o9svbBHsWNDoQNzLwgKO1OwtIrp1nELjPQpye6/SzTu0MMpTaSJZrWzGOsGBZdiG s5w1PIRE8xgxuQ57uqWDH7natL6PdiW2jCdR/7+XwEWJDum25Ee7nY5NnEv3jULK6kdG iPIouVHDFkYAbWyglL9gCuUEQPtqA9bRWNiGc0vhxOvVPkqbeEMMDO6kauAtZDoY/VYy 4B6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-143044-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143044-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h14-20020a63530e000000b005d70bdd12f1si3408958pgb.189.2024.04.12.09.18.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 09:18:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143044-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-143044-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143044-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9D695281FD9 for ; Fri, 12 Apr 2024 16:18:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7689E5491F; Fri, 12 Apr 2024 16:17:46 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF10F14A4CF; Fri, 12 Apr 2024 16:17:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712938665; cv=none; b=good3DYhy1fQ838kVB/to7nW8HcENMW8+oTCnzo9R/NlvdKYzSOro1+Ov2bhC+4HOLV+fHhnofqy0Py7WMnpgc5wH+ix3fkW2WCZGgJc8yQmwWdTK3xtOhilplFVTFzAl2ek6XfVrSZYALnkAMUCWM8mq+Ev4CzJT9HANTEvQX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712938665; c=relaxed/simple; bh=BOV8cMImDOBvm8peb+XAJP16YrY2ZoXrm4injsYTtk0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qOuu2u1APwCQEfXEHQ1x97zpdIfwkfOskL+51/FTISnel2Kz7MUkkTkVCNFiwkb84y6RKYxWP9c5G1V4MRi5MG300jcJcjvaEofv+M/EyiBTmTu6mEwpFUr3BDxnP7TvDVI5lPg43bVkiq5VabIKKrvie/J81pIAn/Izw6ft5mw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4VGM9y5mlnz67ZR2; Sat, 13 Apr 2024 00:15:50 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 574A21400F4; Sat, 13 Apr 2024 00:17:35 +0800 (CST) Received: from SecurePC-101-06.china.huawei.com (10.122.247.231) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 12 Apr 2024 17:17:34 +0100 From: Jonathan Cameron To: Mark Rutland , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Will Deacon , , , CC: , Shaokun Zhang , Yicong Yang , Jiucheng Xu , Khuong Dinh , Atish Patra , Anup Patel , Andy Gross , Bjorn Andersson , Frank Li , Shuai Xue , Vineet Gupta , Shawn Guo , Fenghua Yu , Dave Jiang , Wu Hao , Tom Rix , , Suzuki K Poulose , Liang Kan Subject: [PATCH v2 13/30] Documentation: qcom-pmu: Use /sys/bus/event_source/devices paths Date: Fri, 12 Apr 2024 17:10:40 +0100 Message-ID: <20240412161057.14099-14-Jonathan.Cameron@huawei.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240412161057.14099-1-Jonathan.Cameron@huawei.com> References: <20240412161057.14099-1-Jonathan.Cameron@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: lhrpeml100003.china.huawei.com (7.191.160.210) To lhrpeml500005.china.huawei.com (7.191.163.240) To allow setting an appropriate parent for the struct pmu device remove existing references to /sys/devices/ path. Signed-off-by: Jonathan Cameron --- Documentation/admin-guide/perf/qcom_l2_pmu.rst | 2 +- Documentation/admin-guide/perf/qcom_l3_pmu.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/perf/qcom_l2_pmu.rst b/Documentation/admin-guide/perf/qcom_l2_pmu.rst index c130178a4a55..c37c6be9b8d8 100644 --- a/Documentation/admin-guide/perf/qcom_l2_pmu.rst +++ b/Documentation/admin-guide/perf/qcom_l2_pmu.rst @@ -10,7 +10,7 @@ There is one logical L2 PMU exposed, which aggregates the results from the physical PMUs. The driver provides a description of its available events and configuration -options in sysfs, see /sys/devices/l2cache_0. +options in sysfs, see /sys/bus/event_source/devices/l2cache_0. The "format" directory describes the format of the events. diff --git a/Documentation/admin-guide/perf/qcom_l3_pmu.rst b/Documentation/admin-guide/perf/qcom_l3_pmu.rst index a3d014a46bfd..a66556b7e985 100644 --- a/Documentation/admin-guide/perf/qcom_l3_pmu.rst +++ b/Documentation/admin-guide/perf/qcom_l3_pmu.rst @@ -9,7 +9,7 @@ PMU with device name l3cache__. User space is responsible for aggregating across slices. The driver provides a description of its available events and configuration -options in sysfs, see /sys/devices/l3cache*. Given that these are uncore PMUs +options in sysfs, see /sys/bus/event_source/devices/l3cache*. Given that these are uncore PMUs the driver also exposes a "cpumask" sysfs attribute which contains a mask consisting of one CPU per socket which will be used to handle all the PMU events on that socket. -- 2.39.2