Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp852893pxb; Thu, 17 Feb 2022 16:38:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0rjFcSru0ukR+zqeJB/+1Xd/HaMtoGGqxSMMkHsB5zkz9v2rBCBfAjnK65d24uvmZV1m7 X-Received: by 2002:a63:5a52:0:b0:36c:7c61:a830 with SMTP id k18-20020a635a52000000b0036c7c61a830mr4443831pgm.233.1645144681322; Thu, 17 Feb 2022 16:38:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645144681; cv=none; d=google.com; s=arc-20160816; b=CY05+WxAWTLJbZpPDpdP3zTe/PccJlBrKuSpV5RxXXustou2REpKAmIOhQJHz50ofF J8ZIpoYZKCWwqTEISSGTdG840rGnwuo7YfnXfbebNr4vP0CRAPt9X/xzabpSLpYYhUra nGtrGOvHsWTyu7YC9TxaR7lO1RtjUbaRc9e75Vaw3tC5NjZn8aD6dwmT1vxP6jHZvev4 Y2Iz8x9C+95pnvMkTPgki3EXs5OSfsIF1YezQvnbYndYLmUGTfnM8sWnfvu5F8yBrG9h ndMMtqCRxifNTkaoSBu62xJWsQUsQDZt+wYCwV6haTGvT9nNBBXSQXx04YTZDKqZnU1d qYcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=BjXYKyD9hVDHUVWgyefBCVHRk13dJtydNPlDw/1A2ac=; b=xvnf2tnEcOHWUt+hSGKo2sYZyozWhiazpN9rwqunLnPdixkrKfXPb5iw5wIziSWYMK Y3si3uygrqTL+ZVo1dv57C7tAauIppWTo3BcYa9MWHr0bB1RR+N/H5Pmclt0FVkyawZv KXJusrMadcQunUvVnAnjTMpljSOE7/4gawAqRarXXbTZfm3sbtZ0KTg69Dwheg6lY/Jy nWjBm1bRwwCfPy5rYKM5dog8bBQpu+tA7S1mMNF0RCpOpyzg/DGfFpA9bbw/7sUY6LU2 i/2i8RAGE+460FZZZr2AxxNAkl6AymlPDiBbgGUkKGw7qxlrUYnt8hNsLY+UAC4YVy8i vqgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A8KBW0fF; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x2si2435040pln.591.2022.02.17.16.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 16:38:01 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A8KBW0fF; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 784F0517D9; Thu, 17 Feb 2022 16:06:23 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbiBRAFc (ORCPT + 99 others); Thu, 17 Feb 2022 19:05:32 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:47618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229827AbiBRAF2 (ORCPT ); Thu, 17 Feb 2022 19:05:28 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16F264161B; Thu, 17 Feb 2022 16:05:09 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7897B61A55; Fri, 18 Feb 2022 00:05:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76A5EC340E8; Fri, 18 Feb 2022 00:05:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645142708; bh=/E0vQpyQrzLPQg8mdsH5R57H9ioPtrWTrdq/i8BUvVA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=A8KBW0fFTFK0Qd2vGoc8H91Xk4kLW/hBFFbI9t895SQ+fV7j0gvFYuGmVEdrMVl7O 12I0YeBrKmH0JZ2M6IXrTgpSyk+53tzlxqW2ZzhpF9OFPQG1Dwd68ukHFWpl1S7Akc LZrn4J4deQe0hPYa8pOJbT5yaLPXreAlGgEc+SvMMEus3FPQQHID/QiJyySdEi263i 4LtmCWBevZo4YvJbulOT8l+lxNg4hwpN6s4qw4as4PLLUGLzRU83xo9UlIfca3jtbR M35UAaJprYEQkjgq8AY9uiMSrEtB3EeBLSqyhoJ7edXFc4D52N1eTUONKSAZ0Zzlnx AeHDEV/wpBJ2g== Date: Thu, 17 Feb 2022 16:05:07 -0800 From: Jakub Kicinski To: Rakesh Babu Saladi Cc: , , , , , , , Harman Kalra Subject: Re: [net-next PATCH 1/3] octeontx2-af: Sending tsc value to the userspace Message-ID: <20220217160507.05ae03fd@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20220217180450.21721-2-rsaladi2@marvell.com> References: <20220217180450.21721-1-rsaladi2@marvell.com> <20220217180450.21721-2-rsaladi2@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Thu, 17 Feb 2022 23:34:48 +0530 Rakesh Babu Saladi wrote: > +#if defined(CONFIG_ARM64) > + return is_pmu ? read_sysreg(pmccntr_el0) : read_sysreg(cntvct_el0); > +#else > + return 0; > +#endif And this bit probably calls for a CC to linux-arm