Message ID | 20231010145220.3960055-3-alexander.shishkin@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp259005vqb; Tue, 10 Oct 2023 07:52:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHSbqwIZe2gXZ5wPOFlq1ffwfNcoqmok+dOnWzqI29wH9ezMcDJr9kso6Z9i/e1xps8t+gf X-Received: by 2002:a05:6808:3025:b0:3a3:6cb2:d5bf with SMTP id ay37-20020a056808302500b003a36cb2d5bfmr23372169oib.4.1696949579487; Tue, 10 Oct 2023 07:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696949579; cv=none; d=google.com; s=arc-20160816; b=uAD0RSm2PlUnnAkvVGlq9CGlyn7g0PvQIeX8ta7cDWHTf/61OCzxn0ZgFRkcGCnOir WytvVWdE8CD0GmwIJKH+a6u6TX2dv418HhmulPqvXMcreBh0R2BgVgpwkgnCtuT2UKdY 8u9yYKzOOOT0plOiuMAu5YC8CggsIVTOzdmR3TpWd2vVpbNqY2/Jp7XEglWfcw+5aloZ 5OU1URFWyrKEjkvPrv4BmhTFOGxixKlh7xCzdUTzzsafb15rCRG7cAtCmKWaSRFcLrtk 7FaH7gkc7pfgmnnQhKJE350YXLFsS+6uCxObfKpBnbvxAxdITyD+j6oirJvqU0Yz3nu7 MBEw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4k32NlLOowsfoF7pBkeOAIkt1maob5O8J8Ehw+CHJLw=; fh=sIv1O1zr02Mb5r17diiek/ddX0dZBx8mkPtVoP/DpuQ=; b=BzFzyEzzdCocyWGg3TraBC8BVsMNcNhWvSbKde00FMzYAj6ynoWfxl5CCMQfwUuoYf qHMvtGN8aSHVpak8YoHgsAJLYenFu3Xn20jbLs7UoEUyis3ManuJfkXw843SSSCWNVOd fadVNY2i7MqWVQvI7rRGy49k3CiIW0plmwM0Qe0Vze+Yk4BFHiM//1u1khZjfxS33rk4 RM0Bzmr+zIQK2bf1db6ai1zRVq7Xz1oVJaDSDnHG6Jp60AdS3Gm8dLIhP1Dpl9RwJdZ/ 93cOrNz3oiFqKS83GHu0fFFnjH6kdTY9YgHyopV5T/xBiJG0Ze+YpwxgL6gz/aOBOtcQ 4Nlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BGVmBG3M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id q7-20020a635047000000b0056a1ed17deasi9917026pgl.675.2023.10.10.07.52.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 07:52:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BGVmBG3M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 4CD7F803B508; Tue, 10 Oct 2023 07:52:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233060AbjJJOwv (ORCPT <rfc822;rua109.linux@gmail.com> + 20 others); Tue, 10 Oct 2023 10:52:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232993AbjJJOwo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 10 Oct 2023 10:52:44 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34747B7 for <linux-kernel@vger.kernel.org>; Tue, 10 Oct 2023 07:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696949561; x=1728485561; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JbOkmGE7Zp3VTl3c/W/bo8PYIhYgD0PoZ/IcICLZmso=; b=BGVmBG3MToSofZHE3v8Pbm320acsY33kf4sphCgzBk+OVk5KktSGdvHX UOfAwlu2+8nbPASV4t6PK1u4QnMEkQNSbWcndvPG111J9W0Rku+E+fLxP 6rw2cdYaatA8RpQt+dcbRMYtquz0UW8t2KRgsUwdmRqPXyJz2oGvDKKHj 4dyyUqdjwJbLGyUS57fjd5VfPRTAAD7cNAfYKweSiAYp66aFZup2+ql7h 9Cll5C9E5WUqp1nAplA3xNUBkJSty5RRaAeHD4d/GS2F9FU79BaOvnj1h gRLCcb7qhL9XC9JeJC6UldUtqZG3hDitI0ACdqVUV/oKXnr5h63sEadX9 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="374763983" X-IronPort-AV: E=Sophos;i="6.03,213,1694761200"; d="scan'208";a="374763983" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2023 07:52:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="788609443" X-IronPort-AV: E=Sophos;i="6.03,213,1694761200"; d="scan'208";a="788609443" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by orsmga001.jf.intel.com with ESMTP; 10 Oct 2023 07:52:37 -0700 From: Alexander Shishkin <alexander.shishkin@linux.intel.com> To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, "H. Peter Anvin" <hpa@zytor.com>, Andy Lutomirski <luto@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Alison Schofield <alison.schofield@intel.com>, Tom Lendacky <thomas.lendacky@amd.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com> Subject: [PATCH v3 2/2] x86/sev: Drop unneeded include Date: Tue, 10 Oct 2023 17:52:20 +0300 Message-Id: <20231010145220.3960055-3-alexander.shishkin@linux.intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231010145220.3960055-1-alexander.shishkin@linux.intel.com> References: <20231010145220.3960055-1-alexander.shishkin@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 10 Oct 2023 07:52:57 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779380602544691930 X-GMAIL-MSGID: 1779380602544691930 |
Series |
x86/sev: Generalize sev_setup_arch()
|
|
Commit Message
Alexander Shishkin
Oct. 10, 2023, 2:52 p.m. UTC
Commit 20f07a044a76 ("x86/sev: Move common memory encryption code to
mem_encrypt.c") forgot to remove the include of virtio_config.h from
mem_encrypt_amd.c when it moved the related code to mem_encrypt.c (from
where this include subsequently got removed by a later commit).
Remove it now. No functional changes.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
---
arch/x86/mm/mem_encrypt_amd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/mm/mem_encrypt_amd.c b/arch/x86/mm/mem_encrypt_amd.c index 62dde75d41fa..a68f2dda0948 100644 --- a/arch/x86/mm/mem_encrypt_amd.c +++ b/arch/x86/mm/mem_encrypt_amd.c @@ -19,7 +19,6 @@ #include <linux/kernel.h> #include <linux/bitops.h> #include <linux/dma-mapping.h> -#include <linux/virtio_config.h> #include <linux/cc_platform.h> #include <asm/tlbflush.h>