Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp446871ybm; Wed, 22 May 2019 06:05:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtEcc5K7Sl7Ym9ixeHkLqNvqE7P98ENSTAdHgd2nQnZoIPJ0SwadmB+xvsGvkTkz+aKU6Y X-Received: by 2002:a17:902:2e83:: with SMTP id r3mr74513237plb.139.1558530301204; Wed, 22 May 2019 06:05:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558530301; cv=none; d=google.com; s=arc-20160816; b=DCqIEkH6o9lMpeelrixTFGTa5fWALqlFKmRKn2zEYBBL2Ropr0AoMPmagvoEdp9klN Ff1hxAs2XMiNC3h6zetamCQJXIYyj03BPJN/vvaaghXfwlcDg6kcruOFM2BVTFManHot eGIdBrheNFeruso3BrJRP1ahJSDFyr+WKh4NfbrmmvZc73SVbmM3ATuz/DvtlKhSc+GZ AV4FbvVA3uBcp0W2O4vPGR9qVL6XXnjpXOHpvbTjqAtMWBDVIdC6UxIJmPDjD3ZUTEkB fL76PosY2rM6siJ4pMsDHwoART7iXfwBMWk5Z9kj0T+gio2v8HMfWVdYJ4vWyPZg/nHJ jO0g== 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:from:subject:cc:to:message-id:date; bh=sGc+mroqYavv7Zc3b8CxNhOTi1MX0nV3QKj4LpesCp4=; b=y6oNL1foAq5hw+jeHgv30yQG7zhA3aoKmfe4veuNbXZdljcfOqzRvnECHC3tptClhj GU0hxhrcTaRmOwcKp18AVmqxbZsB8ftkIq/FUJObolry3X3wzTrNVKcxJs03CwQHyzLK 41Az5ojczPHYNqjDXsLiFtDBiuHebsS6ZJ7JCEsQmo84LTKB6iXnwysLtz2yn2sZbQb3 vE2wqjwfs2vB0uYuR8HMvg0dMIp+1og25jH6DObMw3D4dudbZd6oFulkf5udnGEMuEYu uu34v7cJ9eFAsTYedGrz1J6npH97oAnSnTju8PQfVQIT2YauBnME21FILaf/1IDyETyC zW8Q== 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 i11si5578196plt.92.2019.05.22.06.04.35; Wed, 22 May 2019 06:05:01 -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 S1729337AbfEVNBz (ORCPT + 99 others); Wed, 22 May 2019 09:01:55 -0400 Received: from mfdf018.ocn.ad.jp ([153.128.50.74]:47501 "EHLO mfdf018.ocn.ad.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727975AbfEVNBz (ORCPT ); Wed, 22 May 2019 09:01:55 -0400 X-Greylist: delayed 3759 seconds by postgrey-1.27 at vger.kernel.org; Wed, 22 May 2019 09:01:54 EDT Received: from mogw1117.ocn.ad.jp (mogw1117.ocn.ad.jp [153.149.229.18]) by mfdf018.ocn.ad.jp (Postfix) with ESMTP id 5EF8AB833F4; Wed, 22 May 2019 20:59:14 +0900 (JST) Received: from mf-smf-ucb027c1 (mf-smf-ucb027c1.ocn.ad.jp [153.153.66.169]) by mogw1117.ocn.ad.jp (Postfix) with ESMTP id A477010024B; Wed, 22 May 2019 20:59:11 +0900 (JST) Received: from ocn-vc-mts-106c1.ocn.ad.jp ([153.138.237.145]) by mf-smf-ucb027c1 with ESMTP id TPtRhMACBSCYXTPtnh03nk; Wed, 22 May 2019 20:59:11 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.134]) by ocn-vc-mts-106c1.ocn.ad.jp with ESMTP id TPtnhgZNHygxgTPtnh4pgH; Wed, 22 May 2019 20:59:11 +0900 Received: from localhost (p1677051-ipngn9301funabasi.chiba.ocn.ne.jp [118.0.44.51]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Wed, 22 May 2019 20:59:11 +0900 (JST) Date: Wed, 22 May 2019 20:59:07 +0900 (JST) Message-Id: <20190522.205907.488743218624330444.anemo@mba.ocn.ne.jp> To: geert@linux-m68k.org Cc: fancer.lancer@gmail.com, ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, rppt@linux.ibm.com, macro@linux-mips.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: TXx9: Fix boot crash in free_initmem() From: Atsushi Nemoto In-Reply-To: <20190522081535.16583-1-geert@linux-m68k.org> References: <20190522081535.16583-1-geert@linux-m68k.org> X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x2874D52F X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 22 May 2019 10:15:35 +0200, Geert Uytterhoeven wrote: > On rbtx4927: ... > As of commit b93ddc4f9156205e ("mips: Reserve memory for the kernel > image resources"), bootmem_init() no longer reserves the memory below > the kernel, while prom_free_prom_memory() still frees it. > > Fix this by reverting commit b6263ff2d6e58cc2 ("MIPS: TXx9: Implement > prom_free_prom_memory"). > > Suggested-by: Serge Semin > Fixes: b93ddc4f9156205e ("mips: Reserve memory for the kernel image resources") > Signed-off-by: Geert Uytterhoeven Thank you for fixing this. It looks OK for me. Reviewed-by: Atsushi Nemoto --- Atsushi Nemoto