Message ID | 20240204074527.47110-1-yangyicong@huawei.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 7A3C5C4828F for <linux-arm-kernel@archiver.kernel.org>; Sun, 4 Feb 2024 07:50:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=V2o+UVgsAfCxr6ndiJ/ka1kPlKkh4BIEqVXU1uxDoIs=; b=whjJ0wUeqdE1RK nFE+PjDSh/YzqiV1g6UiwdU9aIpzHXZ+5KdyS7RswO9ILBZJMMZpTQ4Nt9VQG/PmnbzEYECgBeoeS NmDOI3koRXSeYpb4mTjXrpTza6vRP+pxnjJZjbbVhV/MoEaSP61r3ogMT+n7+OVxxmSvYbHxBldLa DfDlSGqsNY814merE6kOFGkigNDTFwfZ3Ka7Z8tLKnnfZCx17vG997347n1AHbxanbdJLnue+gg44 9b5l64XT6R+TJz23kTf19CHaggAMcFmQeCktqLmPgjrsHpdrJDVFaYhSH58bMjuHWz5WadIlJBcI1 Oi8sj5V4lhqWBfg1dcCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWXGC-00000000M5n-3pBm; Sun, 04 Feb 2024 07:49:52 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWXG8-00000000M1m-0JoV for linux-arm-kernel@lists.infradead.org; Sun, 04 Feb 2024 07:49:50 +0000 Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4TSM7j5MRszsWsW; Sun, 4 Feb 2024 15:48:17 +0800 (CST) Received: from canpemm500009.china.huawei.com (unknown [7.192.105.203]) by mail.maildlp.com (Postfix) with ESMTPS id DA800140384; Sun, 4 Feb 2024 15:49:34 +0800 (CST) Received: from localhost.localdomain (10.50.165.33) by canpemm500009.china.huawei.com (7.192.105.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 4 Feb 2024 15:49:34 +0800 From: Yicong Yang <yangyicong@huawei.com> To: <jonathan.cameron@huawei.com>, <will@kernel.org>, <mark.rutland@arm.com>, <hejunhao3@huawei.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: <yangyicong@hisilicon.com>, <linuxarm@huawei.com>, <prime.zeng@hisilicon.com>, <fanghao11@huawei.com> Subject: [PATCH 0/7] Several updates for HiSilicon PCIe PMU driver Date: Sun, 4 Feb 2024 15:45:20 +0800 Message-ID: <20240204074527.47110-1-yangyicong@huawei.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 X-Originating-IP: [10.50.165.33] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500009.china.huawei.com (7.192.105.203) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240203_234948_309411_0405DD4C X-CRM114-Status: UNSURE ( 7.96 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Several updates for HiSilicon PCIe PMU driver
|
expand
|
From: Yicong Yang <yangyicong@hisilicon.com> This series mainly fix and optimize the several usage of the driver: - Add more events to complement the TLP bandwidth counting - Fix the wrong counting on using the event group - Properly check the target filter to avoid invalid filter value - Optimize the handling of related events which are not in an event group - Update the docs Junhao He (4): drivers/perf: hisi_pcie: Check the target filter properly drivers/perf: hisi_pcie: Relax the check on related events drivers/perf: hisi_pcie: Merge find_related_event() and get_event_idx() docs: perf: Update usage for target filter of hisi-pcie-pmu Yicong Yang (3): drivers/perf: hisi_pcie: Introduce hisi_pcie_pmu_get_filter() drivers/perf: hisi_pcie: Fix incorrect counting under metric mode drivers/perf: hisi_pcie: Add more events for counting TLP bandwidth .../admin-guide/perf/hisi-pcie-pmu.rst | 31 ++++-- drivers/perf/hisilicon/hisi_pcie_pmu.c | 99 ++++++++++--------- 2 files changed, 74 insertions(+), 56 deletions(-)