Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1109105ybe; Thu, 5 Sep 2019 10:24:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyh4WI33f28DgAuuQahKbeaY1kYCOIswR4jlbo6D7ThhmiYaWbawsOCw1kxxV1fPTCNbhX X-Received: by 2002:a17:902:7d98:: with SMTP id a24mr4536507plm.271.1567704263020; Thu, 05 Sep 2019 10:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567704263; cv=none; d=google.com; s=arc-20160816; b=etXZWZSuk0obJFAa9rPRTiYwYjHabtDiBod6gNy1gEiKHNHkSlDUR+mUPKkGX1FEkC qS53lYLyXXEZcEI7TCuSl7sLB7BLrHz+S4mSmLEVCzHejEOoZWtRXbvg06JSDIwCXcPF t9aSV7yPhHT6Flm9Wnn3Qyjv/VXdgtggHU7/yy25yI2/BRvKK8m7jTB4CfkDtZGec7Wa hokNppCvhprRPbFR/g/5ehvRK/DzwuD8SS4L/RdB3NmfNwXYJRMe4DSBrM3OCoLs5Oyc YX9728lDxHMkv9RBkr4PH4+7fRgNJK4RQZ7sPHWkqFGNY4g74zVH5PktOpybV+w6fltf BHBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=kFyYdEXf8vjsZ9svhYXUk6OB+csLriGrIE8YmUkE+Vo=; b=gunSVzPoRTFgDd9RyKTQs/l8UexaGKgFwiKDBQeFPjZi8VCJURD00xMK9/T0uGj7iC ukFzqJB4QuQ8fmym+lUdQ8KUEX4RwSwlgMUVYHJinVIHizNR2yEyEtrp2VQ/X21yYdxu 0ShZCODLQAgRM5JyNbtAX1/rVRstyMHeESoFfxZBNH0VPj8vloqMLDCJt6UkTls7IB4K VqbWerFH4oSIc6ER9HIsL99OEZo9CKLAJC6z+miken4WeotIicTQRU0VSpYuepo5B2N3 TH9Qy4UMQAOdMdZjdQJntRpnW6cAZ7jNN57MV23+pYIK+pRPnbRUgBnJMIQOloaepBS6 Z7SA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si2542468plf.350.2019.09.05.10.24.06; Thu, 05 Sep 2019 10:24:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387458AbfIENVw convert rfc822-to-8bit (ORCPT + 99 others); Thu, 5 Sep 2019 09:21:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:60580 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726097AbfIENVv (ORCPT ); Thu, 5 Sep 2019 09:21:51 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 79872B035; Thu, 5 Sep 2019 13:21:50 +0000 (UTC) Date: Thu, 5 Sep 2019 15:21:50 +0200 From: Thomas Bogendoerfer To: Mike Rapoport 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: <20190905152150.f7ff6ef70726085de63df828@suse.de> In-Reply-To: <1567662477-27404-1-git-send-email-rppt@kernel.org> References: <1567662477-27404-1-git-send-email-rppt@kernel.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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