Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp861005pxb; Thu, 12 Nov 2020 19:51:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmyASzBknxhlvugSt8RlUp1qD03av/mqywNtjw63+usAhqPKmaW0GJBenk+Ix0/D+0ieKr X-Received: by 2002:a17:906:6010:: with SMTP id o16mr139628ejj.55.1605239474219; Thu, 12 Nov 2020 19:51:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605239474; cv=none; d=google.com; s=arc-20160816; b=tVmpy93jDeNjm6uaZyZq6P4xlS0oOyqB3TldRe1QqO3qRh4M255VFxqbd900RU9aKt uVyb454alvdxfPQKlWYnUY+GEHIHCjaR0yvzb+XOOUV1zhhZmD3tmHJp/yU6eLb92n5F Rd0osx4ZeiQSYInanUVTNT7QMySTIomt2DSepgfNteSGc04Xy36e60W7s7j2thThpx4u sa1ytry8CtNJZj6RhAR96uWkiGjyZO+uV3wPlLwpjBlK0xI7xU0tZ7HK/gRCKvs3ekb7 vMEn/8zQvM//1yOr9cMjiRgzNNjGDW1iyZ7WBSqWhu+heir/gWzPqzewqmkHaiApUb8m I8uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=KJndruAV2YU+6G5QGgEMMlVPJGlNWaWisP0ZFqbjQ4Y=; b=g4CwibqBkHK6EhKMxA9WV5TGy0s2Vg32kONkqfsZtpffDfYSiyYpx7wgm+y//r2zma jNrltLa3BBOInP2nJ+U2duws0cFVz7gB2XfOOTTvgzytZQnMl4t8E7Ttmp+/FxDkEb+n by2E6kL75DK0GfypEHWYCp/EeVKJ58AHG2NL1tGe9Opln3QTcaukIbkVp46Ber35gEB7 /RlrQGiM2sgIkQthprj6p3E0LbZLna+5FE7z7EidJhtHae25qKoc/cPE29PNY2ISpjdG tQRI9UNrIzw+r9jALr9FY4cV68OuPgAwq1zGIHqbWuVxnGbOntowXm1jTtHON6JpryqN KXZQ== 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 u10si6044930edp.411.2020.11.12.19.50.51; Thu, 12 Nov 2020 19:51:14 -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 S1726182AbgKMDta (ORCPT + 99 others); Thu, 12 Nov 2020 22:49:30 -0500 Received: from [157.25.102.26] ([157.25.102.26]:60464 "EHLO orcam.me.uk" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726011AbgKMDt3 (ORCPT ); Thu, 12 Nov 2020 22:49:29 -0500 Received: from bugs.linux-mips.org (eddie.linux-mips.org [IPv6:2a01:4f8:201:92aa::3]) by orcam.me.uk (Postfix) with ESMTPS id F0B9C2BE0EC; Fri, 13 Nov 2020 03:49:26 +0000 (GMT) Date: Fri, 13 Nov 2020 03:49:25 +0000 (GMT) From: "Maciej W. Rozycki" To: Jinyang He cc: Jiaxun Yang , Serge Semin , Alexander Sverdlin , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Paul Burton , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] MIPS: reserve the memblock right after the kernel In-Reply-To: <4a73a75f-a3b2-7ba1-d8a1-a46f5c20e734@loongson.cn> Message-ID: References: <20201106141001.57637-1-alexander.sverdlin@nokia.com> <20201107094028.GA4918@alpha.franken.de> <1d6a424e-944e-7f21-1f30-989fb61018a8@nokia.com> <20201110095503.GA10357@alpha.franken.de> <20201111145240.lok3q5g3pgcvknqr@mobilestation> <4625868b-f845-2f03-c3f2-fc3ff1ccf63d@flygoat.com> <4a73a75f-a3b2-7ba1-d8a1-a46f5c20e734@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 13 Nov 2020, Jinyang He wrote: > Commit: d3ff93380232 (mips: Make sure kernel memory is in iomem) > As I thought, this check is related to kdump. More directly, it is > related to the "mem=" parameter. Kexec-tools provide a "mem=" parameter > to limit the kernel location in kdump. But sometimes the memory may be not > enough and this check gives a way to ensure the capture kernel can > start rightly. Although "mem=" is not in kexec-tools now, I thought > it is also useful if someone use "mem=" to do other things. I used to supply `mem=' by hand on many occasions across different MIPS systems and for various reasons over the last 20 years; surely before kexec was even thought of. The option itself has been there in the MIPS port since I added it to Linux 2.4.0 back in Dec 2000. Maciej