Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1248119pxu; Fri, 27 Nov 2020 03:18:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6+gl/Emj42LNdWuJCDq7CAVHC9JlBhg1o5ThN81OSXr5SRe89IfCuwS11nvMGCzSz03sf X-Received: by 2002:aa7:c2d6:: with SMTP id m22mr7045486edp.368.1606475900518; Fri, 27 Nov 2020 03:18:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606475900; cv=none; d=google.com; s=arc-20160816; b=06j4+EDYL1cMF4wbUX3lbft7mYdZHkxY6KDjg2od60m9pOmk0V9Vg6VxGUihvq+slr Y9vy2hAdKW0KJ2JsNWeTP3JZ+Xcp4hAey1aZrlLDJuoLwrJA94WWxR3toMl4JFj8V9W/ o0zFL6JGv/2n+eGe88ovNJ7P8ktT679ujXuKAu7Okdo1nI3xVq5I5ltPjp/22CIyYZBC rhNqW4yEVryOIWF+Ex+Rxl1H2rm5m3z6g+OOjkdxUIts3l+laaocU4OGDtopb0qurVjR YJ/4W25ZLbSXxndEuP3O9D8lztL2wXzx6tS/yZ+QRh6deuCoH107XJo1uji5ZZ23DdH0 iO7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=WfHAWWvhLbxAWEq0pyN2VW6FMc2S0cO2eUW9uhAtQ/A=; b=o+AvixsasaxcjzPF/YT6OMclsMdgO5iMAwtG1yFplbZLPw9eEX55wCt92LHOykSvrF VUA6VjsrYVasUxalM9YJghCGLezb3n8Mwi1V996JGqaMkfKmKUFjk3czr1lsDyET8PYD 4I57BX8f7aRz3RDX4EKvQXVAwLSweXQ0DQeEH2UatHOKho/k6M9W7pJPSBVYZLOuRZr/ 0EE3J9JbjMz/HJEcdRdsjHq97BCsq0lIHst0n0Uve6j8BBUkDpfAzauBZRiaNV/sK2zw 0r/cbrD5aIzvFUQMXbOYPmCEjP6je4HWJur3MSY5VQqA8dSVcbshCtZqheEBFMJgCJMQ fXZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si4806094ejo.134.2020.11.27.03.17.57; Fri, 27 Nov 2020 03:18:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728928AbgK0LQ1 (ORCPT + 99 others); Fri, 27 Nov 2020 06:16:27 -0500 Received: from elvis.franken.de ([193.175.24.41]:32954 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbgK0LQ1 (ORCPT ); Fri, 27 Nov 2020 06:16:27 -0500 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1kibjk-00082H-00; Fri, 27 Nov 2020 12:16:24 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 62120C02A6; Fri, 27 Nov 2020 11:34:12 +0100 (CET) Date: Fri, 27 Nov 2020 11:34:12 +0100 From: Thomas Bogendoerfer To: Jinyang He Cc: Huacai Chen , Jiaxun Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: Loongson64: Fix up reserving kernel memory range Message-ID: <20201127103412.GA6518@alpha.franken.de> References: <1606299062-7427-1-git-send-email-hejinyang@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1606299062-7427-1-git-send-email-hejinyang@loongson.cn> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 25, 2020 at 06:11:02PM +0800, Jinyang He wrote: > Reserve memory from &_text to &_end. Otherwise if kernel address > was modified, the memory range of start_pfn to kernel_start_pfn > would be reserved. Then we could not use this range. > > Signed-off-by: Jinyang He > --- > arch/mips/loongson64/numa.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]