Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3013204rwl; Thu, 13 Apr 2023 14:28:46 -0700 (PDT) X-Google-Smtp-Source: AKy350aX1fr7vQ2AIXdKsV48gEuGNPH3ElCW1IApHeU/30R+Ys3DfW/t74pH90v+XqD75w8sZJkU X-Received: by 2002:a05:6a00:10d5:b0:63a:33d5:9224 with SMTP id d21-20020a056a0010d500b0063a33d59224mr4863509pfu.18.1681421326266; Thu, 13 Apr 2023 14:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681421326; cv=none; d=google.com; s=arc-20160816; b=F4xFv37svl5S+XPjKZaEihjz6k52DVddELTWxIf4RHbTE5INxprkaAOZlkB+mfpZS6 fDLmWO3L2LXWlCx8t8NHs6jXce6dtzvFHsiArshmGHn5KIog28Mc6SVPVkKdvotEpeCX /nzH24XwVpwmVqVLUXpykKSTn+JqdVFEHWUvNqTYbnAoiwo44sIpg3UNfeWoSJwokpVN ADi65gWZWAQlzoJ8zTbVbFMjEBeRgE+S6UOaavVtdJglfYhoQspdUg6N72of0EOiZIkd ZyNrVAIq59N3uGfHnTAbClbvSGxEfeNfppMhu7S8Pnncce4p3/sEXGj1U3569hrLFqSI 4WtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=sRrSkASU1BC4CjwxiSQwH9RBZD5KPBERNgGz9fMAQWs=; b=jink6H/GwnVpSDm1emOIvK8tRe0uQpC9JIasggVAxzHTGMxp5028hGWnv8ve7AtGap BvsfgIALUVgtCDSqKub92nY0SK1HILH0frGdxsNY6zVEZjJUFbtKiRk8YpuuEOnfKOS0 rDkiHiMkQNCdhhoWex3nXzakcuaECSaZRENlt4UE1qjTZza0iHaVvDjC4o5URykx4gaV 6bARfAWxIIQwEdDeibgITaNl7v2cODL8rcOoiJj5T2q4S1bTzW7ycqBIEbxil60xoYU6 kpijeTvn2sA/yMfFdUBsizb/fFVdMH08nb68oFWKP7kC9sp/yG4OhOAeR+lZ1WLT8+SC WxYg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a63e90c000000b0050bf5879be4si2919843pgh.209.2023.04.13.14.27.51; Thu, 13 Apr 2023 14:28:46 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbjDMVMF (ORCPT + 99 others); Thu, 13 Apr 2023 17:12:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbjDMVMC (ORCPT ); Thu, 13 Apr 2023 17:12:02 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C1B893C0 for ; Thu, 13 Apr 2023 14:11:55 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-1-IpWHsB8NM7ugMmOTQXH9Pg-1; Thu, 13 Apr 2023 22:10:48 +0100 X-MC-Unique: IpWHsB8NM7ugMmOTQXH9Pg-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 13 Apr 2023 22:10:46 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 13 Apr 2023 22:10:46 +0100 From: David Laight To: 'Atish Patra' , 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 , 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 0/4] riscv: Allow userspace to directly access perf counters Thread-Topic: [PATCH 0/4] riscv: Allow userspace to directly access perf counters Thread-Index: AQHZbjzyrjlAD1jWcEaLGLNw35Pifq8pufOQ Date: Thu, 13 Apr 2023 21:10:46 +0000 Message-ID: References: <20230413161725.195417-1-alexghiti@rivosinc.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Prec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