Re: [PATCH v2 16/18] arm64: crypto: disable LTO for aes-ce-cipher.c

2017-11-20 Thread Alex Matveev
Sami, this seems to be better solution for aes-ce-cipher.c problem. Regards, Alex From 6bcdd763b56ce10a77a79373a46fc0e8d9026178 Mon Sep 17 00:00:00 2001 From: Alex Matveev <alxm...@gmail.com> Date: Mon, 20 Nov 2017 21:30:38 + Subject: [PATCH] arm64: crypto: fix typo in aes_sub() C

Re: [PATCH v2 16/18] arm64: crypto: disable LTO for aes-ce-cipher.c

2017-11-20 Thread Alex Matveev
Sami, this seems to be better solution for aes-ce-cipher.c problem. Regards, Alex From 6bcdd763b56ce10a77a79373a46fc0e8d9026178 Mon Sep 17 00:00:00 2001 From: Alex Matveev Date: Mon, 20 Nov 2017 21:30:38 + Subject: [PATCH] arm64: crypto: fix typo in aes_sub() Clang's integrated assembler

Re: [PATCH v2 16/18] arm64: crypto: disable LTO for aes-ce-cipher.c

2017-11-20 Thread Alex Matveev
On Mon, 20 Nov 2017 15:20:14 + Mark Rutland wrote: > On Wed, Nov 15, 2017 at 01:34:26PM -0800, Sami Tolvanen wrote: > > CONFIG_LTO_CLANG requires the use of clang's integrated assembler, > > which doesn't understand the inline assembly in aes-ce-cipher.c. > > Disable

Re: [PATCH v2 16/18] arm64: crypto: disable LTO for aes-ce-cipher.c

2017-11-20 Thread Alex Matveev
On Mon, 20 Nov 2017 15:20:14 + Mark Rutland wrote: > On Wed, Nov 15, 2017 at 01:34:26PM -0800, Sami Tolvanen wrote: > > CONFIG_LTO_CLANG requires the use of clang's integrated assembler, > > which doesn't understand the inline assembly in aes-ce-cipher.c. > > Disable LTO for the file to work

Re: [PATCH v2 11/18] arm64: make mrs_s and msr_s macros work with LTO

2017-11-16 Thread Alex Matveev
On Fri, 17 Nov 2017 00:29:20 +0300 Yury Norov wrote: > On Thu, Nov 16, 2017 at 01:55:31PM +, Robin Murphy wrote: > > Given that this whole mrs_s infrastructure is a workaround for older > > assemblers which don't support the "S" > > syntax for arbitrary unnamed

Re: [PATCH v2 11/18] arm64: make mrs_s and msr_s macros work with LTO

2017-11-16 Thread Alex Matveev
On Fri, 17 Nov 2017 00:29:20 +0300 Yury Norov wrote: > On Thu, Nov 16, 2017 at 01:55:31PM +, Robin Murphy wrote: > > Given that this whole mrs_s infrastructure is a workaround for older > > assemblers which don't support the "S" > > syntax for arbitrary unnamed system registers (which

Re: [PATCH v2 11/18] arm64: make mrs_s and msr_s macros work with LTO

2017-11-16 Thread Alex Matveev
On Thu, 16 Nov 2017 11:54:33 + Will Deacon <will.dea...@arm.com> wrote: > On Wed, Nov 15, 2017 at 01:34:21PM -0800, Sami Tolvanen wrote: > > From: Alex Matveev <alxm...@gmail.com> > > > > Use UNDEFINE_MRS_S and UNDEFINE_MSR_S to define corresponding macro

Re: [PATCH v2 11/18] arm64: make mrs_s and msr_s macros work with LTO

2017-11-16 Thread Alex Matveev
On Thu, 16 Nov 2017 11:54:33 + Will Deacon wrote: > On Wed, Nov 15, 2017 at 01:34:21PM -0800, Sami Tolvanen wrote: > > From: Alex Matveev > > > > Use UNDEFINE_MRS_S and UNDEFINE_MSR_S to define corresponding macros > > in-place and workaround gcc and clan