Received: by 10.223.148.5 with SMTP id 5csp6481835wrq; Wed, 17 Jan 2018 14:26:09 -0800 (PST) X-Google-Smtp-Source: ACJfBov8/fuej9OTGiTF+a5Q8YpHzBojcvFzjpNVWIfJrBndOwwzsByoWt5Vd8fHhDUdURB08f8m X-Received: by 10.99.147.76 with SMTP id w12mr36039902pgm.410.1516227969586; Wed, 17 Jan 2018 14:26:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516227969; cv=none; d=google.com; s=arc-20160816; b=rIzfVe2e7PLatGaq0iPAOpNDLV0kb8G7mtLj75zSUpLMSQIYTTcsyxNANJeVkXxstz xLQB/C6q0e7uxSv+1xKXCeSDQd/e+uQKbmfU62ptmtzDxyqNHQ1oyEMJl04180nsucJW tY7M81U/LdaO9DSABc6h52wvI3qxCjmBZOZF4ZhfrfeKeMRPg45yy9vxcgS4pGdkwe/9 urdXTZLKRZNhgrq8UV58mglUGH9tgrLwUwRZEgS63Dq4itUxHWnIunZdkLwmZJygd//4 bqXgvNRVgwxz+yXz5rDqCx2BfILLOEHtG/eM4Vbxeyy7VWy/WxAnix6y1QJlQcVFSyK7 S0dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=JFJQLVbQKdnw2gxDDATV58fcC+qGfo8oVCqOxuzgIp4=; b=gxM7tEyWXW8cHrB5d6lIgYelt3UcfnN8JTgBlSLVjHZa4QjkoJLNg1xRf+8IU5dyqs O5Pi/4dZpG+WMULyjXStS8mPWK76VfK8v3kgH9Xd2IH/Rrx2D8Orjk52Er9PSCiSlBxZ 4PYBCjqgjqFnqQUcGmGSxAAYaddKDR0SB/JmJcZAv/0tWgmoJx6VY5782aBwNdbOS3mv vu4YTP+6ndIdZ1OPvkEihKJTnKkzUKVOcFoftAB/MMmYcX3SnXi8gZbN1dVFA9kVmIXo zs9Uza/DmIcqQyWlbebwR3jmJ4qnkGpID+2BXItlraxXiyo6eK1jlYDnEfmK4bNxyS8x qTBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cjkMjWPN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l11si501351pgr.492.2018.01.17.14.25.55; Wed, 17 Jan 2018 14:26:09 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cjkMjWPN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754326AbeAQWYk (ORCPT + 99 others); Wed, 17 Jan 2018 17:24:40 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:35866 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753714AbeAQWXe (ORCPT ); Wed, 17 Jan 2018 17:23:34 -0500 Received: by mail-lf0-f65.google.com with SMTP id t79so8634777lfe.3 for ; Wed, 17 Jan 2018 14:23:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JFJQLVbQKdnw2gxDDATV58fcC+qGfo8oVCqOxuzgIp4=; b=cjkMjWPNf4xj9i5AuDWIVo5G3SbJxM/BssHonLmkkrHXIyNxA7/bsf8Wfwr3tgLNRw JQMSNYuy7cYtPUBX0Wahxu9xCO9oUQd9sggbdrDMUI3jB+OycPlE+fLZ2hpbWJdCxTmj pqXLuQQ6VHAPyP4d5RvQu9e1zvAVN3MiytNHR0GArM2yq49S3Tle+1eygguO6NUCDr2k /WgfpXrnBFe1MM/ZL2CieeB34zlZzC/kaHmuXOPIustJUbdcscbksmzML6YX+ciWtd9G ubLti/pvmgQk2h+VRJhcdRjrLtOD+RZN5V0C2k2Y4OkzQcyoM49cArDF0mWt6OcLZlxx lL/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JFJQLVbQKdnw2gxDDATV58fcC+qGfo8oVCqOxuzgIp4=; b=iY0jXpvh8mjX+UhsSUjCYI8RMTfAWOgsgm2Jlin/somknby5iZCo9QtCe4nAnbYUzU 7MZL1JAUfi0w3op0IQ0u6h5mRaVywlgd/gF4nvP3t9tbV/dXycO4PEnEUBMkMCyLkmoC Q8Vx+cFWb0y5aSBJJUlwTGEY17uuHPkC8vtWxxMmS96Kx4t6Ku/SJPCYwo+RVPpeoR9s +ZayIwS1W9OgFdeVimstpFbPo6cfojJ4PgWsQmTWIEuL+mc5U1dn9l8mAz7mWUKGBni4 JyLRPnaQAEHbqiBBXepKsUl3XjU5KVV9QmTa1Phz3FSlwm9ILcwXRMxVeKxO5Q53uimp CHYA== X-Gm-Message-State: AKwxytfL4nCbB/crLhvxmhYbi6fD5pFg3qeCAM7gZBau6dP+JLvrpPiT cftxta9GjW2gnPMqAY9ukUY= X-Received: by 10.46.15.2 with SMTP id 2mr1533911ljp.144.1516227812616; Wed, 17 Jan 2018 14:23:32 -0800 (PST) Received: from linux.local ([95.79.164.146]) by smtp.gmail.com with ESMTPSA id l203sm953867lfb.59.2018.01.17.14.23.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jan 2018 14:23:32 -0800 (PST) From: Serge Semin To: ralf@linux-mips.org, miodrag.dinic@mips.com, jhogan@kernel.org, goran.ferenc@mips.com, david.daney@cavium.com, paul.gortmaker@windriver.com, paul.burton@mips.com, alex.belits@cavium.com, Steven.Hill@cavium.com Cc: alexander.sverdlin@nokia.com, matt.redfearn@mips.com, kumba@gentoo.org, marcin.nowakowski@mips.com, James.hogan@mips.com, Peter.Wotton@mips.com, Sergey.Semin@t-platforms.ru, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Serge Semin Subject: [PATCH 10/14] MIPS: memblock: Perform early low memory test Date: Thu, 18 Jan 2018 01:23:08 +0300 Message-Id: <20180117222312.14763-11-fancer.lancer@gmail.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180117222312.14763-1-fancer.lancer@gmail.com> References: <20180117222312.14763-1-fancer.lancer@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Low memory can be tested at this point, since all the reservations have just been finished without much of additional allocations. Signed-off-by: Serge Semin --- arch/mips/kernel/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 82c6b77f6..b65047d85 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -873,6 +873,8 @@ static void __init arch_mem_init(char **cmdline_p) memblock_allow_resize(); memblock_dump_all(); + + early_memtest(PFN_PHYS(min_low_pfn), PFN_PHYS(max_low_pfn)); } static void __init resource_init(void) -- 2.12.0