Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1994607imm; Tue, 2 Oct 2018 18:34:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV622VpxaNU6NjLHzbhaDGFhoAiITXfXyIHnBW/CndZ78mPb6EhA5vrekOW/0LrOQR/qKGrlB X-Received: by 2002:a62:8a91:: with SMTP id o17-v6mr19151296pfk.184.1538530450982; Tue, 02 Oct 2018 18:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538530450; cv=none; d=google.com; s=arc-20160816; b=n2SSYOK9vuzNT31o8BX09E+J8wphI6OG8pBgGLxx0pRI0E8fTFbGHjCHtNDe9lYEoW A9TLKRa1LxCjgG0wmlNxvM+FjyjLyP7aLs0Wcv7E0BF8ZX+FJyrKjiIEJL6V2Xd18sRy c1u6Ct7tXZeV0nnjDcqjD9qnyIyWHy+yDqwc2mVt5cRfOMWASBoG5zqHA00yGPbPx4fG VSO3FGevIh/vu8OCuVepOVh8AWO4TTgzcCcSGaich5WSfdcMcXHWM2iK/nx3XjariaCL PV1X9DmL3X8DkSWY+1+C3eG+q65cGzW1LuuqNn+PngcvC10uJ0lDBuSpvXfw6K9q0yhx g/Ew== 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; bh=nmlSZUo7cNLbA474YXzQx5KF+ma5lZ/e/QYfMgpUoYo=; b=D9aEtreKYERTQYa1j1pyYfYF5GN6H0tHwFYcZm4knwgJbMmxHeH8xJIJNARw6l8z8i hBTO0w/ipMIOps7tDVaK4t8JPb53c9s6ZZNZX7J+5EjoVnH9av0quO/6BkrwfvpDEVnj 3TZdyh1K0KqmR+DDUCHuU3PmQXq5d/2GWVFwZcKN3mreF6aeuNiwDIbmWFrojbcVYjzb QChumM0i0z9NBM5XndKpCrYsMzrgutwk8z4AbrYOTe/kfSSFDK1QqTnyRZ+nPP2lLu+z GTJXyFwI2MfAisqH92087zYRMaYvBL8AQ4EUzVX23eR2TQuh5ElGHClH6CpQaHpa59C+ /0dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E48gdS6D; 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=QUARANTINE 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 m125-v6si17439926pgm.541.2018.10.02.18.33.56; Tue, 02 Oct 2018 18:34:10 -0700 (PDT) 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=E48gdS6D; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726723AbeJCITy (ORCPT + 99 others); Wed, 3 Oct 2018 04:19:54 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:35323 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726618AbeJCITy (ORCPT ); Wed, 3 Oct 2018 04:19:54 -0400 Received: by mail-yw1-f68.google.com with SMTP id y76-v6so1647697ywd.2 for ; Tue, 02 Oct 2018 18:33:44 -0700 (PDT) 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=nmlSZUo7cNLbA474YXzQx5KF+ma5lZ/e/QYfMgpUoYo=; b=E48gdS6DkZbJNIMYy+CpAODfmSt0lCblZb5zD+nwRVfVVM78iwH0YF6q+uYYnC650S 8obIjjCm3PZ667M1z7BqAhOXOKbQRuFNHEKWmfuLqXFqRm4eucjkPH782XX5zEMElXC2 IBOt4dBBWfdYAWpp5zauA9I9o6VQiVTJNCMynL0TadoAD86iuvieCWymTXfoVZLI5C8b 0HUI+2xJzV/IXLTJPD4ljM0If7Gfdz/K8eOBYthwOYG/BR8UEUQ9HyBKH/qHk4cfRj0I KA0XnWo3OZjZ6ycaaBIT2n2gw2YXAsQA+Ntszrek0VMtKLM4pXlZAregwlw2e+Bo7t+8 +/vg== 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=nmlSZUo7cNLbA474YXzQx5KF+ma5lZ/e/QYfMgpUoYo=; b=nIQowvBYFvD5ehUwC613B1U9GsedT+JFKh0tKqvnucrrV1DM4WZFj0vMQk9/CFpGLg rXJVRQiRdEcfMFi3DSqw0l5cX46acClGQeM2jHPgxArlL8xUpfQtCBaGgAn7DxBcOWpN HeP9Cuy/SLEWB9c9HNI/7EO79nXYN40FTRVTxaPLxt6lRaOY1mqLa0WnOcHjSFx6x9uF 0mVMDLq659RoaH8yxVnjhT3JYKDHpzcED1vvs/7KO1fuBddDVv7fdIzqCACWIFQv0STI l0jdIw/lGsN7Dh89LodxHhf0SjloMv0Fh2Ue1WX8YTLQhuxuFA8wEprLhNoVUjsU0khQ mH2g== X-Gm-Message-State: ABuFfohh0ASgf7rNzql8MLkYdJQFenyT8DBgJaCaNvyD73n+lJwyG6iF 0Sx+43VHmWJiJtTs3qkigA== X-Received: by 2002:a0d:f9c1:: with SMTP id j184-v6mr9962872ywf.286.1538530424385; Tue, 02 Oct 2018 18:33:44 -0700 (PDT) Received: from gabell.hsd1.ma.comcast.net (c-98-229-178-29.hsd1.ma.comcast.net. [98.229.178.29]) by smtp.gmail.com with ESMTPSA id x64-v6sm5908556ywx.103.2018.10.02.18.33.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 18:33:44 -0700 (PDT) From: Masayoshi Mizuma To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Baoquan He , Borislav Petkov Cc: Masayoshi Mizuma , linux-kernel@vger.kernel.org Subject: [PATCH v6 3/3] Documentation/kernel-parameters.txt: Document rand_mem_physical_padding= Date: Tue, 2 Oct 2018 21:33:23 -0400 Message-Id: <20181003013323.4162-4-msys.mizuma@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181003013323.4162-1-msys.mizuma@gmail.com> References: <20181003013323.4162-1-msys.mizuma@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This kernel parameter allows the modification of the padding used for the physical memory mapping section when KASLR memory is enabled. For memory hotplug capable systems, the default padding size, CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING, may not be enough. The option is useful to adjust the padding size. Signed-off-by: Masayoshi Mizuma --- .../admin-guide/kernel-parameters.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 92eb1f4..f0930e3 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -3529,6 +3529,25 @@ fully seed the kernel's CRNG. Default is controlled by CONFIG_RANDOM_TRUST_CPU. + rand_mem_physical_padding= + [KNL] Define the padding size in terabytes + used for the physical memory mapping section + when KASLR is enabled. + If the padding size is not enough, you can see + 'Set rand_mem_physical_padding=XX ...' in system + boot message, so set the parameter as the message + suggests. + + This parameter is useful for memory hot-add capable + systems. Such systems may have more space than + actual memory size to hot-add memory. If the + padding size is not enough and memory is hot-added, + the hot-adding will fail because it destroys the + system memory map. So, the padding size needs to be + adjusted in such a system. + The default value is the value of + CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING. + ras=option[,option,...] [KNL] RAS-specific options cec_disable [X86] -- 2.18.0