Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2438739pxb; Sun, 24 Apr 2022 15:01:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSYYdiVEqc4QIvGTs4gDJ2N18/cwVDaOumd2awubFYd51V6xEXItV/Lf9nkGYlBFsT3sdD X-Received: by 2002:a65:614e:0:b0:380:bfd9:d4ea with SMTP id o14-20020a65614e000000b00380bfd9d4eamr12394572pgv.92.1650837709450; Sun, 24 Apr 2022 15:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650837709; cv=none; d=google.com; s=arc-20160816; b=pWb38ckkSOvNqEuNRMiPT6VvCntbuMPUU1V/RiaxfhvA1ec46TkvFNpD1PX/3K4rzu Ip+CUKijgeaO7dba7aXTo/Cjljfg/ElwEm0ke2J1q9NIrxT9xxwoPpdYGwAzHayh9st+ tc5IGj/wYnUPL2Owek41K+aFLlBpi11gek2kWYkThzeSTD4EXVqBA1uf40P7uRztsYZw z/5OxLm118sMR5FV6ZBziFsHyxtTPZRKhg+SuMj95N3DTWRZbmacbfkGdoQ9RjUNY98r D1GIaWasjvxYu/aCBo0y9R3Y3ZbOyUJcO3/jK/vxiuxC4HOUB+FMi5CAo6/M5o2A+AOz igdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=K3asMeCVMr4T42SxTfaRPTh4n5J45tiJw0Mb1UposKk=; b=Lwr9/HaffO8w6Mq+tZ4DVC+YQB2bOjFeopOYpfPo4AMCDFW0XjC0zCNpekwyyZtACg pDhY/drRgxfkxCJ9oekN/ShTgRQ/J2DoimHAle/Y7OxrU+tpGbgnVBOkM5w8z+IOObU4 e3YbbC8qTjriFJdSPns6PAWAMgKLlYywf1y0AdHDesWirZkATGwiGdMdBibI9xrwBOmz vPGI1XVefTc8GBOry7GT+3Gy9O6i3QDdzXCV5RUjSzoxBNDfYAFs60xsaUwWrZhRWUs4 R9mXNfdrwMApTJjOxFJBpkWvcTd7ACYn+GsBr7N8CQxj/2SB/xoANwdITREhdSnp/DjC svcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="jLth/pxM"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020a637311000000b003ab2f9d11d3si2214934pgc.596.2022.04.24.15.01.24; Sun, 24 Apr 2022 15:01:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@gmx.net header.s=badeba3b8450 header.b="jLth/pxM"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230229AbiDXSkN (ORCPT + 99 others); Sun, 24 Apr 2022 14:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229929AbiDXSkM (ORCPT ); Sun, 24 Apr 2022 14:40:12 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B644B8208; Sun, 24 Apr 2022 11:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1650825418; bh=UvKCQlUNlr/TgkPZBp5HsaKQTUs9+ABQ4bq8v6UpLJk=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=jLth/pxMiZW52h9I7PcfdP/dNi44H7ouZo65OtZSarI3G4Tqoz16Ekv29seqF4aZl iO9P+RbTdFnzpWVxuyHcBy9TfPTDQYkgkOLyR7FSshLlvaNXx2HrFPArJCBnn8S1A8 qW4/BCJ/I6V4C5A1RnODyEpXWLO3VUkhPj+Bnx14= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.161.75]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MfYPi-1oOKNl3tFo-00fy0p; Sun, 24 Apr 2022 20:36:58 +0200 Message-ID: Date: Sun, 24 Apr 2022 20:35:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v6 03/17] parisc: define get_cycles macro for arch-override Content-Language: en-US To: "Jason A. Donenfeld" , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, tglx@linutronix.de, arnd@arndb.de References: <20220423212623.1957011-1-Jason@zx2c4.com> <20220423212623.1957011-4-Jason@zx2c4.com> From: Helge Deller In-Reply-To: <20220423212623.1957011-4-Jason@zx2c4.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:00sPblPzC3czktD0McP3wFyeDNkVLT2TyPsr1FyYeILj/g2oXJW bHKvKlZ0L1gQd1eA/U54aSk/GnlNnRixp723PdmA2dM+CxkfKo6+HJis+LFCWLRKqCj8ma9 WdhcY9OQlmgKgdKwF/NbAEqFHkQ8eh5kG8ago4AiW8TiV8MhEvldaPoei9vI7yils8oKptx PLXButH3qko3tZzClTdBw== X-UI-Out-Filterresults: notjunk:1;V03:K0:/MIQnKEnfMY=:aCa/AeRTstRFKD6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cjmslwYx3h69l6ifdrml1YqNHAq/kbZ1aqAWKU JnzZFNFQ/VZylM= X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,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 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 4/23/22 23:26, Jason A. Donenfeld wrote: > PA-RISC defines a get_cycles() function, but it forgot to do the usual > `#define get_cycles get_cycles` dance, making it impossible for generic > code to see if an arch-specific function was defined. > > Cc: Thomas Gleixner > Cc: Arnd Bergmann > Cc: Helge Deller > Signed-off-by: Jason A. Donenfeld Acked-by: Helge Deller # parisc Thank you! Helge > --- > arch/parisc/include/asm/timex.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/parisc/include/asm/timex.h b/arch/parisc/include/asm/t= imex.h > index 06b510f8172e..b4622cb06a75 100644 > --- a/arch/parisc/include/asm/timex.h > +++ b/arch/parisc/include/asm/timex.h > @@ -13,9 +13,10 @@ > > typedef unsigned long cycles_t; > > -static inline cycles_t get_cycles (void) > +static inline cycles_t get_cycles(void) > { > return mfctl(16); > } > +#define get_cycles get_cycles > > #endif