Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4990969pxb; Sun, 6 Feb 2022 09:51:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuFAVECxyFYLizJc9b/3+K0Rr1fH525FTFWasKu7H4QdLFnbfo/U0xGwoJXc41Cmn16nMj X-Received: by 2002:a17:90b:1bc9:: with SMTP id oa9mr9809555pjb.217.1644169916860; Sun, 06 Feb 2022 09:51:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644169916; cv=none; d=google.com; s=arc-20160816; b=zJGBHxwa0z5/lRwYf4mxTsnrQKtgiwN0XIiLZKfizAEAxYL87uwhYspZcV40tcL7BN ZhixdtaQEq6SxNe9lM6QzitbwBe/RnxG1ExZKlJDSQyv4jelhpMtI4POnFk2VMcTfbwE G+EiOgps3TANasRzUw8O+0l9wEZYBwlQT6x8Uc8iQUqXuyGOWiwtdgCUg52YQ0FlYxcc LJSyp/8CKcCZa0VcbXE5K0af4iVPrE9dKqPyficTjqfNmyHLOLvfewsrrjw6gf8vIt62 cnx1M6FOPZ1aopESMvuHhzLuPqBKRWWCb9thGKprl+sC1BrLKQ32wJU505UKoJHuKT07 59Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4AAS8fIWh/l0yT84s2N0OwpkJuu2uO5DCn5UAAepPhI=; b=PQQBeZ83akvKWK8ZHpuvn95i7CYMsm3hnwBP8Bak+jmrcnti7Iu+MgAYV9jK3FqjnB BWFKMLM/m/aupVLWx0S0RAby7Lf6gG7WrslmNVHywU1GCHUuclf6caIxNJ8cpF3f9yfg 8UEkvBAjw56QGkTJ068+jyYTZ5GR0akmOQJytyIjt1A6SLJXJl2VlcGla/UOxlfHkSjP R8bTWEXycIPYXIYQBHVYt/XrKRoFdrLfEJ/Lw7pHOTJEawmbFkMw8EmwADevfexdWBJA uDvnpF7SqMW2/y6j23LEse/7yrM0hxVeJh9H96czHBkS7/iN2RxLTw+xB4wuP6BXtEao F4SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VHRXLlIc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z3si9000014plg.361.2022.02.06.09.51.45; Sun, 06 Feb 2022 09:51:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VHRXLlIc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378793AbiBECST (ORCPT + 99 others); Fri, 4 Feb 2022 21:18:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355924AbiBECSS (ORCPT ); Fri, 4 Feb 2022 21:18:18 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8571AC061346 for ; Fri, 4 Feb 2022 18:18:16 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id i186so6648097pfe.0 for ; Fri, 04 Feb 2022 18:18:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=4AAS8fIWh/l0yT84s2N0OwpkJuu2uO5DCn5UAAepPhI=; b=VHRXLlIcWZnN2D1y9h1C+Vq4zRVvUl4BtfdOD6iegKziQLHIMCBOZ4Rgq5+NovJ7Um 9IVwLk3bR262kkdTxl2NJjZnO6pfTBpOL9yDinpotL1dk2cfRCVHIZTIjW8AIqmeEIoh FOoSxR7Sj5IxSy1jSz8oSfIMfnva396UzSAA3AhobE0j1YqEUUlE/g5DPK5seMK+0YL1 oUv/C9c6kMRD/ILQULmtNL+YJgHIUImDRl41zqhUe82YB4ch5QKkEzm/ICCC26Bnhtjo ec9FMrrpwpqdSG0phj9fr2c/Ljdb87g/hTID1QcTizNVBNnPdaSeExFYvtslnuNwsUYe 5wXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4AAS8fIWh/l0yT84s2N0OwpkJuu2uO5DCn5UAAepPhI=; b=xXfg/ojc9iV+gY0DRBj4sDXc0XFFAV4KCwqVgLuKuderTDJl0D6hG8pGaqGmrElANI 9X/7M39dazR5xEZa9CVlAiIsoh/lTQkt+I0tmn/LR87VZ0ku8Ni5KsjvAp3mKiwJ+R9/ GmC+dA64pAvvnH2MA0QRbhQRAFg1XEle8Cg/PpRFxueGgr0FG0kYZDEYOqp8hCsOCrxU fURnLwlGG/PqBqDkYjIg1y4Ph2hiepuizAyEmAwWcto9WjjJki59uq3t+sFAH1kjjGaW +71vluNYukMapdadJAHT9qNWetg2okem3cccgkdMKdTxeHMgjuH7GWmI/yY6YC2sM1jH iKNQ== X-Gm-Message-State: AOAM5320kDsQOBOJQk29EAk/odqVdXIp6OvKWRXbYMO2bm1DWxtWAktt BjHtm+OkhAw/IpH31S83eCn5kA== X-Received: by 2002:a63:87c3:: with SMTP id i186mr1483051pge.311.1644027495282; Fri, 04 Feb 2022 18:18:15 -0800 (PST) Received: from leoy-ThinkPad-X240s ([134.195.101.46]) by smtp.gmail.com with ESMTPSA id m38sm2530918pgl.64.2022.02.04.18.18.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 18:18:14 -0800 (PST) Date: Sat, 5 Feb 2022 10:18:07 +0800 From: Leo Yan To: Ali Saidi Cc: Al.Grant@arm.com, acme@kernel.org, alexander.shishkin@linux.intel.com, andrew.kilroy@arm.com, benh@kernel.crashing.org, german.gomez@arm.com, james.clark@arm.com, john.garry@huawei.com, jolsa@redhat.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, mark.rutland@arm.com, mathieu.poirier@linaro.org, mingo@redhat.com, namhyung@kernel.org, peterz@infradead.org, will@kernel.org Subject: Re: [PATCH] perf arm-spe: Use SPE data source for neoverse cores Message-ID: <20220205021807.GA2052922@leoy-ThinkPad-X240s> References: <20220203091934.GA2013381@leoy-ThinkPad-X240s> <20220205000719.19986-1-alisaidi@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220205000719.19986-1-alisaidi@amazon.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ali, On Sat, Feb 05, 2022 at 12:07:19AM +0000, Ali Saidi wrote: [...] > >Alternatively, we can support HITM tag for L1/L2 cache levels in perf, > >this can allow us to match memory topology on Arm64 arch, and it should > >not introduce any regression on x86 arch. > > > >Could you confirm if below code can fix the issue or not? > > Yes, that should do it. Want me to repsin this with the changes we discussed? Yes, please go ahead and thanks a lot for your effort. Leo