Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6545810rwb; Tue, 22 Nov 2022 15:10:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf6kUDd9X3FfR7y3KzDK4TReyTHdeckZWIh12YVTBFpPhWj2xGRMBhpKbnM5Kl0aR3si3Lpq X-Received: by 2002:a17:907:7670:b0:78d:b713:7247 with SMTP id kk16-20020a170907767000b0078db7137247mr11444797ejc.706.1669158631220; Tue, 22 Nov 2022 15:10:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669158631; cv=none; d=google.com; s=arc-20160816; b=ZJPwNMMIgL6iVUD9nTlq1G87PS5uQR6b3Uz/2vWPD6vFoE/v4Q3Jsgg4Dcu2VjHbQe O5DwJQ/75wFJjOleAZN7JBw79HWQoeJ3RUq7eIl3MvuM0V1X8V0Is3JUdD+EB7xJQ1dn O/7gArV5NnXMe/5PuLyGzw2rbBMt8S06E4Ejlt7kuoHP7ogTZvJCpUh9VVQS0LhVQVNv PCmjpbtK+6jAuYxdfRutFYJle0hmDMQPFMi8SX49GqqCNIP9eOuciHiqBY7AoJaHcLig ZsMlU+TJ9BigqarrYvRKJOLh8RrtPiA2i2xC9D9adM7WQeUj44GIc2OktyNvAtXKPide tM6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:mime-version:date :dkim-signature; bh=CPjzMg27nsggyssWlNTVqAdofNU6F96gO6p2IIRQk5M=; b=KzcKoCFK7LRk09QYBZriHRhuzhOUMFZF8RIG5IoQhIVAB93ihwbiSjY0p0vi/xwT1F LGRuLdJHD+saFgeXrudvrF2DPK8OIqmIl/8NIukm/+nTDFyOJQ5jeBbILaosybbi3sWl zv5KT7CxxrgJ/KtvIMpePUSaAlJt+BjC7jxwmnYw247/0QTNOtHvuNd5Z4Dv/vhKhOPx JIfubXWSq5DLIvXFaRoJCnk1qyKtw8fZ+C5E6NNJPurINrRZVoPp3K4uP6WClcSjb5YX BmdlRJZDN//3Hr6qxw8ufDJl7vXtArgiMdVgpEQEVm90UJpWgbY9e9JJrCX/j+8PUDUI rAsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=SGVC0BD1; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz3-20020a1709072ce300b007a2d966eeccsi8187729ejc.686.2022.11.22.15.10.00; Tue, 22 Nov 2022 15:10:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=SGVC0BD1; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234981AbiKVWzk (ORCPT + 99 others); Tue, 22 Nov 2022 17:55:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235307AbiKVWzP (ORCPT ); Tue, 22 Nov 2022 17:55:15 -0500 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED241244 for ; Tue, 22 Nov 2022 14:54:55 -0800 (PST) Received: by mail-pj1-x1049.google.com with SMTP id q98-20020a17090a1b6b00b00218c081f92bso2982666pjq.8 for ; Tue, 22 Nov 2022 14:54:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=CPjzMg27nsggyssWlNTVqAdofNU6F96gO6p2IIRQk5M=; b=SGVC0BD1YliTiWMIJWZXNMQlsIXRWnLU/5veN8ZD5UKOWOyjuM7aLFNgGBiAbylFp2 9mChjb2FfHD+O5dctg1wpnQo3WYZjL3KTkA/8zz2mfvkQHjQARf5v5XpYemA+e/SkNpD UisNmhrXN1j40KoZ0rNhD/FNprmaAXBrf2URzOJhZCqVZmoJ8c7J/JpBh6WLoupZgd3n X41sQDiTK6defUGTdcoOcjhnQ6vAN5AYkhE53vi8+m9qwmjD2r0OWqwN59peD96l/97d MWyxzkhYLtTpuBKUSmnM7iFJZVDIu3iqxD7molmaEdDyFu44ulprv+qY5X8l0IT53VoS mmQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CPjzMg27nsggyssWlNTVqAdofNU6F96gO6p2IIRQk5M=; b=wSlm+cJF/ErarCmiJIxNGTBXO2CQcUrxRbcBS5eyvX0P+iNBcP0KmB7wMhhXi581xR vtBb1p8l3X0eAmyCw3VGjqt83S16CnQPR4GA+cQ5b6dmDmoGFAFGoUNjXrerHZ3TElDG 2gn89pbc9efjbz11QXG1A09ySdOlwmPaRrdidTQoSJLRJF28nPk/wCPMZrXpYRQHAh9c DNRLKUnYDOq30jhNOqns4wJMuqj6+6r1wGCgviPVD3NfxTDVdE33ECWozhJU+K5at098 QUJVfzHXqWNAgyX3LfjpTKTHghy0XIQYD7szUPrtdUP5BGxz47sVEYGodSGnpHaJyv1p 29sQ== X-Gm-Message-State: ANoB5pkoNHV59cbtbF0g/TBqUTtHw0hPfL1NpM0EdCz8NanUMKWsrNf8 N782kir2bX6LfdulD3NccFvyncfPun4T6Ac= X-Received: from joefradley-custom-96.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:831]) (user=joefradley job=sendgmr) by 2002:a17:902:6505:b0:172:7a15:9a61 with SMTP id b5-20020a170902650500b001727a159a61mr9143392plk.71.1669157695439; Tue, 22 Nov 2022 14:54:55 -0800 (PST) Date: Tue, 22 Nov 2022 14:54:49 -0800 Mime-Version: 1.0 X-Mailer: git-send-email 2.38.1.584.g0f3c55d4c2-goog Message-ID: <20221122225450.789234-1-joefradley@google.com> Subject: [PATCH] crypto: x86/curve25519 - disable gcov From: Joe Fradley To: Herbert Xu , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" Cc: kernel-team@android.com, Joe Fradley , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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. Signed-off-by: Joe Fradley --- arch/x86/crypto/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.38.1.584.g0f3c55d4c2-goog