Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp971399lqt; Fri, 7 Jun 2024 04:34:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXeHwoIkACWSwU9BQ7nKeeWpRF+Y6hI7/mGdYxpq/79bZqnc5qqD10bqd7+fgLJV3eR6oGhZPhBnKmXlnqr1Z1Ii3FiOdfZLDrkA926iQ== X-Google-Smtp-Source: AGHT+IF1KxSC5B6reV+w7mGL2onYxVuqbI5nutUpsSB/JhbHwyOFPcvvruEJuZQi/rMQ+TCejHXi X-Received: by 2002:a05:620a:2912:b0:792:9960:7891 with SMTP id af79cd13be357-7953c5d56c6mr263232585a.78.1717760096051; Fri, 07 Jun 2024 04:34:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717760096; cv=pass; d=google.com; s=arc-20160816; b=i1wT7MfS2lNc23NIzs2Z8nObClUU0xDF7/MbTqocW06ftQTUI6NPz09CwcNP4S0E2q LUUZh+rywCu/r1vnI2ZjcZ7+1hBYPu3/bs6+SPaBpFCw70+fEP/SiQf6Ieyl1ssmwZKx 4fHK0nUHGmNkk5Asny2UNqrMQneQe18hEM+p2BRxSi0mTwTT6ihtU0nD8/pB1YmcIgJV gwm4SAIOn0ZtPPEzPT180l4z8smvUMtPE1oQjTzvOHMTQEEaT62OVYnw/2t0tzeKQsL7 nTq2siiq6lSNcrvteauh5mInC8Qic9fGHrwDyTUOn27Td3VknA68Ru1Nl4sXL+dj3LxS VR2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=BDpBDu7Lq6DHKKgPYRdSelnrJrxkSjdMrWzB4DzvKTQ=; fh=otHxsrYuCY+47qAjWxqQt09JorV01IxfYbWnIqCto5g=; b=cijKPgG9dlofsuXhDZWBuLpuBY8s+et0yvYRUznydvvlPUVMkYp+5AlWQhECafbBDD k+Qfr60gJETJNlH3OiaFXK6zMm+4f/8wTB8znNctnRXxqv4wu3I9geNo+gEnsdiHneRK d/duGqqsm78g46n+GyBJWUcEw2/DYUohWFGYzlaZrN3u7tUFaWr8EtZQdln1S+eFH/X6 yAHRUba3KjP+RJcyu0BoPVZwx48Wl0A0ZWFhkrPjyl1dAKLX7lpMHOkokz4v4GsEjeX+ +0xjPEtGlrjQiBKjMiKXfM9d0kpQ5+p1JkuKA60VI87FlNe2DAMPKOZFJJuYXN1Ekeur v/pQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-205925-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-79538e0badasi65434385a.129.2024.06.07.04.34.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 04:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205925-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-205925-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C31081C22277 for ; Fri, 7 Jun 2024 11:34:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F13518C324; Fri, 7 Jun 2024 11:34:49 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD9F92837F; Fri, 7 Jun 2024 11:34:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717760088; cv=none; b=rpXEHnzUopFQC/sNry+2Kxw3XBnOElBXtHPGvwrTz0Z3Z2Vdj7/rwTXvhrByRxK1+NmNIS0HM9muft/gSoHKgHVOBSnMBomcrRF4uENfmQEd3eQZjL/crIXMDKyByVz9cttKXE+lVFJ428BwuhvTzeF8edGLR+96KpdF6C+eztE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717760088; c=relaxed/simple; bh=mbG89FjHAxa1gznB6DfiZPNoSOm4l0OCZ9Vw9BRkHMk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dHXi6AZq35uO5zzNNYWawZi6nIqhgyET+JoKElEim0Dl076XrkQbM55DGw3gVBfBWh/Y6OWvaOZoFPl+MfE8ndoaU0tOLrLTqsvWhc4+KkMoJyZ4IM/hDkGC5Zfxx6tUsV3SqZ5UZ3RFSEbeJFkKUTFpK6ecrzpfLW0CxbntPBk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5F2BB2F4; Fri, 7 Jun 2024 04:35:10 -0700 (PDT) Received: from [10.57.70.246] (unknown [10.57.70.246]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 587D53F762; Fri, 7 Jun 2024 04:34:44 -0700 (PDT) Message-ID: <8c3db3d5-8ddc-427c-8db2-980b14afb258@arm.com> Date: Fri, 7 Jun 2024 12:34:42 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Documentation: Add ARM64 for reserving ZONE_MOVABLE Content-Language: en-GB To: Dev Jain , linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, will@kernel.org, corbet@lwn.net, linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, mark.rutland@arm.com, suzuki.poulose@arm.com, broonie@kernel.org, James.Morse@arm.com, Anshuman.Khandual@arm.com References: <20240604052856.546183-1-dev.jain@arm.com> From: Ryan Roberts In-Reply-To: <20240604052856.546183-1-dev.jain@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 04/06/2024 06:28, Dev Jain wrote: > kernelcore and movablecore kernel command line works for ARM64. Update > the Documentation to reflect the same. > > Signed-off-by: Dev Jain > --- > Documentation/admin-guide/kernel-parameters.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index b600df82669d..7282d6057e32 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -2544,7 +2544,7 @@ > > keepinitrd [HW,ARM] See retain_initrd. > > - kernelcore= [KNL,X86,IA-64,PPC,EARLY] > + kernelcore= [KNL,X86,IA-64,PPC,ARM64,EARLY] Given these are both arch-agnostic parameters, wouldn't the correct change be to remove all the arch-specific labels, i.e. [KNL,EARLY]? In fact, wasn't IA-64 removed from the kernel? > Format: nn[KMGTPE] | nn% | "mirror" > This parameter specifies the amount of memory usable by > the kernel for non-movable allocations. The requested > @@ -3612,7 +3612,7 @@ > mousedev.yres= [MOUSE] Vertical screen resolution, used for devices > reporting absolute coordinates, such as tablets > > - movablecore= [KNL,X86,IA-64,PPC,EARLY] > + movablecore= [KNL,X86,IA-64,PPC,ARM64,EARLY] > Format: nn[KMGTPE] | nn% > This parameter is the complement to kernelcore=, it > specifies the amount of memory used for migratable