Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp78942rdb; Thu, 1 Feb 2024 02:39:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCJcVk5NUMAZ0gSH+mWz9jdkBFt7hNVxXoXkHh03lXXeyz4b0lDL+hxZK1Z4bZa4tUm7Kl X-Received: by 2002:ac8:5ad1:0:b0:42b:e41a:56f9 with SMTP id d17-20020ac85ad1000000b0042be41a56f9mr5848085qtd.7.1706783984034; Thu, 01 Feb 2024 02:39:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706783984; cv=pass; d=google.com; s=arc-20160816; b=ACfRzJSZw1dzr1f8xXPgi8cQZGf8yQsgINRVpudfTH8pQngutdbKVK+GzGyH4jkqLD FNvUH0RbwFyewrZU2Lczs4YsCnmkOIbwVqN5m9oGGjxx1BUIVS6+WVxiq7WDgo1UPAoz oXgrUWS1ctfL6k2Xi1gBS6btfg0Vp+8p4dUqC1h5f8IYgqmI314/lrA0cHi1IEZuvSDu 0jRlPaHFIm/UDtRUqY6Iu/HePti6aDdCS0R0M3zK4xalyt1C/smS/wiR7JOyqIK7aThG sB2TWoeJgKB/wsruJ4HVnx9Kk9VFY9lMbPEtV1RY4qCM+0kLBT835ESXUAH6j3l5Ejor 42Kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:reply-to:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=ZfHEBrDg2ZgvL2N5f00Nt/8e3q8NhhzIeehJoLkeDeU=; fh=bgLrQ6G8GOOjOI34k0F4BG6zzlwmY7NOw6SDWbXDSGc=; b=KMQrESwNKELwOI7FlDqQLVz2ePY0eYpD2F/Lis2c+Hi2MZNshC41WJa9n8DtIotVTW l4OCT/shNA/7LO89NqJ2w5FVBcE46N+6PO2eWFT9nk+v+MuzqGih0leVn2uWJN5ZLiCz Lf0F1q0odBWIkt4z0ZoZuKkiPvOpsb50tffXHNW92boGNk7TMzW9tIcktJrj6+Unu0G8 Q+1PQRGBbcodW278c4K3X531/2ag6AfryToTSSBdo2u9KmRBTj9W0YdsSXZtstgL1g3+ WDpgupKyBYHl0o8NF+F3cUEEhpSYsp6eMWzMOTsFjejzNvjAkPU4WkIN2fj8w+rVJGtV sNDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-47981-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47981-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXhrTm1+UM+P9RY6hkQ9It/S34NXUPAEZrQMmBqapLq9Iqupo9jALbRURr8djB3htCr8l7BW3mE5GLZU0LtNl+LDeeFHa3cZLcDGsF+OQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c11-20020a05622a058b00b0042a39b3a0d9si13916195qtb.562.2024.02.01.02.39.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 02:39:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47981-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-47981-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47981-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8BC281C2480B for ; Thu, 1 Feb 2024 10:39:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5F0215CD52; Thu, 1 Feb 2024 10:38:45 +0000 (UTC) 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 601D112BF2A; Thu, 1 Feb 2024 10:38:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706783925; cv=none; b=lsvp6XpDux1FQLbAczl7vwogjNKLd9W7plNbM6hQSFr26IhzfucNt8uhBGUzCLfmhGKvHZMWntVyxRVPfyEet3qPVKGDLyJgEK7dqay/VA0hFZs6zPFx+Rjt7TSonuTbZonRADyK0KS5y4ARP6ZPdlhdX2eIxJYuck0oiE5ngEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706783925; c=relaxed/simple; bh=Enaxd4sUSuDaik17Wd2LbaKPBEdbywYsGG9zjXDrseA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EHqzNfW3wvcUiQIsm4xCvw8xCcQ2PqUTkUWitbMJesOh8deMRDBc0HFBQVEdvyTQXhU+Ol7ZS52UljsvfSvToEyk578QvDuJ221MbkZ2R9kiIzsgb20AWsrKtuh8B38dNpdwKZjNYGgZJPy6eMA4KwVZInzPpLLd4OONjUixLpo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; arc=none smtp.client-ip=80.237.130.52 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 1rVUSt-000667-8s; Thu, 01 Feb 2024 11:38:39 +0100 Message-ID: <07f1cb33-e908-48cb-85f9-83a040b2ca5a@leemhuis.info> Date: Thu, 1 Feb 2024 11:38:38 +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") Content-Language: en-US, de-DE To: Mike Rapoport , Ashok Raj Cc: Linus Torvalds , LKML Mailing List , Thomas Gleixner , Borislav Petkov , Dave Hansen , Ingo Molnar , regressions@lists.linux.dev, Song Shuai References: From: "Linux regression tracking (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;1706783923;13f914b5; X-HE-SMSGID: 1rVUSt-000667-8s On 31.12.23 08:26, Mike Rapoport wrote: > On Thu, Dec 28, 2023 at 04:33:49PM -0800, 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. > > Can you add memblock=debug to the kernel command line and send logs for > normal boot and kexec with CONFIG_X86_SGX=y and e96c6b8f212a reverted? Ashok, you afaics never replied. Did you forget about it? Or was the issue resolved later or never a regression in the first place? I for now assume it's one of the latter and stop tracking this: #regzbot inconclusive: radio silence from reporter #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