From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51C84C83F25 for ; Thu, 29 Aug 2024 13:46:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:CC:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=51o8/a4bPpuEa9Vcpnp96r370LgpYlrDJLHhk5uBKn0=; b=bzjbL1hT/kwPVtOqoABKS/STrB ZDKYB2WMUipGEtty+XdA7bbppR/N+VlPm2jbHn1rDWj+wkXQBxWw0AHXlG/Ay14nKwmLK4AYpw6Ah J2Z9ap+NqTUuFyqYlfaGHfJCshvlaRKdnX02hhVujLeeZykeIlX0x1zjJ7gLuGrAvTB8Zy1d5w0/s O5MO1LYvm3wT/WjUKi+1yrFUnBk//obPkkO+rWeX6D9PEz36JJxQtBzLwaUDq5RpE3ieLzGPrM61A fXUpmPEpHSOHdIejQj3b2JiE4W8YElaxbpL4Lf3Rjr8R0Gbcqv/xwgZsN1gjS50nQ8t90GuODAFMk lZ2gw8Vw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjfU5-00000002FWw-0q7g; Thu, 29 Aug 2024 13:46:45 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjfQp-00000002EpJ-3mxn for linux-arm-kernel@bombadil.infradead.org; Thu, 29 Aug 2024 13:43:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Subject:CC:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=51o8/a4bPpuEa9Vcpnp96r370LgpYlrDJLHhk5uBKn0=; b=Wv0QhqvH5h8U4jskchbNNdC9jS 9zvP/l+ErqU7ppXpxLiZTKiT4xSub/nMUbujPwprtfCSD3ob1tKzWlAStkpS2cQxBgXuDt8lkE+/4 hbd6Ajzs00i2k9QhxvX1ErVdWtZkMI63yv4400QRF1KrULzJtJbWd/Pt2AtK8F42uc41Zf35wIh8l YOrnupvsWBRLtbRKwMESf1lhYIPbgXI960VZWIbo0H042EJtJIni0xtXVk4IO72nk1yozFMkCZrac r93f/+TS8GWT5gas3XXqfZ4/DCol8xwUDEaBjWT7ACGndB6i2XKJ7OGhcocQrPKZNVoijtKn17CJY Sazvh0Tw==; Received: from frasgout.his.huawei.com ([185.176.79.56]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjfQm-0000000BRfO-1vBG for linux-arm-kernel@lists.infradead.org; Thu, 29 Aug 2024 13:43:22 +0000 Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Wvj763gfRz6F97T; Thu, 29 Aug 2024 21:39:14 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 36F9314050D; Thu, 29 Aug 2024 21:43:19 +0800 (CST) Received: from localhost (10.203.177.66) 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.39; Thu, 29 Aug 2024 14:43:18 +0100 Date: Thu, 29 Aug 2024 14:43:18 +0100 From: Jonathan Cameron To: Yicong Yang CC: , , , , , , Subject: Re: [PATCH 3/3] drivers/perf: hisi_pcie: Export supported Root Ports [bdf_min, bdf_max] Message-ID: <20240829144318.00002755@Huawei.com> In-Reply-To: <20240829090332.28756-4-yangyicong@huawei.com> References: <20240829090332.28756-1-yangyicong@huawei.com> <20240829090332.28756-4-yangyicong@huawei.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.203.177.66] X-ClientProxiedBy: lhrpeml100002.china.huawei.com (7.191.160.241) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_144320_643819_1C8E3B3B X-CRM114-Status: UNSURE ( 7.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 29 Aug 2024 17:03:32 +0800 Yicong Yang wrote: > From: Yicong Yang > > Currently users can get the Root Ports supported by the PCIe PMU by > "bus" sysfs attributes which indicates the PCIe bus number where > Root Ports are located. This maybe insufficient since Root Ports > supported by different PCIe PMUs may be located on the same PCIe bus. > So export the BDF range the Root Ports additionally. > > Signed-off-by: Yicong Yang Acked-by: Jonathan Cameron