[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190905152150.f7ff6ef70726085de63df828@suse.de>
Date: Thu, 5 Sep 2019 15:21:50 +0200
From: Thomas Bogendoerfer <tbogendoerfer@...e.de>
To: Mike Rapoport <rppt@...nel.org>
Cc: Paul Burton <paul.burton@...s.com>, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org, Mike Rapoport <rppt@...ux.ibm.com>
Subject: Re: [PATCH] mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM
On Thu, 5 Sep 2019 08:47:57 +0300
Mike Rapoport <rppt@...nel.org> wrote:
> From: Mike Rapoport <rppt@...ux.ibm.com>
>
> The memory initialization of SGI-IP27 is already half-way to support
> SPARSEMEM and only a call to sparse_init() was missing. Add it to
> prom_meminit() and adjust arch/mips/Kconfig to enable SPARSEMEM and
> SPARSEMEM_EXTREME for SGI-IP27
>
> Signed-off-by: Mike Rapoport <rppt@...ux.ibm.com>
> ---
>
> Thomas, could you please test this on your Origin machine?
it crashes in sparse_early_usemaps_alloc_pgdat_section(). Since there is
already a sparse_init() in arch_mem_setup() I removed it from ip27-memory.c.
With this booting made more progress but I get an unaligned access in
kernel_init_free_pages().
My time is a little bit limited today to dig deeper, but testing patches
is easy.
Thomas.
--
SUSE Software Solutions Germany GmbH
HRB 247165 (AG München)
Geschäftsführer: Felix Imendörffer
Powered by blists - more mailing lists