Received: by 10.223.176.46 with SMTP id f43csp4599633wra; Tue, 23 Jan 2018 11:36:50 -0800 (PST) X-Google-Smtp-Source: AH8x2268jPkB+XYrSHJejrenlOy40/GNSGISUIYeMM/fjC1OsC4FsxNmVOfNb5Wvz0ADaAbGZftA X-Received: by 10.107.78.17 with SMTP id c17mr5246245iob.18.1516736210700; Tue, 23 Jan 2018 11:36:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516736210; cv=none; d=google.com; s=arc-20160816; b=UYV/YK3+A32wGEd8T6+wJUk7vh40MXu2W7lVXsVAr8Mng1NVhe0gp43jIhTCvucSRn pAEePb4xYMAFZFssDjfG51kD3Zfx5XSwYdKQaKz17DuVt4yyqJWFn+Q9eZLQYVKD7wYq E69WCAONG5cI9jVUzgzd0JAswuMxUEa8raNVl5Ol70TjR4RXvAbZJfFLoff+Ql6+cr9f HneqroBkvPWDZhQAbH7P1CQdsO1h8WBlJ3L+BE2U+OCRLwsYatWslWO0YmYVX13+e0UZ Ey0c84dZgcg1SF3+YjJjqNlvcWnAaDsvQkQdTc3/LauwCCScQWLScyI7R1IYZRDCwKbG fPUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=KnPNDa5vVgxQ1CH4HMSBawCpkT67+Y6KwqmWhTjlqz0=; b=KqhDbSFAVhxeTTtSLxNkQD+a2xsF84u7/G/C1udbLNeYYltqlwCZ+YXi/4UXSbxraL AIXEmiVis0LmLloRtD96Kc4pABSPyS/ME0bFgvFhMe9Ave7fNNBF0zaJB2ET7FUmA6Qw E1pW2IbOYgyaTQvCksRAdRLbes4mETdFpNgRhFwjp6ahWTPr7UEW0kmOtiQweTKU1C9E 7UliDKWtjnaI3xpXuNmjJghE1pE/aT3lPW8ghUnsoFw+yZ9N8f3jkjFWiY/cdpAu/KNy l5rcZltlOibivrncM9Sn3jJKljdyTnE8qGyjDEJ+rM1bOd0GWlNZucscscxTKLvwNFaq FRng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=phoHDO+j; 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 86si15700960ioh.157.2018.01.23.11.36.36; Tue, 23 Jan 2018 11:36:50 -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=phoHDO+j; 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 S1752169AbeAWTgN (ORCPT + 99 others); Tue, 23 Jan 2018 14:36:13 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:37584 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751964AbeAWTgM (ORCPT ); Tue, 23 Jan 2018 14:36:12 -0500 Received: by mail-lf0-f65.google.com with SMTP id f3so2084576lfe.4 for ; Tue, 23 Jan 2018 11:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=KnPNDa5vVgxQ1CH4HMSBawCpkT67+Y6KwqmWhTjlqz0=; b=phoHDO+jQ6UXTGKoUcdCQeB7HEaoiaEuDbsjS9rz8qaPHtmKYYXIMzP1Vy02Xy7+OK lVvQ/cOjhZzAItHGrZDTHZdWfS4PjsbFBFHrGCF+GDotRv8LSoXYtvFcJ3xjKPnjLjgP dVe98SCxi9jdTPTZk1GUyVeaxaOHfmnJkmVE23zWO7kgbrGFLdwv/oHXmpk1+FFETJkd cFaKdNwgtYhNjo6kmKr22qwUxb+wqQOSmCU+ZQOpgFujAwduE7UX9ego1UIXX1YnWg+k S7eccb6l9Y3ASbpecRX3lom3plMi4fdO9A/dQkAZISis+C4EyPOUOvtTGCsIrX4YyEtf JLfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=KnPNDa5vVgxQ1CH4HMSBawCpkT67+Y6KwqmWhTjlqz0=; b=QeuoMxUslitcwBp4pR0uktW61cy1u5NnIgD/tLc6FrFt4qGaxfCymCJFuAAYg/l7aM dAeIBAgbkyND+f9bKt6XFFY/wVF8yGQ1+O3Kl790kQabE2/WrmtBo3ku7eF4v+2Z9hkA jXlWY3TXcbuzMVRMQa3qlPHv46qmKDyz4/pKbZ6lModAngSJ8cdjkM+HdBXj5jejpThp SjXQkwYV4dGeogpP/1dP2Tw12GIMpOKRNLMCF2zOAh0D4c3ok9RrRsj0nEqxqofFQdw4 9vNI012CMaXZvTjmjRIqTtI4qgwWGyoKv2D1OJ5v+/swSnP9ONJnBtS7bgVzOZMQpeCk VvQA== X-Gm-Message-State: AKwxytfBAPf8uIEReV+sM4dPWM2Q5Y/OGCluAIzr5I8fHQs4NRt4eJth DWpAJcXsAtwrhH69avg5WsA= X-Received: by 10.46.58.6 with SMTP id h6mr1937388lja.2.1516736170717; Tue, 23 Jan 2018 11:36:10 -0800 (PST) Received: from mobilestation ([95.79.164.146]) by smtp.gmail.com with ESMTPSA id q77sm166816lfd.17.2018.01.23.11.36.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jan 2018 11:36:10 -0800 (PST) Date: Tue, 23 Jan 2018 22:36:23 +0300 From: Serge Semin To: Jiaxun Yang Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 12/14] MIPS: memblock: Discard bootmem from Loongson3 code Message-ID: <20180123193623.GC28147@mobilestation> References: <20180117222312.14763-1-fancer.lancer@gmail.com> <20180117222312.14763-13-fancer.lancer@gmail.com> <1516746524.20678.6.camel@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1516746524.20678.6.camel@flygoat.com> 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 Hello Jiaxun, On Tue, Jan 23, 2018 at 10:28:44PM +0000, Jiaxun Yang wrote: > 在 2018-01-18四的 01:23 +0300,Serge Semin写道: > Hi Serge > > > Loongson64/3 runs its own code to initialize memory allocator in > > case of NUMA configuration is selected. So in order to move to the > > pure memblock utilization we discard the bootmem allocator usage > > and insert the memblock reservation method for > > kernel/addrspace_offset > > memory regions. > > Thanks for your patch. However, In my test, the system didn't boot > anymore with your patch. Since I don't have any lowlevel debug > instuments(ejtag or something). I can't provide any detail about the > problem. Just let you know that we have a problem here. > Thanks for performing the tests of the patchset. I really appreciate this. Regarding the problems you got. You must be doing something wrong, since Matt Redfearn already did the tests on Loongson3: https://lkml.org/lkml/2018/1/22/610 and the kernel turns out to be booting without troubles. So could you make sure, that you did everything right? Particularly, you said the patch (singular) isn't working. But this patch functionality depends on the whole patchset. Did you apply all the patches I sent and fully rebuild the kernel then? Regards, -Sergey > > -- > Jiaxun Yang