From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751195AbdEBP5R (ORCPT ); Tue, 2 May 2017 11:57:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:46278 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750860AbdEBP5G (ORCPT ); Tue, 2 May 2017 11:57:06 -0400 From: Michal Suchanek To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Jonathan Corbet , Hari Bathini , Michal Suchanek , Vlastimil Babka , Michal Hocko , linuxppc-dev@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 RFT 2/2] powerpc/fadump: update documentation about 'fadump_append=' parameter Date: Tue, 2 May 2017 17:56:11 +0200 Message-Id: <20170502155611.6789-2-msuchanek@suse.de> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170502155611.6789-1-msuchanek@suse.de> References: <20170502155611.6789-1-msuchanek@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With the introduction of 'fadump_append=' parameter to pass additional parameters to fadump (capture) kernel, update documentation about it. Signed-off-by: Hari Bathini Signed-off-by: Michal Suchanek --- Documentation/powerpc/firmware-assisted-dump.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/powerpc/firmware-assisted-dump.txt b/Documentation/powerpc/firmware-assisted-dump.txt index 9cabaf8..99ab8f4 100644 --- a/Documentation/powerpc/firmware-assisted-dump.txt +++ b/Documentation/powerpc/firmware-assisted-dump.txt @@ -162,7 +162,11 @@ How to enable firmware-assisted dump (fadump): 1. Set config option CONFIG_FA_DUMP=y and build kernel. 2. Boot into linux kernel with 'fadump=on' kernel cmdline option. -3. Optionally, user can also set 'crashkernel=' kernel cmdline +3. A user can pass additional kernel parameters as a comma separated list + through 'fadump_append=' parameter, to be be appended when fadump is active. + This can be used to pass parameters like nr_cpus=1, numa=off to reduce + memory consumption during dump capture. +4. Optionally, user can also set 'fadump_reserve_mem=' kernel cmdline to specify size of the memory to reserve for boot memory dump preservation. @@ -172,6 +176,8 @@ NOTE: 1. 'fadump_reserve_mem=' parameter has been deprecated. Instead 2. If firmware-assisted dump fails to reserve memory then it will fallback to existing kdump mechanism if 'crashkernel=' option is set at kernel cmdline. + 3. 'fadump_append=' parameter con be quoted to append multiple arguments + as in 'fadump_append="nr_cpus=8 numa=off"' Sysfs/debugfs files: ------------ -- 2.10.2