[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+icZUWwpY9rnfgyy81-78fH+PH4wmAS-+yZFBDCjBbARabQfg@mail.gmail.com>
Date: Fri, 3 Jul 2020 10:36:43 +0200
From: Sedat Dilek <sedat.dilek@...il.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Jian Cai <caij2003@...il.com>, jiancai@...gle.com,
Nick Desaulniers <ndesaulniers@...gle.com>,
manojgupta@...gle.com, maskray@...gle.com,
"David S. Miller" <davem@...emloft.net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
Clang-Built-Linux ML <clang-built-linux@...glegroups.com>
Subject: Re: [PATCH] crypto, x86: aesni: add compatibility with IAS
On Fri, Jul 3, 2020 at 6:49 AM Herbert Xu <herbert@...dor.apana.org.au> wrote:
>
> 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 <sedat.dilek@...il.com>
> > Reported-by: Fangrui Song <maskray@...gle.com>
> > Tested-by: Sedat Dilek <sedat.dilek@...il.com> # build+boot Linux v5.7.5; clang v11.0.0-git
> > Signed-off-by: Jian Cai <caij2003@...il.com>
> > ---
> > arch/x86/crypto/aes_ctrby8_avx-x86_64.S | 14 +++-----------
> > 1 file changed, 3 insertions(+), 11 deletions(-)
>
> Patch applied. Thanks.
Hi Herbert,
Can you please apply my patch, too?
For being able to compile/assemble with LLVM_IAS=1 *both* patches are
needed with CONFIG_CRYPTO_AES_NI_INTEL={m,y}.
If you do pick this up, please add a...
Link: https://bugs.llvm.org/show_bug.cgi?id=24494
Thanks.
Regards,
- Sedat -
[0] https://lore.kernel.org/patchwork/patch/1263102/
[1] https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=44069737ac9625a0f02f0f7f5ab96aae4cd819bc
[2] https://bugs.llvm.org/show_bug.cgi?id=24494
> --
> Email: Herbert Xu <herbert@...dor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists