Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7053879rdb; Wed, 3 Jan 2024 03:06:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5PEO2o2BJ0PNmx9QSZfsCRL8N5wEObR5dDjJp5f3xz1XEpwHWmqjtEXsf1wlfEPafv5xz X-Received: by 2002:a05:6359:410c:b0:170:f4b1:a420 with SMTP id kh12-20020a056359410c00b00170f4b1a420mr21202380rwc.14.1704280016684; Wed, 03 Jan 2024 03:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704280016; cv=none; d=google.com; s=arc-20160816; b=Ubjxvtsihe3I2M+BN6Mp+TIMfdF+DaRuV8Dt1LN2QPgLqIbIGT4CBfSs5N2YmFqC0N n6jbCmg0nzkuvhwr9LcYG6dFDSuI3e455BL8xsXcTRoar7SnzXrVhjzkN4edFkf4ftSu 3B1/qAGOLsVE9uP3k7kxbRelQke9caMrCi/WaXsS3qoJX17pYwiwvunLuQXjwlvDWnca MWd14NWQtdaz9mpdU7kFSLfkzzasseHhzbqsZF4JDB5u/rDDN3b7vjoHsZe1hGBIWnSK IhWUiPsr1mCHf0lhd34eBTu35vPOKHenP1T0Rui/5dhgJ2mhr3/OTC2c323NFINOBZ0A /SVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:reply-to:from :content-language:references:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=KsQlWIbD4MykKklKwiwwCxeqW/Afnj/nlmTbVaDB7To=; fh=zkI6Y2ZfOUJoZ3EuaVnvWNYvGtOf3TnV7Fcvk+C190M=; b=REJnRgiyLXoVax0Y75M4U/yi1YcRw8z0vsi4K5Ph5SoGz1qgC2IZedraEAfGr5lpfL EA+iBBTR+C6BvmxeIf+w22aB7h4eQHXCylGiHyEmPSw92KiE3Gzd89EoaoiTphKZmiJJ 7gJWynDV30dsrb9pLogozYAgNTSO4qR2bByxtrovYDw3bvczZu2/tqFHzF6OpUyNWgpZ 9YinDr8RizYAcyWuWPta9UVST92bc63ByMMqbcGNvNaJCz4mkwFJcI/INffXE466qsfs ai4MqdWbeyhE457eEWz56xBAe4CmI+QBvu2zX3mqBiqWWDCAw/xl6r/vLKbo9Qe+yNVM x/1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-15425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15425-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y14-20020a17090ad70e00b002861c962e15si1035726pju.15.2024.01.03.03.06.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 03:06:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-15425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15425-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 690A2281BE8 for ; Wed, 3 Jan 2024 11:06:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CE1DD18EAB; Wed, 3 Jan 2024 11:06:48 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (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 1D4F518EA0; Wed, 3 Jan 2024 11:06:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1rKz59-00048H-RT; Wed, 03 Jan 2024 12:06:43 +0100 Message-ID: <5c8eb9ed-8029-4e31-b957-083255b6616c@leemhuis.info> Date: Wed, 3 Jan 2024 12:06:43 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [REGRESSION] Platforms supporting SGX fail to kexec due to 96c6b8f212a ("memblock: report failures when memblock_can_resize is not set") To: LKML Mailing List , regressions@lists.linux.dev References: Content-Language: en-US, de-DE From: "Linux regression tracking #update (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1704280006;a8c67909; X-HE-SMSGID: 1rKz59-00048H-RT On 29.12.23 01:33, Ashok Raj wrote: > > 96c6b8f212a ("memblock: report failures when memblock_can_resize is not set") > > Causes kexec failure. Backing out this change, kexec succeeds. Symptom is > it appears to hang, possibly hung at the panic. Although I have the > earlyprintk enabled, I don't see any console messages when new kernel > boots. > > Also tested turning off CONFIG_X86_SGX, the kernel with this commit > included also kexec's fine. > > Booting from warm/cold reset has no issues. Only kexec to new kernel with > this change included and CONFIG_X86_SGX=y causes the kexec failure. > > #regzbot introduced: 96c6b8f212a Fix a typo and do a few other things while at it: #regzbot introduced: e96c6b8f212a #regzbot title: memblock: platforms supporting SGX fail to kexec #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.