Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp393555ybm; Wed, 22 May 2019 05:09:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyVXS+1U4xoLAyhO768OIbMSZMmFIvQTyvx4PTcnQnC0W5ysa8gdbGMkcXZ/m59RMTwgcp X-Received: by 2002:aa7:93a7:: with SMTP id x7mr95824098pff.196.1558526972343; Wed, 22 May 2019 05:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558526972; cv=none; d=google.com; s=arc-20160816; b=jiiWRSlXCw8HFgpX0xA5lDROOoxTIyzF0LrURuTA9TJEB6EQDYTKVWCkBD5iAuhm6S BWNGLy2WaKZOBnX+9GScR0PKpAPJay+5+Fs79bEU1ouX6iUrEF9sqSt9s9OiiUhnm1yC wmPL+eKSwixwqdOyahWNqh38FJaMsusaNLCndegC3jowrdpMjRnVcpGugarlmPlotnn2 /FPg1TkoZCwcvlrNQg1uob61PxABkBHAYtgOAWXfrzP8t0K8SGbumFIjwISKI5apHy/G HlD1EIjIGkiSGXZa5EHw+qRe+Jnzs6gI/VBBQKCdT7NCkIr/C0flZXxgS6rHFWFe8sLI EUfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=MqCZT9HqiDGCT4WX+crlayCOda0WDXxh07SkvGQXmoY=; b=TisSRHVVK7dVbNQCA9u7mzqs3LsHR7KBTpMhFTlF+ZYh8pR3SjRogER6TGU0QpOkM/ 4X8gsNfVcqez+EGm6w2jmf8QJlD6sxomjiXcVHvk1b60Ji6K88ur5HHwGRwpbbDAY/Fq pjctREi4TEW7MvLuU1mIa1XsjvDlw7Ekx0E0aZARAABuKZIbreGm7TtNg2DCixX6PgBO dQPIJdfgZu0NhgGGc9wmt+h32MGCpbDFPmV0maRnnhC5NMwqjzW/IaNZF74s/m4t5Duy kOdckAvN7VFxbBVIEd9FV6KcNJYTJuPE6XMd8kroZMtYfqzi8vFb1nX4NCjvONJynBEs CnPA== 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 s21si21077930pgm.154.2019.05.22.05.09.14; Wed, 22 May 2019 05:09:32 -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 S1729203AbfEVMHl (ORCPT + 99 others); Wed, 22 May 2019 08:07:41 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:55878 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728584AbfEVMHl (ORCPT ); Wed, 22 May 2019 08:07:41 -0400 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23992796AbfEVMHinZXz7 (ORCPT + 1 other); Wed, 22 May 2019 14:07:38 +0200 Date: Wed, 22 May 2019 13:07:38 +0100 (BST) From: "Maciej W. Rozycki" To: Geert Uytterhoeven cc: Serge Semin , Ralf Baechle , Paul Burton , James Hogan , Atsushi Nemoto , Mike Rapoport , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: TXx9: Fix boot crash in free_initmem() In-Reply-To: <20190522081535.16583-1-geert@linux-m68k.org> Message-ID: References: <20190522081535.16583-1-geert@linux-m68k.org> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 22 May 2019, Geert Uytterhoeven wrote: > Looks like arch/mips/dec/prom/memory.c needs a similar but more > complicated fix, due to declance handling? Thanks for the heads-up! I think the declance hack should go away. It should have gone long ago, but ISTR there used to be a problem with making such a large contiguous physical memory allocation in the modular case. Maybe it's not anymore these days. I'll look into it when I get a chance to poke at hardware, which I have no access to at the moment. Maciej