Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp5006878rdb; Sat, 30 Dec 2023 01:49:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuBXVJ/MLVJIFRhrlKxVZ/4G3hHn1yAVJKzLnwp/Fu1yEttzXd8xFxjY0trwWqkx5zQLyN X-Received: by 2002:ac2:48a4:0:b0:50e:76bb:fc84 with SMTP id u4-20020ac248a4000000b0050e76bbfc84mr3903804lfg.18.1703929742959; Sat, 30 Dec 2023 01:49:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703929742; cv=none; d=google.com; s=arc-20160816; b=yiMXlvdxReIPuXJE7lIxfhVe5ri8ohKRHS/xvyQZMGzC41CRdZ1lfFjILM+MRc2kde h6WDEO1dzJ0OCKggqsjY+llmQdrOnBh8PNE0KXo4HI4gk25zXhmfDUro2iMrB7BGic1z 3jSUA150D/kNI0r/FF2Tv2ATmlHzyZaIcEFe8BgtADNQG35JJT4NFK4LBbiL8CzTmzkd CWI/8NfS19VFsSoERYptiLAbL++6UXUE9o70aFroEoz3bmECRyuBBUtrkL4UEL5TA6o4 4kJQsNQyaEzR1gg3nh6YjIwoDRomCELGfThiZ7XuzFEpEyMobj3jYANgRevtMZSCxGQu 5KGQ== ARC-Message-Signature: i=1; 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=Fu4L2zCSkbiKR4dJzwtG+70wDGkGO3J3afoXz7NoQGk=; fh=dhBtRw4QVktKU02gMPHOarE9QOfRAwjN3XQQx9RiGg4=; b=EOg8C8fAkfXTI6PZnXeKyHYtzYxhBgfTQKQ042Y6qah7pAn+6v0iRUG3EqwdWQmg3q k+qzHJcpnM/Ju4FY2oNnB9sOFecj6EG5XyNEy4pXNscozHzbmnzZVeHkbaa6nSfmG6gq H+IGjehO26xlVsmOCRqZn0aymZKYgOgx1iQgvsfGdo9J9ieTxD8RcwgArlf432QA87Dm ivJKmyvJwD7CERU1/vj4roRxH9LT2mKby3sem0VY8I9BXqXGvL3r0/di8JYLZOzQ0pHh Y3mjGerk+yOC9KcbcytVnONsGmR62Q+yRK1GtyVhYeV5+a/XaBSAVQDEyYClZ3s+mgby CUgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=QIlnA7Mi; spf=pass (google.com: domain of linux-kernel+bounces-13377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j21-20020a170906255500b00a26dc926ee2si5523317ejb.874.2023.12.30.01.49.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 01:49:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=QIlnA7Mi; spf=pass (google.com: domain of linux-kernel+bounces-13377-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B01951F21882 for ; Sat, 30 Dec 2023 09:49:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D31462561; Sat, 30 Dec 2023 09:48:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="QIlnA7Mi" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 A9A902104 for ; Sat, 30 Dec 2023 09:48:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id E049D40E01A1; Sat, 30 Dec 2023 09:48:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id SS_dBzpDZhG7; Sat, 30 Dec 2023 09:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1703929725; bh=Fu4L2zCSkbiKR4dJzwtG+70wDGkGO3J3afoXz7NoQGk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QIlnA7Mia13VIuONdHSN9CdNMroe4KDWZMTnGwDCaZGZVc3mwQaxoJfEaI0Wr0dKo fSc6cWypxa/sCEMQuc6UeLepRpAH8lyXC3wL6edPpNcPuQAAgpT+2DjyZ7UJwv6/1u AMF1KTKAiNPxUbKz/urhk+P2KvIjmNPkM+uelfyXZGFkQ3Qh0YM/dXv6isakjhFqyk xFSnjaPmOPwCxb4EA6vCKVAY0h0fO7qAcUmMyzn67rL/OrViPW5TUK2CrIAlZX66Fi vtuViNMpTOdUsiRnIKoTV0hWEx2H2/oXPR2S6XRVDIgiO/5OGNat7EUqFUwWFGshdt lgTklXrDVq2ILZ3YQ9qfxYVB6oeCGVV8hdmNRtJXzGgkwbg7zbWOSnLVRq1S1TYKoS ffjAc5OKu0nj9ZGauIaeN9W1san5OfgIioxXNAIIkADrWFdQkhLU8hjyQymigxh9AZ iZixSKN7qfF2kzdrkQVsmXyjDcMH2pGZy6Z3m4MmqDAYi2XSS8sP3jUKpyvvWo6rFU mdAGKtUt58xMB7q8TOx9QQkmURoC0/16Bp4m+dFhgLKyBpdQpIwpXQ6FueM11ERpb+ hUCsRnFISlLL9Bl7u2L6UHnk0I0V4YZ6krSJebueaS6SqIk5EuKqbOMM2Ne3unjwZA hkTCK/1/KKoftbIexc04ooYY= Received: from zn.tnic (pd9530f8c.dip0.t-ipconnect.de [217.83.15.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id EB15340E00C9; Sat, 30 Dec 2023 09:48:34 +0000 (UTC) Date: Sat, 30 Dec 2023 10:48:28 +0100 From: Borislav Petkov To: Ashok Raj , Song Shuai , Mike Rapoport Cc: Linus Torvalds , LKML Mailing List , Thomas Gleixner , Dave Hansen , Ingo Molnar , regressions@lists.linux.dev, Mike Rapoport Subject: Re: [REGRESSION] Platforms supporting SGX fail to kexec due to 96c6b8f212a ("memblock: report failures when memblock_can_resize is not set") Message-ID: <20231230094828.GAZY/nbBwBCP58RuxX@fat_crate.local> References: 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=utf-8 Content-Disposition: inline In-Reply-To: On Thu, Dec 28, 2023 at 04:33:49PM -0800, Ashok Raj wrote: > Hi > > 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 Leaving in the whole mail for the people who you should have CCed. Lemme CC them. $ git show 96c6b8f212a fatal: ambiguous argument '96c6b8f212a': unknown revision or path not in the working tree. /me greps a bit. Ah, you've dropped the first char of the sha1 - an 'e': $ git show e96c6b8f212a commit e96c6b8f212a510c9b22362de519f6e1d7920de5 Author: Song Shuai Date: Sat Jun 24 11:26:07 2023 +0800 memblock: report failures when memblock_can_resize is not set ... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette