diff options
author | Joe Fradley <joefradley@google.com> | 2022-11-22 14:54:49 -0800 |
---|---|---|
committer | Ulises Mendez Martinez <umendez@google.com> | 2024-05-10 12:38:46 +0000 |
commit | 4d55129aea65ac23a34b9053f3f1ee4d92883032 (patch) | |
tree | 6d3205e30581f85eff01d02196d48ad64804f7d6 | |
parent | cf685d2b02734245c3e179f3541f67ae3feee796 (diff) | |
download | hikey-linaro-mirror-android14-6.1.tar.gz |
UPSTREAM: crypto: x86/curve25519 - disable gcovmirror-android14-6.1
curve25519-x86_64.c fails to build when CONFIG_GCOV_KERNEL is enabled.
The error is "inline assembly requires more registers than available"
thrown from the `fsqr()` function. Therefore, excluding this file from
GCOV profiling until this issue is resolved. Thereby allowing
CONFIG_GCOV_PROFILE_ALL to be enabled for x86.
Change-Id: Icbb1ed0e1b99f1cb0a21ea7a2920b3edce70c38d
Signed-off-by: Joe Fradley <joefradley@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit c390c452ebeb44cb979b7374d3acc3859415e86c)
-rw-r--r-- | arch/x86/crypto/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/crypto/Makefile b/arch/x86/crypto/Makefile index 3b1d701a4f6c..3e7a329235bd 100644 --- a/arch/x86/crypto/Makefile +++ b/arch/x86/crypto/Makefile @@ -107,3 +107,6 @@ quiet_cmd_perlasm = PERLASM $@ cmd_perlasm = $(PERL) $< > $@ $(obj)/%.S: $(src)/%.pl FORCE $(call if_changed,perlasm) + +# Disable GCOV in odd or sensitive code +GCOV_PROFILE_curve25519-x86_64.o := n |