From patchwork Fri Jun 9 14:09:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 105665 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp982778vqr; Fri, 9 Jun 2023 07:19:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zD/gN4ip6hLwUE57MfemZMdbzNIsJzJQhUMpLqQWaXRnb3rUmj2NDXTScQ/SSmPIPBEex X-Received: by 2002:a17:90a:356:b0:256:22e:b93f with SMTP id 22-20020a17090a035600b00256022eb93fmr1059158pjf.18.1686320387951; Fri, 09 Jun 2023 07:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686320387; cv=none; d=google.com; s=arc-20160816; b=Wpm8yqSub76BwO1raZuqXF/N4rTdYi6iS8LZl18BWnPP5K2HfGHQ5SLP+YKKwKbpES DTLkfzH9k3+ZvLU0gGPKTmj+oUvy/0+kkX9StRutvH01caSel/MUuTkGm5T+yFAtZHe7 awqvFgLtt8n0zMaQs+noCehUnWDsZQsBSYDn8XhF542A2wrzUOlD38ojB3nksJBHESU0 q1Q63ZrtkqOtz8MWfY33twjh9Eco8JpeT6Ty5okvYGEt3SUhm3bQYnZq9kCQi9PPXkeT 5+hTVJkZL+KMzdUZpY0DgwE4KmATTZSPkfiydnuru0K7TA5qERZ1BA3u6huCw3V3aDtX 8rag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=JDj8IzLM0Jtl37BLKjWXAZXxtw67psPlf3t0DxPDuDo=; b=MH9of09MfOqWyI7tnYduGl5QMsWRepqPWRHdNcxrAGTo7jYmSqPetZWyMXnDAkuPGx 0pyJDcQqpPPZYV6x6TOoiGu+w8dL75EE0QyGZzb1EA0QquZLDpuR5HnTo4i0vvpWlu7a rUEqUpGM+tytz4DJaYwGdG0lZK1iurZU4GBiR5Z6ud57SjAM00iIHpE7H4tcNUk+XFKu NWfGEudLPQ20gr9ZNuh3b5WsOhD/WYzgu7pWY+WAOGHFDNaQgi4thwLhkbBXSSZ6qyjW MhysarWT253SqNoEAp9GhqO5C22exygzsuKDvrpV8o5xNcyijIu8+dsuCnRJnn2rNJgu Tl1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=P4IQbUFd; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020a17090a2e8c00b002590f26818asi4565955pjd.0.2023.06.09.07.19.34; Fri, 09 Jun 2023 07:19:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linutronix.de header.s=2020 header.b=P4IQbUFd; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237974AbjFIOKZ (ORCPT + 99 others); Fri, 9 Jun 2023 10:10:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232138AbjFIOKU (ORCPT ); Fri, 9 Jun 2023 10:10:20 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D050D4200; Fri, 9 Jun 2023 07:09:50 -0700 (PDT) Date: Fri, 09 Jun 2023 14:09:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1686319760; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JDj8IzLM0Jtl37BLKjWXAZXxtw67psPlf3t0DxPDuDo=; b=P4IQbUFdfX6NtRDMfJE594Kla40bSHV2mCGURzdZa7NY9jPt5CxfcCK5h56MEpFRozC912 7pDXQNY7odH1DtpU7Qkue04i91DgbXmpr7GgewpiSCQpBYbcvgH/+ud3241nY8JXUXzVNg uBKYwK8kG7d4Hj71qOK8UJ8r+quqWQqP5jOUkACG6yQug1hVmNLdQqosdz936zvefdHiDi EIh4XFruUpvD+QS5lGsWOgY3obKVKIEu5UDen314L4a4j8nFz4siDrxBzzoieLqA0ONW+B dqCzPbvUgocmUkSni/4L3G2yQ8ihhfQ/FZ7Jhq7+mwo66HLAkrj+PwILi25uJA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1686319760; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JDj8IzLM0Jtl37BLKjWXAZXxtw67psPlf3t0DxPDuDo=; b=pNN28+o7WNi7tymYMweYJRysbpH6XrDXBwrh5FbrLBsUm1XGI8N30ZuI4z5JTLri2YBtv2 whrxyDv/oBF6NdDg== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cc] virt: sevguest: Add CONFIG_CRYPTO dependency Cc: Arnd Bergmann , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230117171416.2715125-1-arnd@kernel.org> References: <20230117171416.2715125-1-arnd@kernel.org> MIME-Version: 1.0 Message-ID: <168631975954.404.17946185529019055660.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails 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,URIBL_BLOCKED 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768235087154693174?= X-GMAIL-MSGID: =?utf-8?q?1768235087154693174?= The following commit has been merged into the x86/cc branch of tip: Commit-ID: 84b9b44b99780d35fe72ac63c4724f158771e898 Gitweb: https://git.kernel.org/tip/84b9b44b99780d35fe72ac63c4724f158771e898 Author: Arnd Bergmann AuthorDate: Tue, 17 Jan 2023 18:13:56 +01:00 Committer: Borislav Petkov (AMD) CommitterDate: Fri, 09 Jun 2023 15:53:07 +02:00 virt: sevguest: Add CONFIG_CRYPTO dependency This driver fails to link when CRYPTO is disabled, or in a loadable module: WARNING: unmet direct dependencies detected for CRYPTO_GCM WARNING: unmet direct dependencies detected for CRYPTO_AEAD2 Depends on [m]: CRYPTO [=m] Selected by [y]: - SEV_GUEST [=y] && VIRT_DRIVERS [=y] && AMD_MEM_ENCRYPT [=y] x86_64-linux-ld: crypto/aead.o: in function `crypto_register_aeads': Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver") Signed-off-by: Arnd Bergmann Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20230117171416.2715125-1-arnd@kernel.org --- drivers/virt/coco/sev-guest/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/virt/coco/sev-guest/Kconfig b/drivers/virt/coco/sev-guest/Kconfig index f9db079..da2d7ca 100644 --- a/drivers/virt/coco/sev-guest/Kconfig +++ b/drivers/virt/coco/sev-guest/Kconfig @@ -2,6 +2,7 @@ config SEV_GUEST tristate "AMD SEV Guest driver" default m depends on AMD_MEM_ENCRYPT + select CRYPTO select CRYPTO_AEAD2 select CRYPTO_GCM help