Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp23070lqp; Fri, 12 Apr 2024 09:27:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXvrWuMNQWJzp8fzzQIsNshRGAOHqRWxyaI6UPT2r+EkynGLvsbe/plNSJKoxF9dVr0Ak6fZL3aFPqT4uNqhpb75T9eccrGcyPfqoQl/g== X-Google-Smtp-Source: AGHT+IGaSMbPnro3xY7SAoqXchY1wn1wrgIU8Fe+mZONAmIj6Cts028s0yTd+j4SRSS819hpBSUn X-Received: by 2002:a05:6a20:dda2:b0:1a7:5605:91e1 with SMTP id kw34-20020a056a20dda200b001a7560591e1mr2949945pzb.6.1712939231939; Fri, 12 Apr 2024 09:27:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712939231; cv=pass; d=google.com; s=arc-20160816; b=a8IwnMxyWexjA1JmEvAz6UChC4rIn6wreDPiN5DHUA6oi8x4/b3WQLBr+zEddquvo0 ek3SvTdP+zkVmU5ch55g5nt/SncNamaq4VFW2jM0/vr7/kreYSSyYGwcS/EF81HFAFCM EdS7fqCl54eoJYKBvnZXjbgG1Bo2KTffV0cqTkduELS9WWNsBGnQj5xF3tWqgrEHwlrF UwUP5jtll1gsYJ6C3ZCrrG0H977DY+c4220gIdVQpUIa9gFPDgUXb88VMuXrdVVDtMFl 7foe+XnI+0PHTtRUVTIfc+dVpuKhC1KyxfC6AhKeQZaCIP5Qi+yX5YIHo70FwGMYEIhx vjkw== 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=eBRhcmB83UXt5I9yLGIT1m/d7uOVolrRW4RJDdZ4pis=; fh=22aR/NFsCqnOGZIQzPDG1h79gcfY6gTV1vkpxQGj2A0=; b=kj899BS7g2oBaQzXZVrUuIZO64gYAdJBUezJAtxowBRaI2a5x/DoBTempe56nITMq0 HhGf2G9/WW2ILMznTmnjhZKLbkZ17isLds3w0ECTJU+zwZtyBHmOeUSbjagzzpsskyfa dIHAizChs9f/sSeVIuUVxpe9otNyI5gV74wiKX/38IMEAC5DUGD8pgadmLK9Ej5r/DPs OAU+/PPqcS06FpeXy6FrsMr97Gxlboa1pVSPJr0mSHlfsC0NBh2FpHSSc078nXk2f2L0 awqjMf0XUICJtAJhhUU6Ng8odx4BoVrPqQViwwjNrDKGUqMweY3+A9IviuBtvc7RzFIY KW7A==; 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-143032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id w30-20020a63491e000000b005f0a51d323asi3458520pga.362.2024.04.12.09.27.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 09:27:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::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-143032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143032-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 80C71B25C22 for ; Fri, 12 Apr 2024 16:15:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBAB1148850; Fri, 12 Apr 2024 16:15:05 +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 BB4E05491F; Fri, 12 Apr 2024 16:15:03 +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=1712938505; cv=none; b=P6B1gAzKuxErbO7w4NoPCicFSOK0qGUWMR7RO9WM9k4E8RLmF2eGqJNTKQCTTIKKZTjrPWyo7xvghUX3EalpT5lJLKAYCNQxMSnge3i+JER/F1k/qCZAtxfHXlkPNiwjWuv4bskDmRvB6/XuudPVvD14RtL70uEIt1jpPMd/2+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712938505; c=relaxed/simple; bh=+IWy99af1h3JEWXUPm1/plozSegm1w4gAbK6Yqz41xQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RjXL2n4ePWQeAqGDtMLbr0KhN7bGi9aYreK2nMMYKCFY2S8pTCYoijJIglFQNzg+jQ9iTjgiM5Yzy7OqQPsDPtsoYWxaFCD0HEgcBC4tuDKmaqKDB3ei7gZm2W71e5RNRBIy7/Cd99yXE1sO+BKXOU8VNaGy08Ld1PsDdHc+hw8= 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 4VGM3R0Q5nz688p7; Sat, 13 Apr 2024 00:10:11 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 79F991400F4; Sat, 13 Apr 2024 00:15:01 +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:15:00 +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 08/30] Documentation: xgene-pmu: Use /sys/bus/event_source/devices paths Date: Fri, 12 Apr 2024 17:10:35 +0100 Message-ID: <20240412161057.14099-9-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/xgene-pmu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/perf/xgene-pmu.rst b/Documentation/admin-guide/perf/xgene-pmu.rst index 644f8ed89152..98ccb8e777c4 100644 --- a/Documentation/admin-guide/perf/xgene-pmu.rst +++ b/Documentation/admin-guide/perf/xgene-pmu.rst @@ -13,7 +13,7 @@ PMU (perf) driver The xgene-pmu driver registers several perf PMU drivers. Each of the perf driver provides description of its available events and configuration options -in sysfs, see /sys/devices//. +in sysfs, see /sys/bus/event_source/devices//. The "format" directory describes format of the config (event ID), config1 (agent ID) fields of the perf_event_attr structure. The "events" -- 2.39.2