Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1247860lqb; Thu, 18 Apr 2024 04:49:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUflpbs646r1/ZuwAuAgjEm5LEVLjlaNU7QVIMtJDjqipz7n1B2LBPOKoqrZiuqo+E5PqV53xpGHk3TUUo0lcEQROXRB196ZZ/mDx4mpg== X-Google-Smtp-Source: AGHT+IH03iLHdW/iw5yNxF2fhrIlj7Fb+946QI61fCFhsK9HfRasp2YQesRwa0Gmib4ECPMpbBK8 X-Received: by 2002:a17:906:194d:b0:a55:63d3:7499 with SMTP id b13-20020a170906194d00b00a5563d37499mr1468061eje.59.1713440992882; Thu, 18 Apr 2024 04:49:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713440992; cv=pass; d=google.com; s=arc-20160816; b=S1SVud6fHbJD6iOalSTl6TRZgJ0ip1aRQcWD2Sg05dPnQCl7bwX52jZ3/QGZcGLTqD xNZR5YP9AJ7nIAe5+JaPgROZqPK02d6zsZxbp8xm/mSjGE9T6r49AwGfQX78GxirNDWs yO27ymQaNuCtjBOGF8ST9eD5GrlmGw+7yks+5ft7OvYmFIkWDHkTjqPaqCXpRbLSP58r IwZYCUrRJfjzHFh4ETt2/4mY9Kwfcm1inb+VixOBUdcGi89YeO6YXXzEbvhnrS/DG0ER FpcTQqRQFgBZ5EZt1iaMIdvNsINVI7Rjn4YKOo57GxoFRmJrUI7zCnnr4eEQm3HmvYes 5EjA== 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=JXurIM5cKSiUgoP2kvoVh2G6wzwMwaQnLWdYCsA5Kdc=; fh=VTqdLKNapz3kVcaNXwmpu/9dDcq2MEeWblnhClqCYpA=; b=To3XNYaiqhObKY9ESIPoeU+nWgL8D0dSzEV3pE7jjdCqXmmifmDrcFofmMf1RAmsLv sVQZ54w05JEPpIHTbxeFhg6Wiwq6xEYGjBMHcZOO81ClwtWKl8PMW63BF4KdF2cljPr3 itAzmPsgHcQe4FuUwfOMBdcPRC5sCcxHQrKP5xmj7jNg2dfvzedLst5jhbFjOozLHA1F K2zlo3obJzRcYVsrrTCt6Eo++OKON4GDJ4SV4ylc5OftE0zLk5zryUbIk6JPIlAj+Bww fMgmzYsemSMAlc4jeaVnD4ML6Ers1z0Kfmyo13odH4yWBUhSMp4Qyk6zJTV6DQqHCq+b z8QQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jrbsXyY+; 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-150004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j26-20020a170906475a00b00a52177fae29si839452ejs.393.2024.04.18.04.49.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 04:49:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jrbsXyY+; 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-150004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150004-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9B0661F21B29 for ; Thu, 18 Apr 2024 11:49:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFE451607A0; Thu, 18 Apr 2024 11:48:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jrbsXyY+" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 D039C15F30D for ; Thu, 18 Apr 2024 11:48:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713440917; cv=none; b=VmqPrEii3WfbUmNv/29WGCOVZy0iRDX+LpC+oZlJSO6V33fxr6KAe79f18M0M+pJN7PPLR7MIv1snngGmMl0i++tF4O/J3/vQ90E23e0k3Tt2zDwomssxQEZpIkLUVC7NQHNRdXONIIFK1zlPei7GdS36Vv0wNIuOPJVPssD4tM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713440917; c=relaxed/simple; bh=fZ0TVXeO1x1cEVD9o4dos0k+DXgqUt8822Ue7ktezDk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HEMuabCv3CeZkBKyqxr6Lfjx0Fm+tF++ad5N3gzSsu1B0c3EfBPikLOZFWolev7lvWEyHhlsyVN5pGOVHHGy4mfYBOtmNjH2Rp78+TKpxBQmFQk4fLDPyQ9LIzyRXftu1auDc16U/1i2ueNWDvUUh6Eg/nlwTEEDBCNw7cgzy60= 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=jrbsXyY+; arc=none smtp.client-ip=198.175.65.15 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=1713440916; x=1744976916; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fZ0TVXeO1x1cEVD9o4dos0k+DXgqUt8822Ue7ktezDk=; b=jrbsXyY+8G3WlxQJDD9zCweTVZIWhekLqm1JZ1xy/pAoY2X3hWNCmTGs qZMXv+ZdmaL5MRSfAj1PmqkYWHvkkeEUJtJ+PX2iLbhUHmEr+yqg0tXD0 Nt/ZOtleZ4Tg42KxtqNwIHKaE6Vi+rOjpQzQ7LD2cUAwIR+OeEeRAdTTu kTCUmb7lAFcv2wTHm1EsWFEcwtTDJSLy8hgU/D+70vAG4qMVt5C+KNWWk nKAgGIGcUZQdnEFICX+7oeHRIfSUkV93Rf57oqPGVtTdKE0lrypYQGc99 a3bJgWwDEzm/nIaYLg8983Q2bIWhOnDGTir3jH3/AgG11DMAuV1/8Qkpj Q==; X-CSE-ConnectionGUID: iIc+a6eETqW5y+zgh9So5Q== X-CSE-MsgGUID: AHTFm5HPRsutKLNrsow7/Q== X-IronPort-AV: E=McAfee;i="6600,9927,11047"; a="12769413" X-IronPort-AV: E=Sophos;i="6.07,212,1708416000"; d="scan'208";a="12769413" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2024 04:48:36 -0700 X-CSE-ConnectionGUID: EaP64czsQjqS5lHNnMlLGQ== X-CSE-MsgGUID: JR8gkd7jRYySu0ea9ShDfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,212,1708416000"; d="scan'208";a="23019913" Received: from vgannu-mobl.amr.corp.intel.com (HELO khuang2-desk.gar.corp.intel.com) ([10.212.134.136]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2024 04:48:31 -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 v4 4/5] x86/virt/tdx: Remove the !KEXEC_CORE dependency Date: Thu, 18 Apr 2024 23:48:04 +1200 Message-ID: <9f96c89171ba0bc04209d33b4f812720a529c858.1713439632.git.kai.huang@intel.com> X-Mailer: git-send-email 2.43.2 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 2dac256b6e8d..3761f55c41ab 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1968,7 +1968,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.43.2