From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout10.his.huawei.com (canpmsgout10.his.huawei.com [113.46.200.225]) (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 CAE2A335555 for ; Fri, 12 Jun 2026 09:35:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.225 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781256950; cv=none; b=sw94E66u3MKH8mEHacUZ1aQxtfAS2ZWJ7QVKa1SeysOgpYRKIp2d5E3A7d05rhjhKJff9kg0I3CCfwrYeny/eCNnCT6vTkjV9OS4R1S1Sm1xsfWb1+MY+rNITcZlVMXUIsMcXvSopoyp6XGu115CazJkvJNPa3SuYynsMIFCHL8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781256950; c=relaxed/simple; bh=pP7TaXGVfP6Y5V4Uart5y1DHWu8qgRCI765WE1HGMS8=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=IRVAebFOq7249k0CCWKe+zaUIeN+4RdinGejmz4laxs3Qsn1QhFxol6c7kFYAGl4KFIHc6eMZ1Zi6PGrwFJIGz4IbQIGEpjk2ygzq4EPi3GZvcbbtASEuA/NwHy0cIweFE2WJ+VqcWFqwQajL34ZHgF7QUmNES1hOWj8PHOHF7I= 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=P5IU2YFf; arc=none smtp.client-ip=113.46.200.225 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="P5IU2YFf" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=dE1ciaa8dDg/GL7EzAxWIBG0zeW13qYUOeBUcq1061w=; b=P5IU2YFfPLxj8W8ZYOGFS+X6NroylvFlTXHpztRKftHAI27BFK2t7xZlm2O9EvqrSZP9UqG6Q w9MN5uUsQxb3ZI66YzV8coq1JmapXt90Ek5AfiSDWNgkpGSMCEbLsUP6988m2izTFE4LCJQlyBc KSg4GL6NcoExsAls9fCueGo= Received: from mail.maildlp.com (unknown [172.19.163.200]) by canpmsgout10.his.huawei.com (SkyGuard) with ESMTPS id 4gcDh13RfJz1K96Z; Fri, 12 Jun 2026 17:27:45 +0800 (CST) Received: from whupemo500002.china.huawei.com (unknown [7.152.185.250]) by mail.maildlp.com (Postfix) with ESMTPS id 993C340563; Fri, 12 Jun 2026 17:35:39 +0800 (CST) Received: from [10.67.120.139] (10.67.120.139) 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; Fri, 12 Jun 2026 17:35:38 +0800 Message-ID: Date: Fri, 12 Jun 2026 17:35:37 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/3] drivers/perf: hisi: Updates for HiSilicon uncore PMUs To: , , , , CC: , , , , References: <20260612093207.1242000-1-wangyushan12@huawei.com> Content-Language: en-US From: Yushan Wang In-Reply-To: <20260612093207.1242000-1-wangyushan12@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: kwepems500001.china.huawei.com (7.221.188.70) To whupemo500002.china.huawei.com (7.152.185.250) There are some issues with patch 1, please ignore this, sorry. On 6/12/2026 5:32 PM, Yushan Wang wrote: > 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. > > Changes: > 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 (2): > drivers/perf: hisi: Replace counter number with defined macro > drivers/perf: hisi: Support uncore ITS PMU > > Documentation/admin-guide/perf/hisi-pmu.rst | 12 + > drivers/perf/hisilicon/Makefile | 2 +- > drivers/perf/hisilicon/hisi_uncore_its_pmu.c | 375 +++++++++++++++++++ > drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c | 2 +- > drivers/perf/hisilicon/hisi_uncore_mn_pmu.c | 61 ++- > 5 files changed, 444 insertions(+), 8 deletions(-) > create mode 100644 drivers/perf/hisilicon/hisi_uncore_its_pmu.c >