Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp284389rdf; Tue, 21 Nov 2023 02:41:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqFRSp4RsU84HAtOHIS7yaFoWUCTV4UTuPnEqxwivYmJHRRQuCe0cmT0uSBSPjlUQ2S7GD X-Received: by 2002:a05:6a20:552a:b0:188:1125:88bd with SMTP id ko42-20020a056a20552a00b00188112588bdmr11764063pzb.43.1700563289714; Tue, 21 Nov 2023 02:41:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700563289; cv=none; d=google.com; s=arc-20160816; b=RWbgZxcK+eXfs3yURh1quMDyXP36RA3/ic604CPdG+/duqci9wbcJwwc+SvMfzx01E o3vzqtfZy0kqLcvFgCY79i4OWJ8nYZ/h8zbGECZZhMoMP/5ecBOBeSI1X0RNI1lerq2m idX1H9thtZHIRP5xDY+fcmxLzGbKASZzjzkx4zQMqkW5RX473j98+HnZ52ByK4KsnZ/h MIF6Zpd2S/kjRYE+nsdpXwr52HVb9A7bbke8DQn3oOgda6OoKBlDjEoWVrZ9YtObYvv9 OceGNFm7xvKNMueRMQcL7nNlru82c3tKsIBrLwY0HiTd2U1Iu+zQ9KQpYSGsn0z+bfeW uBpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=y8D4pYEPgk8jp25aZE6XLCWtpxxveLWfQvhtGgctjrc=; fh=iOZghAKC083os1BXdNj8wCoLtfyaNfpkyldPXRaZZno=; b=LFiSa9xWET+15xpYyEcRkRMLQh21tu2hHW6HwLkCBdQwDsad8/WO59T/PBu2VZIlKW QPu+sFyuoqgEoG7N3pfD1bZFPD3cKFc0ZXoMdvPldpdnkMuJu6G7SAiiBU8Z5E6Qscg+ h62Gu1qTlL0gtlzPTtIiUdHDO4aqeW1IEQb0q3jPLBLvQG2/npE2qhTfloKLt1OHMAfJ 9UkTkmoWRqg3450EX4EHNj/Fu2eyHWJCvrbIL8dh/nZhp4u5lnq9MjbWcartvHUYLZdl jTQre3nGnzWCOX9pWEPKAdOIGGjGwU4UdAS5jdbaTI9ucrihOPSJyzYH5tSq9521JdTy 8+8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QtBAvQF1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id q8-20020a63e208000000b005be3c0443e7si10368928pgh.643.2023.11.21.02.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 02:41:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QtBAvQF1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 4C13A8076CA4; Tue, 21 Nov 2023 02:40:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232965AbjKUKkY (ORCPT + 99 others); Tue, 21 Nov 2023 05:40:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231977AbjKUKkW (ORCPT ); Tue, 21 Nov 2023 05:40:22 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 450ECF4 for ; Tue, 21 Nov 2023 02:40:19 -0800 (PST) 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="371987299" X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="371987299" 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 21 Nov 2023 02:40:35 -0800 (PST) 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