Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp48969lqi; Wed, 6 Mar 2024 09:42:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXudcgrK14VhmGwQFVruUeE29LF6W0WWYog+CyRwVsvIIXzPxGccqGW2kpz8qGPh7HBOXwbAiT1HgHNsej6FXu9aNZDQ+KdjFYamI2BZg== X-Google-Smtp-Source: AGHT+IEkDIhAlk+e3XsuYdxYre/uMW7TxwJK546YhhDQEqKZy9JN3oQBfXfuF6ykq+Yy/0xoqcPj X-Received: by 2002:a17:902:ea0c:b0:1dc:cc98:ef33 with SMTP id s12-20020a170902ea0c00b001dccc98ef33mr7116854plg.31.1709746928207; Wed, 06 Mar 2024 09:42:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709746928; cv=pass; d=google.com; s=arc-20160816; b=yvrnJM89iqqBdn9iuDYIjGdVjc6FUVLSo4AArr0u70gBwDRSGAzE+AiYEaR5jDpbQX 3UIvioNZIxrlGV2VHpz+7ABqk20lVHoC3CFyHB/EphRh2Ap+E1owI0gUmvC4AMnWxirz podaLiJPuoeZqwjg/akfijIzw4sRxKG7bD33Bl9+vDBxcAujOiZCpdvHWKVETIKXF/Pb THWzQWDZQACbEJFfy/RYaoIbJCKPJLhoEivoKKp6BjwYiB0uMvWV/vTla0ZGCNA/e2f+ rjbV7iM73lhZhdgLSNeJeQYtgG1x6evGJLhcM2Dib9Zm3wuGychaG7s+hYdjZbLA8lqb fsHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Z2Hx9MRgyRq8mmKgbvQ7bOXjiHcWqH5K94K1ziSC5Sg=; fh=MclYUK+UJ9r4VythKT7GwW7dFtFS6mZ/Vg3uK1OoVSc=; b=jh0QSs6TmWtTjaBy7J6rhdh/WUzEpESpmhbu7ZkPWXXWDrUdGOI3b0MXZ6GwaCf5YA o4c5G8QsWDdGCTot56HNXvIn9Cy4YepKH9LFoaJFrTmDXtLbUzW9icoa/QqIMGzlB2oS S4vER8uKAr9zF6AXvjW21DJAXgzlWuJpia8FdSF15lbF8rbu1S3FCrbESlNPJB169Hsi tSCYuQutAPGmStuLrHz2VagroSPFHqWeeLdurCzP/y0mgiYKaLe3sg5ixAF+nxpVixcn Wyzlz9WOY0rRqkOFvIJr0b0/mbfM2sUBHilW9NLWGIgkGFxVtXPKbhIBsoYdgdi7vqQ/ tMFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VNJ3NK4u; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-94104-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94104-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o6-20020a1709026b0600b001db27f2357esi12000688plk.579.2024.03.06.09.42.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 09:42:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94104-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VNJ3NK4u; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-94104-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94104-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2EEC3B21758 for ; Wed, 6 Mar 2024 15:03:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98FE913475B; Wed, 6 Mar 2024 15:02:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VNJ3NK4u" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (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 4CA737F7FA for ; Wed, 6 Mar 2024 15:02:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709737373; cv=none; b=KZr33gnooRbXqM6zhGzXOZ79rnB310wsVzlV5Le1n5F/RNhGN3UA5tGF1+rYs7qSbDRFCPxhwuH7Bbqy+CMH0msMuOjdc03c1edRvH0Bxc9MIABV0ps3vPXeR7ej6EkDlxwCqUMp14EcnnA/FgEgCijGft7rbzag2OdB9wrpCNY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709737373; c=relaxed/simple; bh=0YlQcNDY2yZmAytkOmvFnpG2SeB7XydxVJMOyJgBm2U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ak4JKfva3/HXBr46p6kF4+UDd5F0MUDSIuWGmK1ZTihcgZ6Svei8qq4ZyRAnuINFQBFyi8YRJLRvxyAuqTsG2KsTf5x1BSMQv9eLAt6FNFn8yqLxjycLFyfBUToY8XGI7rIgeBCwjD0Tro7QhudQjUTk/tZ+X7hAlbCdFG1K4TI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=VNJ3NK4u; arc=none smtp.client-ip=198.175.65.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709737372; x=1741273372; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0YlQcNDY2yZmAytkOmvFnpG2SeB7XydxVJMOyJgBm2U=; b=VNJ3NK4u7SbSGb1dKEL3Zp7ZerXNG7Yng7KygEaeMEuBXU7/YVjn40qS W698ufl58Q9ZsPp2yO7u7VCVdknJ6RPDwy/hiC+K3NpOmq8opM57U6tan LFgphFasIZ5wbID0jqLAUyytyc4A0uUadb9C7g3s9yp3tIIbMsLav20Dj WaO6noABHWShnEWtFN6+9AQ7gzzzEjemp7DFeZNLmwbUZpKPpKYklWjkq AXmFLWvyXBd1+JS8CQOPR/GKFHCbP66rKNzdeuMZ/PCrWeUfXR330hZf8 Uz7pWdiF+0IBuwPjl49/YGRgQLokD9hTZxsCe1OdHcKs2jpTYFKrYqjbc A==; X-IronPort-AV: E=McAfee;i="6600,9927,11004"; a="4467260" X-IronPort-AV: E=Sophos;i="6.06,208,1705392000"; d="scan'208";a="4467260" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2024 07:02:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11004"; a="937045015" X-IronPort-AV: E=Sophos;i="6.06,208,1705392000"; d="scan'208";a="937045015" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 06 Mar 2024 07:02:46 -0800 Received: by black.fi.intel.com (Postfix, from userid 1000) id B7F1D184; Wed, 6 Mar 2024 17:02:45 +0200 (EET) Date: Wed, 6 Mar 2024 17:02:45 +0200 From: "Kirill A. Shutemov" To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Cc: "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , Kuppuswamy Sathyanarayanan , Elena Reshetova , Jun Nakajima , Rick Edgecombe , Tom Lendacky , "Kalra, Ashish" , Sean Christopherson , "Huang, Kai" , Baoquan He , kexec@lists.infradead.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCHv8 00/17, CORRECTED] x86/tdx: Add kexec support Message-ID: <4iospuc5oxs7vbgm3driasjeyixvgz6yrmym3kzguzngngo7zm@c6ymrw52fn5v> References: <20240227212452.3228893-1-kirill.shutemov@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240227212452.3228893-1-kirill.shutemov@linux.intel.com> On Tue, Feb 27, 2024 at 11:24:35PM +0200, Kirill A. Shutemov wrote: > The patchset adds bits and pieces to get kexec (and crashkernel) work on > TDX guest. > > The last patch implements CPU offlining according to the approved ACPI > spec change poposal[1]. It unlocks kexec with all CPUs visible in the target > kernel. It requires BIOS-side enabling. If it missing we fallback to booting > 2nd kernel with single CPU. > > Please review. I would be glad for any feedback. Thomas, Ingo, Borislav, Dave, Any feedback? Is there anything else I can do to get the patchset moving? -- Kiryl Shutsemau / Kirill A. Shutemov