From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) (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 BA54D21773D for ; Mon, 13 Jul 2026 12:57:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.190 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783947433; cv=none; b=FZo+FZqwcRuQ/eusxpUE4eerLBI8u8oSo2vRwvlWeIwoSDx1d9u4JWpnF4Y7KPATNCCBsEOA9ehv4ZFPqU41PjUmwckUwpeJTcAK8C50LwS3AhSCgyhjYilKGDNiYNbrxTlzBNINS6HtMV5d1MkflzwKSIv6xqE+gV1va9JV6b8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783947433; c=relaxed/simple; bh=RnBysqrovv1TtWaoRDSDDEbu9ccI+h4CjvMx2RbSjSY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=VO87jovy7iz2DLkBP8Mj1zdBlVanhesfkDomcP4FRvxqd2TOe+fX7DHhlpKRqZ3It1a+Z0Pzhlqs22oHSVfD3nxTDkJCU4JKVPkklgQoHGmAzoBps0X1ssXQ30x4uC/0O1AUGM7Y2Jy2TaEv3KJpTujsvkSxmXdrrm3krSpsXEA= 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=dbjGrb0x; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=dbjGrb0x; arc=none smtp.client-ip=45.249.212.190 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="dbjGrb0x"; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="dbjGrb0x" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=r2P2h/hlQL6bUMZLMBww/Yq/yyyXBLN/tn4yEf7e6ik=; b=dbjGrb0xGLkF7U7sSfwE49VbLhixl/4u4wiGTAr6vPthdKAwN2sb9qTPHQEga/95C3xUP4sOv m1V/7luCxoCUlLTysm3i81fURorpXobj4q/akEarjaV7IcAfqpWMNBfGGqJs15WmJjRlr3rx1U7 pK3+pa2sJ7ZWf+3rNvQzs3o= Received: from canpmsgout12.his.huawei.com (unknown [172.19.92.144]) by szxga04-in.huawei.com (SkyGuard) with ESMTPS id 4gzMrW4Rl3z126LwF for ; Mon, 13 Jul 2026 20:56:27 +0800 (CST) dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=r2P2h/hlQL6bUMZLMBww/Yq/yyyXBLN/tn4yEf7e6ik=; b=dbjGrb0xGLkF7U7sSfwE49VbLhixl/4u4wiGTAr6vPthdKAwN2sb9qTPHQEga/95C3xUP4sOv m1V/7luCxoCUlLTysm3i81fURorpXobj4q/akEarjaV7IcAfqpWMNBfGGqJs15WmJjRlr3rx1U7 pK3+pa2sJ7ZWf+3rNvQzs3o= Received: from mail.maildlp.com (unknown [172.19.163.200]) by canpmsgout12.his.huawei.com (SkyGuard) with ESMTPS id 4gzMdt0xRqznTc6; Mon, 13 Jul 2026 20:47:14 +0800 (CST) Received: from whupemo500002.china.huawei.com (unknown [7.152.185.250]) by mail.maildlp.com (Postfix) with ESMTPS id 5D2B44055B; Mon, 13 Jul 2026 20:56:50 +0800 (CST) Received: from localhost.huawei.com (10.90.31.46) by whupemo500002.china.huawei.com (7.152.185.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 13 Jul 2026 20:56:49 +0800 From: Yushan Wang To: , , , , CC: , , , , , Subject: [PATCH v3 0/2] drivers/perf: hisi: Updates for HiSilicon uncore PMUs Date: Mon, 13 Jul 2026 20:56:45 +0800 Message-ID: <20260713125647.2958626-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: kwepems200001.china.huawei.com (7.221.188.67) To whupemo500002.china.huawei.com (7.152.185.250) This patchset added support of ITS PMU, and new version of MN PMU. ITS PMU supports counting number and latency of interrupts by category, and statistics of micro-ops of ITS. The new version of MN PMU added cycles event, to be used for MN metric computing. Changes: v3: - Added check_filter callback to refuse new filtered events when there are already filtered ones running as per Sashiko. Link to v2: https://lore.kernel.org/all/20260612093812.1249049-1-wangyushan12@huawei.com/ Link to Sashiko review report: https://sashiko.dev/#/message/20260612093812.1249049-1-wangyushan12%40huawei.com v2: - Added int_en filter to tell if int_id is used, enabling filtering interrupt with 0 int_id per Sashiko. - Changed event format width to align with register width per Sashiko. Link to v1: https://lore.kernel.org/all/20260423152959.1458563-1-wangyushan12@huawei.com/ Link to Sashiko review report: https://sashiko.dev/#/patchset/20260423152959.1458563-1-wangyushan12%40huawei.com 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 | 13 + drivers/perf/hisilicon/Makefile | 2 +- drivers/perf/hisilicon/hisi_uncore_its_pmu.c | 393 +++++++++++++++++++ drivers/perf/hisilicon/hisi_uncore_mn_pmu.c | 63 ++- 4 files changed, 463 insertions(+), 8 deletions(-) create mode 100644 drivers/perf/hisilicon/hisi_uncore_its_pmu.c -- 2.33.0