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 89C28C07E9D for ; Mon, 26 Sep 2022 14:18:41 +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:References:In-Reply-To: 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: List-Owner; bh=4Vx5D9oJeQKiti4BBHe9ryHu2jrPPtjIqOftCE21wqU=; b=gbotqFRSGWV5cu jO3QnxaZJVguGncvDUXP2gVkTpMFpSi6ZMe6AUHG4Vj91x80RVttmM3AuRi+QfShMUnA1Yhen3AXD F+3817/lgd9rdxB1VaSLbFli/9fkCM18cCOV2pSeR4EE9n3RcweaVb1iLpC0P8H03v+AqLlboYnPS OfXb8U5qwYOsHtfyv7vEvP3AjwHAuG9S1j7iMYd/hANqo3R6qsVtpN9xfqJ9Yi/W92NiB5KbnoiyX i2ukf9Fc/QdgmRkGWOYP56k6vLrmVxZ2eP6c7IgHvZgku/R/RcL3lWCqQjdk2yTCCM/QIpUq5/it1 UGaAAcQ/dv/OOcEvy6Nw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocovY-005KYc-EF; Mon, 26 Sep 2022 14:17:44 +0000 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocovV-005KX1-NC for linux-arm-kernel@lists.infradead.org; Mon, 26 Sep 2022 14:17:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1664201862; x=1695737862; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BBzeIIKz/LcOJedaqZyeeCjFt9aw0fAR/RhHCsWbipI=; b=EDw9q/vk1DdaGviFitIKssclw0WO+249vkZdoFn4vXiZmUUjeLDWa8jK cr3JB78P7BWHRTaolqYUZA0/oedQUoyIeZ3H4I8gHC1k+tQY+vOCig2ip UW9ivzQvkr+HCPfpmXDPn+sCyX0kJQ65zb73QIaaHcBLGgx0Npi1cMGKy s=; X-IronPort-AV: E=Sophos;i="5.93,346,1654560000"; d="scan'208";a="263256718" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-pdx-2a-11a39b7d.us-west-2.amazon.com) ([10.25.36.210]) by smtp-border-fw-9102.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2022 14:10:38 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2a-11a39b7d.us-west-2.amazon.com (Postfix) with ESMTPS id B89C7455BF; Mon, 26 Sep 2022 14:10:37 +0000 (UTC) Received: from EX19D002UWA001.ant.amazon.com (10.13.138.247) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Mon, 26 Sep 2022 14:10:37 +0000 Received: from EX13MTAUWB001.ant.amazon.com (10.43.161.207) by EX19D002UWA001.ant.amazon.com (10.13.138.247) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1118.12; Mon, 26 Sep 2022 14:10:36 +0000 Received: from dev-dsk-alisaidi-1d-b9a0e636.us-east-1.amazon.com (172.19.181.128) by mail-relay.amazon.com (10.43.161.249) with Microsoft SMTP Server id 15.0.1497.38 via Frontend Transport; Mon, 26 Sep 2022 14:10:36 +0000 Received: by dev-dsk-alisaidi-1d-b9a0e636.us-east-1.amazon.com (Postfix, from userid 5131138) id 8B4B820A8; Mon, 26 Sep 2022 14:10:35 +0000 (UTC) From: Ali Saidi To: CC: , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH] perf arm-spe: augment the data source type with neoverse_spe list Date: Mon, 26 Sep 2022 14:10:32 +0000 Message-ID: <20220926141032.30734-1-alisaidi@amazon.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <1664197396-42672-1-git-send-email-renyu.zj@linux.alibaba.com> References: <1664197396-42672-1-git-send-email-renyu.zj@linux.alibaba.com> MIME-Version: 1.0 Precedence: Bulk X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220926_071741_818284_7FF2F5A9 X-CRM114-Status: UNSURE ( 7.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > When synthesizing event with SPE data source, commit 4e6430cbb1a9("perf > arm-spe: Use SPE data source for neoverse cores") augment the type with > source information by MIDR. However, is_midr_in_range only compares the > first entry in neoverse_spe. > > Change is_midr_in_range to is_midr_in_range_list to traverse the > neoverse_spe array so that all neoverse cores synthesize event with data > source packet. > > Fixes: 4e6430cbb1a9("perf arm-spe: Use SPE data source for neoverse cores") > Signed-off-by: Jing Zhang Thanks for catching this, you're absolutely right. Reviewed-by: Ali Saidi Ali _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel