Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1009723rwd; Wed, 31 May 2023 08:18:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6M5ZfCb5kbrZYU2ltZ6Haeq3XUN2S7NlDqKFjQwR+/zUuYBpInzeEUSTx7So9h9iEu7I82 X-Received: by 2002:a17:90a:fa0d:b0:253:440b:7aed with SMTP id cm13-20020a17090afa0d00b00253440b7aedmr5090865pjb.32.1685546280787; Wed, 31 May 2023 08:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685546280; cv=none; d=google.com; s=arc-20160816; b=nO+SgwfdyqwiJNXPRRd1SqNPBcVnOvRNYk7kyUOEmNAAGUBi4Rs+AcIPYnB8YXQroB /uhV/RInrEsQYgNhRzNsUdqpp/ZfpqRjG3wYfOyDpmdTEJbKXf2cpkisXxByQxG/Kn5R h8SnG5b1fIrPpnCN1Cjs86bQmvx38y0/BCLIkj4ne6Ping6D8BANhXsFHgXVW9ttAPqN 0XCRb0j2Bbe3f1AXpQmVKxuUtxEdeQwfxlqV7CUy5pDG7OBw8usODyKsmICxd34VWa/Q FVkK7AAJcd2oVXzakHBNYFV1OURKdsedbhOXV+pLBRadaBpV49X/2CkdQYWvG6iky6Zk Bhsg== 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=M1o4Wjc1Cd+qea3/6BxW++NOPFclyS7iyVbzxq2yJnM=; b=POEXCklAwhNfEqO1WkYx9oxHMiA0IT6Ery85ycLCVh4MsG5Uv3VE19gFNXSBShv5Ws PrUKCgHBqWLet80fTDjDY4tT//G32Tb74r8Q+KjhK3s6jOScidGpVnv9CuvU6gKGvP+q 6DFDT6YthxANEXhSgOqRtbOjS8cCc3WmtY5dtGRm/H465K6AMEHD9qomvgBZgTn23qa9 MQdp3/yZgsF3GJV9EqyqVHZhmhAAomTmwrcas/wgVGiN6K87PbHLS4uA4WbMA7OblPzm bYtP7JXHma7m3Zn7xl+/uUZEh+Y2xFjWh39yxIbf9I1jsdvaUoyIDJCDWq9MByEo79br yl5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Xsh7wmb5; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c13-20020a17090ad90d00b002536b553afdsi1095278pjv.98.2023.05.31.08.17.44; Wed, 31 May 2023 08:18:00 -0700 (PDT) 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=@ventanamicro.com header.s=google header.b=Xsh7wmb5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234170AbjEaPMR (ORCPT + 99 others); Wed, 31 May 2023 11:12:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234154AbjEaPML (ORCPT ); Wed, 31 May 2023 11:12:11 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33709107 for ; Wed, 31 May 2023 08:12:10 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4f505aace48so3890291e87.0 for ; Wed, 31 May 2023 08:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1685545928; x=1688137928; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=M1o4Wjc1Cd+qea3/6BxW++NOPFclyS7iyVbzxq2yJnM=; b=Xsh7wmb56AfkTGFNGfAoURmK0HS6z+XV2ALRtt5RWYeUEPKtRQN0zWKH1+/tWx2ChO GMTXteP2EObzHUyg6W/oBG3Lpr9zCgHEPJpan34MRkH3YHo1Tpg9D0YtIngKFJuBMg5K ukB1YMiBtgIxiccgf/cZWGDjHIzwtdp0XCOrimUjIsQyg1wOZzE81jLMMIl7dLRaGctF uGb/kLmfRNLYi2shrOabraf5t0YD0HnT7diFftFD3pC4v77XXr/91T1h8KLLjTP+rRYf Wc6YWE5/onF4g54mVyMS+rFk+4PkmWayq2iMlKRxZjekGE3HYQBpNA669F7LlnVSJALw Rn5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685545928; x=1688137928; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=M1o4Wjc1Cd+qea3/6BxW++NOPFclyS7iyVbzxq2yJnM=; b=M9lkde5AWc5a42JgdoDpYtRxdxwnBuLq7+svBfRmou0M8u/tDROxlldD440kXz0TV/ 9V1ypENuHKgh23rzN8lzDOOsQp/gEFfOnezP74jqEuld8hh+7CTCbAMLSGxOEIEVsg+l P1cNNrIJmAR7qvee5O4Btt5JctU1mkybmle0J0zOVLnegA0G2ZGsygIwKB9eLa8nyY5G 9/Xo3g2hcxzatuesqm0AKZTH5ACtAkhJ+BKFWUXNT5ysgf7X3wZUXwrox3Tmbcgjm5uH F4X0SjFvBzn1/bHv4zYFSQcIG2L1l6HBH8kpqS7TJbjXcjsuLkmwidg7ljaD04Xso47s 7GyQ== X-Gm-Message-State: AC+VfDx7GoMYqUXDyCySJTlHRqDO0KQ6KQnrw1+xuInq9gYaYgfNIrVk xW1jFDhEhB1n9bifX34UZ/EZsQ== X-Received: by 2002:ac2:518c:0:b0:4f3:baf9:8f8e with SMTP id u12-20020ac2518c000000b004f3baf98f8emr3047811lfi.4.1685545928497; Wed, 31 May 2023 08:12:08 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id u5-20020a05600c00c500b003f0ad8d1c69sm24598389wmm.25.2023.05.31.08.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 08:12:08 -0700 (PDT) Date: Wed, 31 May 2023 17:12:07 +0200 From: Andrew Jones To: Alexandre Ghiti Cc: Jonathan Corbet , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Paul Walmsley , Palmer Dabbelt , Albert Ou , Atish Patra , Anup Patel , Will Deacon , Rob Herring , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 09/10] tools: lib: perf: Implement riscv mmap support Message-ID: <20230531-5e82a25977cfe463e4db1cd1@orel> References: <20230512085321.13259-1-alexghiti@rivosinc.com> <20230512085321.13259-10-alexghiti@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230512085321.13259-10-alexghiti@rivosinc.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,URIBL_BLOCKED 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 On Fri, May 12, 2023 at 10:53:20AM +0200, Alexandre Ghiti wrote: > riscv now support mmaping hardware counters so add what's needed to > take advantage of that in libperf. > > Signed-off-by: Alexandre Ghiti > --- > tools/lib/perf/mmap.c | 65 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 65 insertions(+) > Reviewed-by: Andrew Jones