Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp301308pxf; Wed, 17 Mar 2021 23:57:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+qLpuJ+LgKxLLyLUeBqh7X+c23jRx6uv/wjfkpsPAbIOdBn+2WTqpJkr27Y1DEpXAK0g3 X-Received: by 2002:a17:906:c24b:: with SMTP id bl11mr40148004ejb.80.1616050641874; Wed, 17 Mar 2021 23:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616050641; cv=none; d=google.com; s=arc-20160816; b=WTeKleewFCcgqYIRkIanMvtA7BqphdKO60Tt8GXVcoRL8bw0wjc94JsT+rtX3CFshu TfPHhEi0ko4VXYAwoTGz5YFMA2jB1VvgffdK9srORjQ/2e0mhHgGQodsoUZRv/OqZHf3 O88Nn0YRrJrM6AlMaR/fBwOgYZOg/81D88z8ZRftYTvAw5TNRMSEYq52X41xWIiwsPpF N7vC9NAkZ7Oe01LaHvoPmlcsXOimAGMUYOqb8HTmr4wg1tLJIaC81pBaiS4c5FUqY7AC P48DiSq8V6s4Eo3RQZz0NmjFdwSrIWonnb9zgLf7rC4QijOrtn0dO+YW0qligjTD8ghq x3KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0UePtmulZnqfsFSs4rrdhsUUdgN585emSeFYucxLg+E=; b=BSMqCL5wdQfUQ1hOi3RPz6Va9DEYeor+k/P2jqcf26K3jtEyDLwIi+4sZOFnZav7DQ w9jPjOzuy/Y6rmLLoTTSXhXe7P8Y32ccgIrQJkXr5I+jpwV/h6iSv/9xVYSLwTvjxaqp Smm0s8Q11ccBPiiHfrBEENTOEHNePrUn78v++25Hd4Lf4woTvR466M3x1QExi7GrAeTT ElnyplZAFtNPaysolHzujfFJENUFoq3COO1Oo1yK1k/oHZKjZWU1gTjT0VIyTUEEG3dx XZooCf+49YZ8BrBWzDutNmWrZTd8K2gv9v0OFd8+sAtSwixWRF+Z6yD/V/55gipyRtuv 21VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UEpxhUlM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u26si976666ejx.30.2021.03.17.23.56.58; Wed, 17 Mar 2021 23:57:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UEpxhUlM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229896AbhCRGyK (ORCPT + 99 others); Thu, 18 Mar 2021 02:54:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:39760 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229879AbhCRGyD (ORCPT ); Thu, 18 Mar 2021 02:54:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9B97764EE2; Thu, 18 Mar 2021 06:53:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616050443; bh=OLr6tn9DSS1nD71KjjsWAEswxGCiO3d2wxs6sdMs5ck=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UEpxhUlMi4rO1maKkMirQrgS6TsD/xMhFzpz0BYGwpS2Hpkc/19BCYAx8f30VoAx5 taA7LSk/xNBcW3uPBwyV5/76T/e6yPUpXZ3ylisQQeBnUbGZNKS+/6yoTsVHUsWtne +mCXxLZOZFjgTJf9wZJSGeQyYiiULplVCon0STnhruft9+oM+Hq6UWfPZwBZjn+IVS 7F7SmSL7VDuqRgJ2is9L+Z2amiFWeIWTPVIshjXANzk0GMZv/OQHaVJQJDku+JDGA2 4JRIrmm+DgZZlvg5PKO10o7azDGCL+F/MLncx8VYZQMRBr+fWv8a8aYxRa6ILpcprm fFA7EifGc6sfQ== Date: Thu, 18 Mar 2021 08:53:52 +0200 From: Mike Rapoport To: x86@kernel.org Cc: Andrew Morton , Andrea Arcangeli , Baoquan He , Borislav Petkov , David Hildenbrand , "H. Peter Anvin" , Ingo Molnar , Mel Gorman , Michal Hocko , Mike Rapoport , Qian Cai , Thomas Gleixner , Vlastimil Babka , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v3 0/2] x86/setup: consolidate early memory reservations Message-ID: References: <20210302100406.22059-1-rppt@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Another gentle ping. On Wed, Mar 10, 2021 at 07:52:13PM +0200, Mike Rapoport wrote: > Any comments on these? > > On Tue, Mar 02, 2021 at 12:04:04PM +0200, Mike Rapoport wrote: > > From: Mike Rapoport > > > > Hi, > > > > David noticed that we do some of memblock_reserve() calls after allocations > > are possible: > > > > https://lore.kernel.org/lkml/6ba6bde3-1520-5cd0-f987-32d543f0b79f@redhat.com > > > > The below patches consolidate early memory reservations done during > > setup_arch() so that memory used by firmware, bootloader, kernel text/data > > and the memory that should be excluded from the available memory for > > whatever other reason is reserved before memblock allocations are possible. > > > > The patches are rebased on v5.12-rc1 and I think x86 tree is the best way > > to merge them. > > > > v3: > > * rebase on v5.12-rc1 > > > > v2: https://lore.kernel.org/lkml/20210128105711.10428-1-rppt@kernel.org > > * get rid of trim_platform_memory_ranges() and call trim_snb_memory() > > directly, per Boris comments > > * massage changelog and comments to use passive voice, per Boris > > * add Acked-by and Reviewed-by, thanks Boris and David > > > > v1: https://lore.kernel.org/lkml/20210115083255.12744-1-rppt@kernel.org > > > > Mike Rapoport (2): > > x86/setup: consolidate early memory reservations > > x86/setup: merge several reservations of start of the memory > > > > arch/x86/kernel/setup.c | 95 ++++++++++++++++++++--------------------- > > 1 file changed, 46 insertions(+), 49 deletions(-) > > > > -- > > 2.28.0 > > > > -- > Sincerely yours, > Mike. -- Sincerely yours, Mike.