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 CC854C54756 for ; Thu, 22 May 2025 09:10:32 +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:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:CC:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=M9R71UX8NEYk58ZlEImpKLWjCn+AKzWOGW7F4PMoRrs=; b=a0CcWSVtmHE44ZbgfoITjdkJLI YZJWuE0bcSbZzqHXzlkrXbQ9uDrfl8mpd7cEYWmMKz021Mv7gN+gG9RXnlPX2TTUseA/fpxiqN8Ii Avn0vCxJePv4mpYDZ5WU4j4FkO10tWAnJyWRFkFvo241Qw+hFACooHO/Aev46eL6jBlQp0MWicpd2 AuJWRPdVf0yQRwXyr/jsgSQmwpt1yDyZosFQcZwKP7G4DzgisnUGyCSN7ZhLqPcnhSN7VaMH4F8+Q zPWXZY0/uy9V6PBGpibNQxjO4xUGww7l4X3nIpke0AcH1kCvUHSplvD+6Lm0GgUUzSSdbji1NiloE OIbCtCXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uI1wW-00000000R06-0qrA; Thu, 22 May 2025 09:10:24 +0000 Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uI1th-00000000QbD-02Lp for linux-arm-kernel@lists.infradead.org; Thu, 22 May 2025 09:07:30 +0000 Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4b32T830LxzVmcC; Thu, 22 May 2025 17:06:04 +0800 (CST) Received: from dggemv712-chm.china.huawei.com (unknown [10.1.198.32]) by mail.maildlp.com (Postfix) with ESMTPS id D0E20140134; Thu, 22 May 2025 17:07:19 +0800 (CST) Received: from kwepemq200018.china.huawei.com (7.202.195.108) by dggemv712-chm.china.huawei.com (10.1.198.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 22 May 2025 17:07:19 +0800 Received: from [10.67.121.177] (10.67.121.177) by kwepemq200018.china.huawei.com (7.202.195.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 22 May 2025 17:07:18 +0800 CC: , , , , , , , , , , , , , , , , , , , , , Joe Mario Subject: Re: [PATCH v2 0/3] Add support for SPE Data Source packet on HiSilicon HIP12 To: Arnaldo Carvalho de Melo References: <20250425033845.57671-1-yangyicong@huawei.com> From: Yicong Yang Message-ID: Date: Thu, 22 May 2025 17:07:18 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.121.177] X-ClientProxiedBy: kwepems200002.china.huawei.com (7.221.188.68) To kwepemq200018.china.huawei.com (7.202.195.108) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250522_020729_205131_867CFEA8 X-CRM114-Status: GOOD ( 16.61 ) 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 2025/5/21 22:49, Arnaldo Carvalho de Melo wrote: > On Wed, May 14, 2025 at 11:38:42AM +0800, Yicong Yang wrote: >> a gentle ping on this.. > > So this involves both kernel and tooling, as soon as someone merges the > kernel part, I can try and get to the user part, > the kernel part only add the cputype definition, then the definition update is synchronized in both userspace/kernel headers. So the changes in the userspace actually have no dependency on the kernel one. Thanks. > - Arnaldo > >> Thanks. >> >> On 2025/4/25 11:38, Yicong Yang wrote: >>> From: Yicong Yang >>> >>> Add support for Data Source packet on HIP12. Support counting L2 HITM for c2c >>> statistic since it was missing. >>> >>> Change since v2: >>> - split the kernel/userspace changes into different patch >>> - revise some mem_snoop decoding according to the discussion >>> - count missing L2 HITM for c2c statistic >>> Link: https://lore.kernel.org/linux-perf-users/20250408122809.37884-1-yangyicong@huawei.com/ >>> >>> Yicong Yang (3): >>> arm64: cputype: Add cputype definition for HIP12 >>> perf arm-spe: Add support for SPE Data Source packet on HiSilicon >>> HIP12 >>> perf mem: Count L2 HITM for c2c statistic >>> >>> arch/arm64/include/asm/cputype.h | 2 + >>> tools/arch/arm64/include/asm/cputype.h | 2 + >>> .../util/arm-spe-decoder/arm-spe-decoder.h | 17 ++++ >>> tools/perf/util/arm-spe.c | 96 +++++++++++++++++++ >>> tools/perf/util/mem-events.c | 5 +- >>> 5 files changed, 121 insertions(+), 1 deletion(-) >>> > > . >