From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout06.his.huawei.com (canpmsgout06.his.huawei.com [113.46.200.221]) (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 38F7A35AC33 for ; Thu, 23 Apr 2026 15:30:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.221 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776958205; cv=none; b=A+k5J9260gk1rcp1Aeqxz0frK5S257ZVgH3hEMEQ41dA9khTTkxYnkLnMQtMuW4Sr2Q6gR09myV0tBu8V2qtEsVgmE+XsIxAmWzN1LUoAOcJfQWbV9tKn3x162OkXPLtM9yoFTu/t22KrmYBFz3k8oXzXGIgS7g2MtnT6yBjUS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776958205; c=relaxed/simple; bh=595K6G45VWKInCYvTuyxVZgBceLyg0S6Wyh3sd2P/sc=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=X9ilQ8ytU236tQZIotE8YCa9lryer3fqkv4fxRgvArOQAgjwbnLaOnM6G+VNvlYwST7H3YKK96h7pRqE5LTBJblaKhqwSlciqI8HcHMdAm6OVBxUVJbws1BFV7WQ9dCGHBm3A+QFjYFHHamS975mnpLIMiDcpr/UYASSvl+OFyw= 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; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=37q95/+1; arc=none smtp.client-ip=113.46.200.221 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="37q95/+1" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=oydNtzEt1LRjUCLvgYcUpXfY0tX3l6IxOyq6rWlJJdo=; b=37q95/+1nlLp3jCnWSxNBxI7X3Ux/WOIlxCYN/IpE0ms42+MsvkTC26OGhAPPIGJXUWIA6XLB J3usBkINMN1/sVpfXiIzFah0lryRjO9zIrVBIiynfS/uDvZETEix7ml3RuLHW5u7lGyTrTCma0d 8Gj9fnaWf4mMDOFuH5Q9pG8= Received: from mail.maildlp.com (unknown [172.19.162.223]) by canpmsgout06.his.huawei.com (SkyGuard) with ESMTPS id 4g1fxj15BHzRhR4; Thu, 23 Apr 2026 23:23:37 +0800 (CST) Received: from dggemv705-chm.china.huawei.com (unknown [10.3.19.32]) by mail.maildlp.com (Postfix) with ESMTPS id 8333740571; Thu, 23 Apr 2026 23:30:00 +0800 (CST) Received: from kwepemn100008.china.huawei.com (7.202.194.111) by dggemv705-chm.china.huawei.com (10.3.19.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 23 Apr 2026 23:30:00 +0800 Received: from localhost.huawei.com (10.90.31.46) by kwepemn100008.china.huawei.com (7.202.194.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Thu, 23 Apr 2026 23:29:59 +0800 From: Yushan Wang To: , , , , CC: , , , , , Subject: [PATCH 0/2] drivers/perf: hisi: Updates for HiSilicon uncore PMUs Date: Thu, 23 Apr 2026 23:29:57 +0800 Message-ID: <20260423152959.1458563-1-wangyushan12@huawei.com> X-Mailer: git-send-email 2.33.0 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: kwepems500001.china.huawei.com (7.221.188.70) To kwepemn100008.china.huawei.com (7.202.194.111) This patchset added support of ITS PMU, and new version of MN PMU. ITS PMU supports counting number and latency of interrupts by catagory, and statistics of micro-ops of ITS. The new version of MN PMU added cycles event, to be used for MN metric computing. Yifan Wu (1): drivers/perf: hisi: Add new function for HiSilicon MN PMU driver Yushan Wang (1): drivers/perf: hisi: Support uncore ITS PMU Documentation/admin-guide/perf/hisi-pmu.rst | 6 + drivers/perf/hisilicon/Makefile | 2 +- drivers/perf/hisilicon/hisi_uncore_its_pmu.c | 365 +++++++++++++++++++ drivers/perf/hisilicon/hisi_uncore_mn_pmu.c | 61 +++- 4 files changed, 427 insertions(+), 7 deletions(-) create mode 100644 drivers/perf/hisilicon/hisi_uncore_its_pmu.c -- 2.33.0