From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFF8EC05027 for ; Mon, 6 Feb 2023 16:52:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229862AbjBFQwN (ORCPT ); Mon, 6 Feb 2023 11:52:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231162AbjBFQwC (ORCPT ); Mon, 6 Feb 2023 11:52:02 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92511199CF for ; Mon, 6 Feb 2023 08:51:47 -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 ams.source.kernel.org (Postfix) with ESMTPS id 321BCB81334 for ; Mon, 6 Feb 2023 16:51:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87F0AC433D2; Mon, 6 Feb 2023 16:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675702304; bh=0OloNxP9hVllqC85ULVDk1S0qdr5ldTzPUoIOsiVYYE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uY2RheL5KeuzG8d3c3tMYeP9i4kvj9OlnGtFu/xslryic5y3qVYwSfKziF9FHuFam 7oTp/1eLBokMidTPigGYOJtcU/0PeLUKI6ihvffIh9AiVIDiLP/BpuS59j5yw24bdD OVktbKqmKy98v9NQowSkgs5Aqkvv/mjz6OO1YBQjKqr8460bB0oEvWbTkfAgUkutq2 q24E9y1NCLPKOiFVYzGXg9Hr6DkbaADvbjolkrxAcvLr0yy241FEQ+oC2Zt+v2B1TT qa2sM19rjR3bECHPKafSwvwv8EEGHnBYM9QIMF3n3Uma+eP2mh+uXEfn831FQWlgMh 0Wx/ku5CSNjLQ== Date: Mon, 6 Feb 2023 09:51:42 -0700 From: Nathan Chancellor To: kernel test robot Cc: "Jason A. Donenfeld" , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Herbert Xu Subject: Re: arch/x86/crypto/curve25519-x86_64.c:609:3: error: inline assembly requires more registers than available Message-ID: References: <202302062324.HhzEZCF7-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202302062324.HhzEZCF7-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 06, 2023 at 11:52:01PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: d2d11f342b179f1894a901f143ec7c008caba43e > commit: 07b586fe06625b0b610dc3d3a969c51913d143d4 crypto: x86/curve25519 - replace with formally verified implementation > date: 3 years ago > config: x86_64-buildonly-randconfig-r006-20230206 (https://download.01.org/0day-ci/archive/20230206/202302062324.HhzEZCF7-lkp@intel.com/config) > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=07b586fe06625b0b610dc3d3a969c51913d143d4 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 07b586fe06625b0b610dc3d3a969c51913d143d4 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/crypto/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > arch/x86/crypto/curve25519-x86_64.c:954:6: warning: variable 'carry' set but not used [-Wunused-but-set-variable] > u64 carry; > ^ > arch/x86/crypto/curve25519-x86_64.c:951:6: warning: variable 'carry0' set but not used [-Wunused-but-set-variable] > u64 carry0; > ^ > >> arch/x86/crypto/curve25519-x86_64.c:609:3: error: inline assembly requires more registers than available > " movq 0(%1), %%rdx;" /* f[0] */ > ^ > >> arch/x86/crypto/curve25519-x86_64.c:609:3: error: inline assembly requires more registers than available > 2 warnings and 2 errors generated. https://github.com/ClangBuiltLinux/linux/issues/1589 Intel folks, this can probably just be sent to our list from now on. Cheers, Nathan