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=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 EBE29C3A5AA for ; Thu, 5 Sep 2019 13:32:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2FA6D2070C for ; Thu, 5 Sep 2019 13:32:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567690379; bh=gAfpREAUjPx32bCVpX/QRONrGLArS9EYowVV+J13G2I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=0Y7Q1mhDBti47RGooAL9qoNwuLzhgH9Ssb3ZOKzLchvQdzn/emcEA/21coN8bMSxl W4j9Zj/F40ITRInx6JVNc+lpJmOIzw//B7REftbCw37hAASzrz/SAHuGoIpowrplmj J70r97vnPO7QgVN37R7bycCEoE38wbT5NboJFlqk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727739AbfIENc7 (ORCPT ); Thu, 5 Sep 2019 09:32:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:53076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727514AbfIENc6 (ORCPT ); Thu, 5 Sep 2019 09:32:58 -0400 Received: from rapoport-lnx (nesher1.haifa.il.ibm.com [195.110.40.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0F90F206DE; Thu, 5 Sep 2019 13:32:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567690377; bh=gAfpREAUjPx32bCVpX/QRONrGLArS9EYowVV+J13G2I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZPtL/gE9krL/IhempLi40HKIdV/N1wp5V5h2NnWuIEQ5s8ZLexH/BzM6btza01Tn5 vEbfq7ciYK9AeyCxqIifTErleu0e2Oe8cRnPLbKamyYMgRg0Cn57fQAovmRYWSqCib WMLnf9IqsMzJkqH9GYjlNhXmeB76s0wF4U04thJs= Date: Thu, 5 Sep 2019 16:32:53 +0300 From: Mike Rapoport To: Thomas Bogendoerfer Cc: Paul Burton , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: Re: [PATCH] mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM Message-ID: <20190905133251.GA3650@rapoport-lnx> References: <1567662477-27404-1-git-send-email-rppt@kernel.org> <20190905152150.f7ff6ef70726085de63df828@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190905152150.f7ff6ef70726085de63df828@suse.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 05, 2019 at 03:21:50PM +0200, Thomas Bogendoerfer wrote: > On Thu, 5 Sep 2019 08:47:57 +0300 > Mike Rapoport wrote: > > > From: Mike Rapoport > > > > 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 > > --- > > > > 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. Oops, missed that. > With this booting made more progress but I get an unaligned access in > kernel_init_free_pages(). Can you please share the log? > 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 -- Sincerely yours, Mike.