Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eba6c806 authored by Sami Tolvanen's avatar Sami Tolvanen
Browse files

FROMLIST: arch/arm64/crypto: disable LTO for aes-ce-cipher.c

LTO requires the use of LLVM's integrated assembler, which doesn't
understand the inline assembly in aes-ce-cipher.c. Disable LTO for
the file.

Bug: 62093296
Bug: 67506682
Change-Id: I7fe82644be0d86420edb4db7923b03dfee87215f
(am from https://patchwork.kernel.org/patch/10060315/

)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 84ab089d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ obj-$(CONFIG_CRYPTO_GHASH_ARM64_CE) += ghash-ce.o
ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o

obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
CFLAGS_aes-ce-cipher.o += -march=armv8-a+crypto
CFLAGS_aes-ce-cipher.o += -march=armv8-a+crypto $(DISABLE_LTO)

obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o