Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 051F6C433F5 for ; Thu, 9 Dec 2021 10:03:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232076AbhLIKGo (ORCPT ); Thu, 9 Dec 2021 05:06:44 -0500 Received: from mail.skyhub.de ([5.9.137.197]:57892 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229758AbhLIKGn (ORCPT ); Thu, 9 Dec 2021 05:06:43 -0500 Received: from zn.tnic (dslb-088-067-202-008.088.067.pools.vodafone-ip.de [88.67.202.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 200A81EC04D3; Thu, 9 Dec 2021 11:03:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1639044185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=o6pF0A5Tdv1+e43SYjUNncgg3DcM/4rxW10BaPhOwpQ=; b=rxE77cpC9ES/A4+ihCQHcJBe2Sk0WPU/prRMyY8myeyUeRaURG9H6hT2Qrk8DatfcUeCYb K1gktB7t/+qZgSCt4KbY1ZBzabKLq/OXnuz2Gww/FHl9i6jUWohKPgSBYYEezjNVn0eTNT hLWDxlpRb77A24Oxep87OZ4mq2QTHbc= Date: Thu, 9 Dec 2021 11:03:07 +0100 From: Borislav Petkov To: Hugh Dickins Cc: Dan Williams , Anjaneya Chagam , linux-kernel@vger.kernel.org, x86@kernel.org, Mike Rapoport Subject: Re: 5.16-rc: "x86/boot: Pull up cmdline" breaks mem= Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hugh, On Wed, Dec 08, 2021 at 09:44:54PM -0800, Hugh Dickins wrote: > Bad news, I'm afraid: I boot with "mem=1G" on the cmdline for testing, > which worked fine on 5.16-rc1, but does not work on 5.16-rc2 onwards. > > Bisection arrived at 8d48bf8206f7 ("x86/boot: Pull up cmdline preparation > and early param parsing"); and reverting c0f2077baa41 ("x86/boot: Mark > prepare_command_line() __init") then 8d48bf820cf7 does fix my "mem=1G". Yeah, I had a bug reporter report breaking on his machine but he didn't respond to my request for additional details. Can you pls send me full dmesg and .config of the -rc1 kernel which still boots fine. I'd like to try to repro. > I have not tried 5.15-stable, but guess that is likewise afflicted. Right. > Sympathy, but no suggestions from me: early init ordering is hard! Tell me about it! This is the 4 or so "fix" which tries to address fallout from Mike and mine's attempt to sort out memblock ordering during early boot. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette