From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE3DDC433E0 for ; Tue, 9 Feb 2021 19:35:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8DA6C64EDA for ; Tue, 9 Feb 2021 19:35:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233364AbhBITd7 (ORCPT ); Tue, 9 Feb 2021 14:33:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:51186 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233582AbhBITY6 (ORCPT ); Tue, 9 Feb 2021 14:24:58 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7CE4264E8A; Tue, 9 Feb 2021 19:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612897803; bh=hvYO2j/PRH4qRxqLb3TFcHAVZtdC/7ir8b1IOHUYKHM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZE+xMlhxdiltpEpQ6O5iqW9cDW7zGdkl5TjDMr+KGw1tIywkJrYeEV+ytyS8VDR5V XbtpuDxkgu8q/RDmhYG6gSDKjwLU/fvT2bLLYkGMumCMps3xQrXfwJCwMwNQPNeWy3 qT2mmmjRToap3Qg/xrmBeb+UyhEvEYLZI0kqoW3o= Date: Tue, 9 Feb 2021 20:10:00 +0100 From: Greg Kroah-Hartman To: Thiago Jung Bauermann Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Roman Gushchin , Mike Rapoport , Joonsoo Kim , Michal Hocko , Rik van Riel , Wonhyuk Yang , Andrew Morton , Linus Torvalds , Sasha Levin Subject: Re: [PATCH 5.10 051/120] memblock: do not start bottom-up allocations with kernel_end Message-ID: References: <20210208145818.395353822@linuxfoundation.org> <20210208145820.464727041@linuxfoundation.org> <875z31th2q.fsf@manicouagan.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <875z31th2q.fsf@manicouagan.localdomain> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Feb 09, 2021 at 12:07:57PM -0300, Thiago Jung Bauermann wrote: > > Greg Kroah-Hartman writes: > > > From: Roman Gushchin > > > > [ Upstream commit 2dcb3964544177c51853a210b6ad400de78ef17d ] > > > > With kaslr the kernel image is placed at a random place, so starting the > > bottom-up allocation with the kernel_end can result in an allocation > > failure and a warning like this one: > > Not sure if this is ready for stable yet (including stable branches 4.19 > and 5.4), since it seems to uncover latent bugs in x86 early memory > reservation. I asked about this issue here: > > https://lore.kernel.org/lkml/87ft26yuwg.fsf@manicouagan.localdomain/ If there are fixes for this that get merged, please make sure they get tagged properly to go to the stable trees as well. thanks, greg k-h