Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp597103lqt; Mon, 18 Mar 2024 18:50:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbWkfilyGirCt2u4hZ4MY864NehcHtZ7+EbjpzgBZ9zsIHdHUAWvWKxQJxDaNfmu7cYOx+PMEuza/odtORTo6Z4zy34+1xItPGpIRlTQ== X-Google-Smtp-Source: AGHT+IFREPR8/yk3w+sWkX6eP9FZ/izxsaBcKpEKtzSfvLZhLtBGHg38ASB+Dgb4OYcuhVuR0367 X-Received: by 2002:a05:6122:12d5:b0:4ca:80c5:7544 with SMTP id d21-20020a05612212d500b004ca80c57544mr9077685vkp.4.1710813004647; Mon, 18 Mar 2024 18:50:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710813004; cv=pass; d=google.com; s=arc-20160816; b=bNkbTL2hkdEsHi46Elbd91KayKg/zbvE2lTebdjjbXq+Bw+3OGOgx2TKi4thz5yOSU kkX59ROzJRFqsfK0MoZ5XV9xOnJQVLl0uSsEiCq9b/0+4D6IWlqo0e6BcebsRmzmxUjB xvM6h+E4KSZ3hsOy6ybolgV9AOfB4V9rpoVS41MbWXFYKVJiXzf9FdLTgztUpFA4OM3e qoCyPX3RXijvPaUe9r3AUpuAOAmJulnWDzdeVt01GhCqY2FFadzkFqqJyfI8O7DhJnnP wdTpHT6w0rew5akP1pHNdsyTHzuA2Cg8P9K0MECG6CHsbGpYMPmh1ulvq+EfIgC4ODaI /QMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=FKHKC2OHPj1H1iTdRtgTbwBTG03FAoGNvRBgBPkaCCA=; fh=VTqdLKNapz3kVcaNXwmpu/9dDcq2MEeWblnhClqCYpA=; b=kgaUQhBn9oMF8Wqy7p2EMQ8mbkWcF7mgYlvveoNV5TWjzQVTSkdXRdGmxt1KR2L/Q6 2f+7tcoEdzJ6U2bT7NIpxK9ty8oZaZrJDwC/wGYFdEw1la1R0zxPm05QmVV1bs7G/mwr Z0/5SkDC/p4Xe7TEXguAUVVs+/R1ZgLi1u19N2x8fFhx/5XAyfD9mx7P1rgAYW+WmC0B wt5P5bQam97PpWiIOYLmCEI0XwSPSVsRQNLqb4Hf21qk21wkzOkfUoVljGggh8WGo+sx f+ymfF3Oev/AA/z4Ljkfr9eIVHqAKmpr4vwIUMgLGf2RAXGp7xfZgq94e/OGrR/3Abla qwHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WfDqQdyd; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-106902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106902-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id kd1-20020a056214400100b0068f5bff0abesi10004734qvb.442.2024.03.18.18.50.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 18:50:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WfDqQdyd; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-106902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106902-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5ACD51C214C5 for ; Tue, 19 Mar 2024 01:50:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71D4D65BCF; Tue, 19 Mar 2024 01:49:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WfDqQdyd" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2EBCE65BAE for ; Tue, 19 Mar 2024 01:49:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710812951; cv=none; b=J1ApnT5Dbzmnk+wfNx7GaDEcDDdvhrgxpSME2dwRmhhMEWw945PX8x7bPQO3fhOTc2LOFuwXSaLviPYGP5sP/pYgiyboFEfbjvlbCMfvyqAXivtbD8rCRcypfqckvlao/XR7w3HCap3cLrp8ODtqOWL7BBxssquzbHoi5v7HrOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710812951; c=relaxed/simple; bh=MNoeTtcQYX9pC2/kmVoMbgA9lvpq5nltcpL+l2VqpG4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tvcByHMqsz+qzNGRiTCKCJf6pyg0HXCiH5otTmNn6W6MCsUVT0dqtHQU+1DAmtz2hyu0pT1MgY2y1iELNUzzJXRj2m0msbhDS+saFGLf0B7iexhJ/8KJukLc4cVlS4As5Db9/hHfctvfryxJY4pEe77yrC7VP9PkfyfgEP/J65Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=WfDqQdyd; arc=none smtp.client-ip=198.175.65.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710812950; x=1742348950; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MNoeTtcQYX9pC2/kmVoMbgA9lvpq5nltcpL+l2VqpG4=; b=WfDqQdydJKvVyToz/Lag8WIWrNU4jHjQ1mffOImj7NicRdYA3ze5kPOQ TSKYY5ZdtKZ9hoN+TqHkNU5tD3mSIfKgwWmzxdAIG/lvRAjX62O/DWJjn 4izAApUWCrFK+FSwQW8x9rlJgj9CnwO6dU+km1idgwG1em9/uh2sb2U+R 94Rn029WKO7oVnRzXLQ+NxuhLJIbJF1rqopDZ/vxqfrcNEYM7acb29T/l o2FdHl/C+b1h2oedo9N4FNAsnwdCcWiHqPW7kOzBC64SNriMBUeG2VsyT KzGwUqIcyqb1hi2ZGAajl3+p7jCCtXFgXdtQunsD3Nymaou015xVyjtrR g==; X-IronPort-AV: E=McAfee;i="6600,9927,11017"; a="5776918" X-IronPort-AV: E=Sophos;i="6.07,135,1708416000"; d="scan'208";a="5776918" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2024 18:49:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,135,1708416000"; d="scan'208";a="13697354" Received: from server.sh.intel.com ([10.239.53.117]) by fmviesa008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2024 18:49:06 -0700 From: Kai Huang To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, dave.hansen@intel.com, bp@alien8.de, kirill.shutemov@linux.intel.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, luto@kernel.org, peterz@infradead.org, rick.p.edgecombe@intel.com, thomas.lendacky@amd.com, ashish.kalra@amd.com, chao.gao@intel.com, bhe@redhat.com, nik.borisov@suse.com, pbonzini@redhat.com, seanjc@google.com Subject: [PATCH v2 4/5] x86/virt/tdx: Remove the !KEXEC_CORE dependency Date: Tue, 19 Mar 2024 01:48:47 +0000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Now TDX host can work with kexec(). Remove the !KEXEC_CORE dependency. Signed-off-by: Kai Huang --- arch/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e88f6f7b6b41..89b65e2e1115 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1970,7 +1970,6 @@ config INTEL_TDX_HOST depends on X86_X2APIC select ARCH_KEEP_MEMBLOCK depends on CONTIG_ALLOC - depends on !KEXEC_CORE depends on X86_MCE help Intel Trust Domain Extensions (TDX) protects guest VMs from malicious -- 2.34.1