From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755750AbdKGBPQ (ORCPT ); Mon, 6 Nov 2017 20:15:16 -0500 Received: from foss.arm.com ([217.140.101.70]:43260 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932584AbdKGBPM (ORCPT ); Mon, 6 Nov 2017 20:15:12 -0500 Date: Tue, 7 Nov 2017 01:15:17 +0000 From: Will Deacon To: Bjorn Andersson Cc: "Kirill A. Shutemov" , Sudeep Holla , "Kirill A. Shutemov" , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , hpa@zytor.com, Andrew Morton , gorcunov@openvz.org, Andy Lutomirski , bp@suse.de, open list , Linus Torvalds , Catalin Marinas Subject: Re: [tip:x86/mm] mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y Message-ID: <20171107011516.GA13514@arm.com> References: <20170929140821.37654-2-kirill.shutemov@linux.intel.com> <20171102133433.hisnvz5iwmwdzjlz@node.shutemov.name> <44b8b5c8-0e9d-0534-0d0c-49618b292802@arm.com> <20171102141210.gu4cwpoq2e6o7liu@black.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 06, 2017 at 11:00:09AM -0800, Bjorn Andersson wrote: > On Thu, Nov 2, 2017 at 7:12 AM, Kirill A. Shutemov > wrote: > [..] > > Could you try the patch below instead? > > > > From 4a9d843f9d939d958612b0079ebe5743f265e1e0 Mon Sep 17 00:00:00 2001 > > From: "Kirill A. Shutemov" > > Date: Thu, 2 Nov 2017 17:02:29 +0300 > > Subject: [PATCH] mm, sparse: Fix boot on arm64 > > > > Since 83e3c48729d9 ("mm/sparsemem: Allocate mem_section at runtime for > > CONFIG_SPARSEMEM_EXTREME=y") we allocate mem_section dynamically in > > sparse_memory_present_with_active_regions(). But some architectures, like > > arm64, don't use the routine to initialize sparsemem. > > > > Let's move the initialization into memory_present() it should cover all > > architectures. > > > > Signed-off-by: Kirill A. Shutemov > > Fixes: 83e3c48729d9 ("mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y") > > Will you send out this patch, or will someone pick it up from here? > > As with the other arm64 boards this is the difference between > linux-next (and presumably v4.15-rc1) booting or not on my Qualcomm > boards. > > Tested-by: Bjorn Andersson Yes, please can somebody get this into -next asap? I can't take it via arm64, since this code isn't present there. If you need it: Acked-by: Will Deacon Will