From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 890033321A2 for ; Mon, 26 Jan 2026 10:53:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769424791; cv=none; b=Ven7cPdIJEHGLUACQwzyj4AxXaWNLrGthPIVsNGJvS0TL93UrJE9ulRP6XPgOQq+eIcyI3qzdP6AOagkpn+LN3UnmvGzu9LCiwDhGlia/GRXIr1Sdxtfx1u8b33yKo5TqMVXymmeGynzo7II5t8G7esYaB5XlGEPRe4vWFwMTAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769424791; c=relaxed/simple; bh=Q7v7k8qnwyLssYyE6bXhqsK9cTQ84Pp2u07KKebHmOg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fUDmbjMj1zm1dT7PK0rrIQi8RQfvSn2qVMPCs+oOrYT3fLdtUTS0SiCvOtcy6rmz8Fa6IRr/xyARjBrjRbUYzQ5eAa5uJjg3u4KBNY9LinBclwLoJXilpWQJQDwwBz8wRwaJEHlgRhOHkVwyj0zLAqq1bTcsImmPFqflH7J3yhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=e5lxbDV3; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="e5lxbDV3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1769424790; x=1800960790; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Q7v7k8qnwyLssYyE6bXhqsK9cTQ84Pp2u07KKebHmOg=; b=e5lxbDV3B4ieuR+8UgC//yIK7LI+YBKy/OlccImELjCWZ5w1PWZsg2tt 8O8aBAE/+7hiNSAud+4fCH6a1mBHpeinMKWJ1PcU/Z8XyjZquf45cPmc3 FDv0tXibgkWTIFRL6/H45qAuKTP6+euec0VVILirsVchL6LslhRNTVHiV GLHW9IbUqJ1v7gYCCC6e3gCOUWamkBe90vMxuN82LKzfmSyzLAkyaVNoR DAGPNMFAehxFB0kNzFvFgssNTMhlaQVTtdctwBxl3AB/ZgQrKcsnSqjKw n3CUO6j85wQAnp+YglIhDt84Gk60WIxPE3LX1Vhx+QXeL/Ck5BmJqIb6v w==; X-CSE-ConnectionGUID: TCbCTXigRh+e4unEPhsG/g== X-CSE-MsgGUID: 8W1qF+zwTxSYxl5C2+benw== X-IronPort-AV: E=McAfee;i="6800,10657,11682"; a="80899646" X-IronPort-AV: E=Sophos;i="6.21,255,1763452800"; d="scan'208";a="80899646" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2026 02:53:10 -0800 X-CSE-ConnectionGUID: JLhSzOkCQ2CTT9WtNUzNWg== X-CSE-MsgGUID: IQefoW+3TxyDKH1bK8+ayg== X-ExtLoop1: 1 Received: from krybak-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.55]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2026 02:53:03 -0800 Date: Mon, 26 Jan 2026 12:53:00 +0200 From: Tony Lindgren To: Chao Gao Cc: linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, x86@kernel.org, reinette.chatre@intel.com, ira.weiny@intel.com, kai.huang@intel.com, dan.j.williams@intel.com, yilun.xu@linux.intel.com, sagis@google.com, vannapurve@google.com, paulmck@kernel.org, nik.borisov@suse.com, zhenzhong.duan@intel.com, seanjc@google.com, rick.p.edgecombe@intel.com, kas@kernel.org, dave.hansen@linux.intel.com, vishal.l.verma@intel.com, Farrah Chen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" Subject: Re: [PATCH v3 20/26] x86/virt/seamldr: Do TDX per-CPU initialization after updates Message-ID: References: <20260123145645.90444-1-chao.gao@intel.com> <20260123145645.90444-21-chao.gao@intel.com> Precedence: bulk X-Mailing-List: linux-coco@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260123145645.90444-21-chao.gao@intel.com> On Fri, Jan 23, 2026 at 06:55:28AM -0800, Chao Gao wrote: > After installing the new TDX module, each CPU should be initialized > again to make the CPU ready to run any other SEAMCALLs. So, call > tdx_cpu_enable() on all CPUs. Reviewed-by: Tony Lindgren