Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2026549ybt; Thu, 2 Jul 2020 21:50:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzL3G42IBtipO8Zm9PcbR8nXAD02pWTjoTgiyCRYjsuikV8PapNa7K45Eu8DDvb27vRxSSe X-Received: by 2002:a50:d9cb:: with SMTP id x11mr36886102edj.93.1593751833462; Thu, 02 Jul 2020 21:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593751833; cv=none; d=google.com; s=arc-20160816; b=MYIAi/rdjmp8fke16jyJLthA4rurNI5bOT4dAd9WpJEEMmwEum9djYK7+x46WwXl6Y xopu8ECvcJF0A3lZyHmxn7unhW/pKNHhJrdpBeCvyq0ic0uudiwEAJ1Kaa1VFPZDK74J lXQ6jbuq3xVu0PSJ3O8jpAsxi0ZG+UG+sD0LA3JpApyn3tgbBOwFxkoYIi7hMRFSHhgL LxjntISv8mPq28UciC/EH+ZmENV88Opc9UX/9txwEJXcGJ9ksxV2QL7/k5ZHUDsK21SV yg9kcQ1iqwHwRDiXvVyKVIJYWhRM7FLaKxIGClX0WttsdMErbrAFcmRxVxF+7X6sxMrC TM2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0blTd17lYIRtlrT2juI8+tEtg8M8qxr1GoLFf13FKSQ=; b=DitstpRnG8pemw8E59EPBDktkfA3mNWe4o7ZejkEt7Io7giXwY06zfAy1KwcqDkeAZ lZuMNsjUx5R8N2MV4uXhtBbC5XCXdlNDl0sFPTkTqoq/G64mZwxEci/cVSEBGGvU6RUI /ZuJlT1XnS7iCI+MD2dujIxniFzah92tqFxtDPYqYlObZW/f9GHvvrL9jDfTAthhkQ9B t2i2HtvsgOiqDnfWK0LIgQ2EzXCbg7zwh3S0/2Iv2lKNn9psI1L6Sv1m37sFhba/KrJ4 azCpa+q5ADUEnppjxDWVr/uqqWpWMcTfhTJP97n6E4Z7ss1fk4kHCdPYK+4QhkBC3+QI TjHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si7221293edr.555.2020.07.02.21.50.11; Thu, 02 Jul 2020 21:50:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726325AbgGCEtE (ORCPT + 99 others); Fri, 3 Jul 2020 00:49:04 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:40256 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725915AbgGCEtD (ORCPT ); Fri, 3 Jul 2020 00:49:03 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jrDcm-000826-Fg; Fri, 03 Jul 2020 14:48:33 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 03 Jul 2020 14:48:32 +1000 Date: Fri, 3 Jul 2020 14:48:32 +1000 From: Herbert Xu To: Jian Cai Cc: jiancai@google.com, ndesaulniers@google.com, manojgupta@google.com, sedat.dilek@gmail.com, maskray@google.com, "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] crypto, x86: aesni: add compatibility with IAS Message-ID: <20200703044832.GD23200@gondor.apana.org.au> References: <20200622232434.162730-1-caij2003@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200622232434.162730-1-caij2003@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Jun 22, 2020 at 04:24:33PM -0700, Jian Cai wrote: > Clang's integrated assembler complains "invalid reassignment of > non-absolute variable 'var_ddq_add'" while assembling > arch/x86/crypto/aes_ctrby8_avx-x86_64.S. It was because var_ddq_add was > reassigned with non-absolute values several times, which IAS did not > support. We can avoid the reassignment by replacing the uses of > var_ddq_add with its definitions accordingly to have compatilibility > with IAS. > > Link: https://github.com/ClangBuiltLinux/linux/issues/1008 > Reported-by: Sedat Dilek > Reported-by: Fangrui Song > Tested-by: Sedat Dilek # build+boot Linux v5.7.5; clang v11.0.0-git > Signed-off-by: Jian Cai > --- > arch/x86/crypto/aes_ctrby8_avx-x86_64.S | 14 +++----------- > 1 file changed, 3 insertions(+), 11 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt