X-Received: by 2002:a63:e59:0:b0:374:a169:d558 with SMTP id 25-20020a630e59000000b00374a169d558mr1021265pgo.304.1645647689629; Wed, 23 Feb 2022 12:21:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645647689; cv=none; d=google.com; s=arc-20160816; b=d19f3PtBQED7HeouYVGTTDqZ9LO+TydO1nT/tZsYLnxjkMS89w6Tv3RSjC5aYZPScL Xz0u+aJEC7wH/GcEHU4udrH/Jr6ivSXQQEgRaaCGEnJUL71191lUvxYopxjwHhvpfFR4 lCtc88Mmdsz4A2DAC4J4tgLC8urPweKeezSf9Jc/TEyqFre+aMDIZY2qEV8rgEQFvSEX hA1b8u0kS1DwFshzCPm98Yoh8jLSDxW8Ur/WFoB6WvzqPPw1CmPIBIIjCe+DTFcCfZwk 93T05WfKfmPXfFIyJeqcK5sdEDg4GL7kl9Ej3VoImj81tUKShi6mT1V+WoM+eTiFH0S3 UXbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=+bG53Wp6Gl3zxi+iDVlP2+hLh3hp86ZbjZHuT6T3H4c=; b=oB27JjY0iDsR5LJFJ6YDTrAmnhj861hB3J70Xml8qCf8cOZuJZ6/ySNYNMo8T3+zLD 8MNDD5Zoin142uUC3c4r8RIhif59BDFOqg1o8w4MnhTlAxoCikeBuw4S5rDdE3uiYwFT jr5bcTFK8Iq/JgRJz30carExbJ/6AmPfmT16AGIUflbJDHVMcacZxWxxP29f6LSj93Ym 9qUuKLN3+hFddCXxt26lzhgDMN65KicYRsbMHElNs2J7AzeUiqMhOuz4vGhvYhXzqPqz +O13+Ay3pcN/azbd5gY9v0z6Q4Hh6E0hrnSkY8E3zuAQn933PBlfMIdvy4AGIbQBXMiF avug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=xS7aTKWI; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=sxQAYgK9; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q77si515030pfc.250.2022.02.23.12.21.06; Wed, 23 Feb 2022 12:21:29 -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=@suse.cz header.s=susede2_rsa header.b=xS7aTKWI; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=sxQAYgK9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234562AbiBWPKW (ORCPT + 99 others); Wed, 23 Feb 2022 10:10:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233411AbiBWPKV (ORCPT ); Wed, 23 Feb 2022 10:10:21 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DB56B54F1; Wed, 23 Feb 2022 07:09:53 -0800 (PST) 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-out1.suse.de (Postfix) with ESMTPS id 41C27212B8; Wed, 23 Feb 2022 15:09:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1645628992; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+bG53Wp6Gl3zxi+iDVlP2+hLh3hp86ZbjZHuT6T3H4c=; b=xS7aTKWI8XT6G562T77CJH92o9fzp6NYMX790K0voS6SNKVFj5iAdczmeOdVLIiYNDLP70 VoCtdAGAIaTilxlnT2pFdK2eknkRndK/LPY2z+NpatJ7jeR1VGtTmOubyMnlZDCKTGRz1+ Ar7FNLNr9kWvEDB2sXkPsr0OuY7k52Q= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1645628992; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+bG53Wp6Gl3zxi+iDVlP2+hLh3hp86ZbjZHuT6T3H4c=; b=sxQAYgK9otm3HSE0AEpEYEywkD0OFra5TTgWQTx83lUUmg9KFW+TiHb4MaQCtioGW3pf9E 0YrDKER4+2oa62Aw== 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 BF94913D80; Wed, 23 Feb 2022 15:09:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Zo4FLT9OFmIiYAAAMHmgww (envelope-from ); Wed, 23 Feb 2022 15:09:51 +0000 Date: Wed, 23 Feb 2022 16:09:50 +0100 From: Petr Vorel To: Herbert Xu Cc: linux-crypto@vger.kernel.org, Nicolai Stange , leitao@debian.org, Nayna Jain , Paulo Flabiano Smorigo , linuxppc-dev@lists.ozlabs.org, linux-kbuild@vger.kernel.org Subject: Re: [PATCH v3 1/2] crypto: vmx - merge CRYPTO_DEV_VMX_ENCRYPT into CRYPTO_DEV_VMX Message-ID: Reply-To: Petr Vorel References: <20220217105751.6330-1-pvorel@suse.cz> <20220217105751.6330-2-pvorel@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 > On Thu, Feb 17, 2022 at 11:57:50AM +0100, Petr Vorel wrote: > > CRYPTO_DEV_VMX_ENCRYPT is redundant with CRYPTO_DEV_VMX. > > And it also forces CRYPTO_GHASH to be builtin even > > CRYPTO_DEV_VMX_ENCRYPT was configured as module. > Just because a tristate sits under a bool, it does not force > the options that it selects to y/n. The select still operates > on the basis of the tristate. I'm sorry, not sure what I did wrong before. Now it really behaves as expected. > So I don't see the point to this code churn unless the powerpc > folks want to move in this direction. Sure (sending now just second commit as requested. Thank for your review. Kind regards, Petr > Thanks,