Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp518385imn; Wed, 3 Aug 2022 13:50:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uvv+gcOZtQP0VGKMCjdfW0DGc7JO4xy5wkIe9RsTFYJhV0UpTh1vJfK1X25SUHC8WBRgYh X-Received: by 2002:a17:907:9809:b0:72f:817:d433 with SMTP id ji9-20020a170907980900b0072f0817d433mr21768998ejc.483.1659559847693; Wed, 03 Aug 2022 13:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659559847; cv=none; d=google.com; s=arc-20160816; b=rk8kevfjVH7cedfm0L+LisCiCO/jF0mkTcugO/fAtCGzhTUFWr9OXtE6hxw3uU2EFA hJRpvLpUXz04gXACX7fpqw9WOMHNpyzHZ5714WaRQTLv6fCIb64hXHSOmyw5yLCbICQJ xhC9qs6sVQxO87uPWf8vjf3Mn9JQNDVyQDaK8Aj5gFP4zyZgJk0EJomojmQSO0B6E9AF g/jSb0adGPXLAsr9YnaicDIr6WHcicQPoCQRr80+Cj+xBDaUj2IVDfSQXQTdEZcHK+qB yss1xYqpI9Ek7HWCecTI01x36r2NKYcsox4Ufd2U3NBqHC4rWc2EqV4jRQM5SH/+uGkW gObA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=vKzaXxOuodAWNmH75tEbExlIwhjF1u2srkFX6cUqy68=; b=fanY9LjWhy5N0CCqq3v0J5pF6XIdpC948Z83uQVNr4oxR6MHh7R6k/DMz/RO7W/6ZF Ub+IcO5pSL+hBTwNORjrATfau5eely8MynPrg+pPE0yLr+YfNE+g4VEuH4VzaiVqE9fE AeAYhlrt2j5h0GN+NwOyDhX0gsw67t/rfozyRCkeDWKuFBdwmzuvSnuQJHvHKVg7Jl1j Am12+gtwcZlKc9TbNRALtj8BGZMTZjSWFwx0XIPSSw1MOCbSpPap3a6eIEAtJh8njmvg AYfzFF4ViqGPLdioVo1VPbT/n8VpTU7h1JxoxussaI59NPr7K+fo0TjUPd6O5Izp3Cw5 HtTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=1N9xrFj3; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=uP6uiImS; 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=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s3-20020a17090699c300b00730a5a456e9si4222828ejn.758.2022.08.03.13.50.13; Wed, 03 Aug 2022 13:50:47 -0700 (PDT) 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=@suse.de header.s=susede2_rsa header.b=1N9xrFj3; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=uP6uiImS; 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=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238428AbiHCUsB (ORCPT + 99 others); Wed, 3 Aug 2022 16:48:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238558AbiHCUsA (ORCPT ); Wed, 3 Aug 2022 16:48:00 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23BE75C95D; Wed, 3 Aug 2022 13:47:59 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id DC72F205AE; Wed, 3 Aug 2022 20:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1659559676; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vKzaXxOuodAWNmH75tEbExlIwhjF1u2srkFX6cUqy68=; b=1N9xrFj3qsgIi07FRZeT3t2v17ay2mE/+y9hObqOxXtEZRK9BaVfbGIK0zbZTMvY7BqOdb M736F8TLWcuN3f6+uxonNWXujE9Bnm+s5rXFIPbYDQ8K4+bHznI0Dqlx3KevV+EkGiv8I3 AcKeH+t2EsxqZnN2dBvJXzNvJCDTEps= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1659559676; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vKzaXxOuodAWNmH75tEbExlIwhjF1u2srkFX6cUqy68=; b=uP6uiImSTFu9yAAlNQcJk5kVRF+mp7dHlSeJ8nLrZo59FuJ/Ob2qdmuAbTTDKl27qA780e gBCD5X7pmiIli+Aw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 8FAE113A94; Wed, 3 Aug 2022 20:47:56 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id KBlkIfze6mJbMwAAMHmgww (envelope-from ); Wed, 03 Aug 2022 20:47:56 +0000 Date: Wed, 3 Aug 2022 22:47:55 +0200 From: Jean Delvare To: LKML , linux-crypto@vger.kernel.org Cc: Declan Murphy , Daniele Alessandrelli , Mark Gross , Herbert Xu , Prabhjot Khurana , "David S. Miller" Subject: [PATCH] crypto: keembay-ocs - Drop obsolete dependency on COMPILE_TEST Message-ID: <20220803224755.177de90e@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. It is actually better to always build such drivers with OF enabled, so that the test builds are closer to how each driver will actually be built on its intended target. Building them without OF may not test much as the compiler will optimize out potentially large parts of the code. In the worst case, this could even pop false positive warnings. Dropping COMPILE_TEST here improves the quality of our testing and avoids wasting time on non-existent issues. Signed-off-by: Jean Delvare Cc: Declan Murphy Cc: Daniele Alessandrelli Cc: Mark Gross Cc: Herbert Xu Cc: Prabhjot Khurana Cc: "David S. Miller" --- drivers/crypto/keembay/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-5.18.orig/drivers/crypto/keembay/Kconfig 2022-05-22 21:52:31.000000000 +0200 +++ linux-5.18/drivers/crypto/keembay/Kconfig 2022-08-03 22:36:27.354500492 +0200 @@ -42,7 +42,7 @@ config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_CT config CRYPTO_DEV_KEEMBAY_OCS_ECC tristate "Support for Intel Keem Bay OCS ECC HW acceleration" depends on ARCH_KEEMBAY || COMPILE_TEST - depends on OF || COMPILE_TEST + depends on OF depends on HAS_IOMEM select CRYPTO_ECDH select CRYPTO_ENGINE @@ -64,7 +64,7 @@ config CRYPTO_DEV_KEEMBAY_OCS_HCU select CRYPTO_ENGINE depends on HAS_IOMEM depends on ARCH_KEEMBAY || COMPILE_TEST - depends on OF || COMPILE_TEST + depends on OF help Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash Control Unit (HCU) hardware acceleration for use with Crypto API. -- Jean Delvare SUSE L3 Support