From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) (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 F1A3F47798 for ; Tue, 21 Nov 2023 10:40:19 +0000 (UTC) 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QtBAvQF1" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700563219; x=1732099219; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=NaeYZlAyfEszL4Mboch+ASOVeF+qoSwNlJCREj7p544=; b=QtBAvQF1N/6b4zhZN5Yy1IH45XKEH7PjCA+poYYUxzy3lFiwELbrOy0v Lr1T8YLl6Zewso53fIHP+CnY1ABCUOW0EqUp8PVr0k6Z9+a0MJkinnR3S yiXT/0RTznxVRo0z63FOu5g+rMgVNeXkoUo5CZmX8MZh+ScuLuJLY3cGW jYgIYaxu3UAYI+3VB3WmJBw6tDQphM60eI8rCYbckZ94L8neS9MqHjIhI wae2+RudB2/ayX3r//q9QxTfkIWF4p2A62j6lgdy9sGYnP41z9kzbp6s8 C6bCIvvGxTjN4yYmDrJvZ4/bAU0nf9FjXe45hQa+CsEGpFUQC8dPl7Jv4 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="371987300" X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="371987300" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2023 02:40:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="14872307" Received: from ikosarev-mobl1.ger.corp.intel.com (HELO box.shutemov.name) ([10.252.40.84]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2023 02:40:14 -0800 Received: by box.shutemov.name (Postfix, from userid 1000) id DDCE010A36E; Tue, 21 Nov 2023 13:40:11 +0300 (+03) Date: Tue, 21 Nov 2023 13:40:11 +0300 From: "Kirill A. Shutemov" To: Baoquan He Cc: Thomas Gleixner , Ingo Molnar , ltao@redhat.com, Borislav Petkov , Dave Hansen , x86@kernel.org, "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , Kuppuswamy Sathyanarayanan , Elena Reshetova , Jun Nakajima , Rick Edgecombe , Tom Lendacky , "Kalra, Ashish" , Sean Christopherson , "Huang, Kai" , kexec@lists.infradead.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCHv3 00/14] x86/tdx: Add kexec support Message-ID: <20231121104011.jfe6fzmxgl7onlfi@box.shutemov.name> References: <20231116125612.daxettqcapled7ac@box.shutemov.name> <20231117124748.umfuc3no2qvh4shj@box.shutemov.name> <20231117154632.zvi6g6lblmtvikzt@box> <20231121084321.t44ntae5ohslgrme@box.shutemov.name> 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: On Tue, Nov 21, 2023 at 06:15:13PM +0800, Baoquan He wrote: > > > 2) anything missing to allow makedumpfile/cp access 1st kernel's memory? > > > > It worked before for us, but I have not checked for a while. > > > > I expected you've dropped my "if (crash) return;" debug patch I asked you > > to tested before, right? If not, failure is expected. > > Ah, my bad. I didn't actually. > > Just now I rebuilt kernel and retested, vmcore saving works. Just when > it finished kdump work and tried to reboot, the rebooting failed because > cpus are not resettable like kexec reboot does. Not sure if this is seen > in your test. Yes. It is the same reboot limitation I've mentioned before. -- Kiryl Shutsemau / Kirill A. Shutemov