Received: by 10.223.164.202 with SMTP id h10csp757919wrb; Wed, 15 Nov 2017 07:26:52 -0800 (PST) X-Google-Smtp-Source: AGs4zMZMteC0wLS/vs6Xq3LuZIJboDQAA92DRizenInlHkdIhIfr9EKHVusKR9HzLcgL1T+D/wKr X-Received: by 10.84.176.65 with SMTP id u59mr16534496plb.21.1510759612544; Wed, 15 Nov 2017 07:26:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510759612; cv=none; d=google.com; s=arc-20160816; b=p1HqsUN8LJB2lK7Vnt5mhRumdKW4lJtilBJLtUz1AGtowDqpV7F5wgw1UMgP32v7RQ q3+sSF/ZZtdFxLNua8vRx0HcffwRp9zfGsMUhg4F+0sAGBcjBuiVgG5ehfOKby3UTJjh m5/TDbO43x2lmEdmuV2fbXOGBjwYFguTeUw0nDs89pIrAOPLx9NBibp6oxiT+lfCLRDq zw6jHBQEzrBZ2XobLtVOXySqo/8sLK0VVNvxgRzJTG+TE2uM09ZoXsad0Di3SY/6kqyj RoyE9ymX43aCYHHB6KjOdrKm4Eu5qVMQtKowHG4HtY8+DQ3AIGoOPna605fw7uOv979J 7QjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:user-agent:references:in-reply-to:date:cc:to:from :subject:arc-authentication-results; bh=lCf6ZM5aBM5jkcYSMAr8pZXfmcdnqG3JMwSiLY2mkZE=; b=yhigL9A7i01r02VSd8k5MNc5UW/KDQgofAT/ZVWZR0kA9X283jBC1DdEOWLPgoOqun 0fzFWalBsXxru3pZGAmO5tquctZt8AwKebiHEClPthO7p4KMSiwCkXFYwk4XXeKIhJgW j6rjzRoqWTSUGlkhRxLYvvj9bReN+zRor8q3tRdErQlwWM2uycfqd7j2Q2i0ok2tmp7e a6bPisOsaURyxlEY7xMoXTkYoxM5K4L4pBC0Odpk+7bCHp/HrfA1/3tD+rVVNlmX47xT ziyhEBiGXYJWw8soWWhljB2/1BfutKMFRCbDEOpC3A90JWOdyGkJXxH2qI+0nY4F3AsR H7fQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17si18469092plo.215.2017.11.15.07.26.40; Wed, 15 Nov 2017 07:26:52 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932632AbdKOPVj (ORCPT + 89 others); Wed, 15 Nov 2017 10:21:39 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:35286 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752151AbdKOPVZ (ORCPT ); Wed, 15 Nov 2017 10:21:25 -0500 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAFFLH9K083306 for ; Wed, 15 Nov 2017 10:21:24 -0500 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2e8r1dgevm-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 15 Nov 2017 10:21:17 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 15 Nov 2017 15:19:28 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 15 Nov 2017 15:19:26 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vAFFJPDZ36372724; Wed, 15 Nov 2017 15:19:25 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A0E8242057; Wed, 15 Nov 2017 15:14:19 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 30B284204F; Wed, 15 Nov 2017 15:14:17 +0000 (GMT) Received: from hbathini.in.ibm.com (unknown [9.79.199.182]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 15 Nov 2017 15:14:16 +0000 (GMT) Subject: [PATCH v9 8/8] powerpc/fadump: update documentation about 'fadump_extra_args=' parameter From: Hari Bathini To: linuxppc-dev , Andrew Morton , lkml Cc: Michael Ellerman , Ankit Kumar , Michal =?utf-8?b?U3VjaMOhbmVr?= , Mahesh J Salgaonkar Date: Wed, 15 Nov 2017 20:49:21 +0530 In-Reply-To: <151075897205.14434.9005256552409420263.stgit@hbathini.in.ibm.com> References: <151075897205.14434.9005256552409420263.stgit@hbathini.in.ibm.com> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17111515-0040-0000-0000-0000040EA916 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17111515-0041-0000-0000-000020B16099 Message-Id: <151075915192.14434.3165385149109943093.stgit@hbathini.in.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-15_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711150207 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With the introduction of 'fadump_extra_args=' 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 | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Documentation/powerpc/firmware-assisted-dump.txt b/Documentation/powerpc/firmware-assisted-dump.txt index bdd344a..5705f55 100644 --- a/Documentation/powerpc/firmware-assisted-dump.txt +++ b/Documentation/powerpc/firmware-assisted-dump.txt @@ -162,7 +162,19 @@ 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 command line parameters as a space + separated quoted list through 'fadump_extra_args=' parameter, + to be enforced when fadump is active. For example, parameter + 'fadump_extra_args="nr_cpus=1 numa=off udev.children-max=2"' + will be changed to 'fadump_extra_args nr_cpus=1 numa=off + udev.children-max=2' in-place when fadump is active. This + parameter has no affect when fadump is not active. Multiple + instances of 'fadump_extra_args=' can be passed. This provision + can be used to reduce memory consumption during dump capture by + disabling unwarranted resources/subsystems like CPUs, NUMA + and such. Value with spaces can be passed as + 'fadump_extra_args="parameter=\"value with spaces\""' +4. Optionally, user can also set 'crashkernel=' kernel cmdline to specify size of the memory to reserve for boot memory dump preservation. @@ -172,6 +184,12 @@ 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. Special parameters like '--' passed inside fadump_extra_args are also + just left in-place. So, the user is advised to consider this while + specifying such parameters. It may be required to quote the argument + to fadump_extra_args when the bootloader uses double-quotes as + argument delimiter as well. eg + append = " fadump_extra_args=\"nr_cpus=1 numa=off udev.children-max=2\"" Sysfs/debugfs files: ------------ From 1584128024182816601@xxx Wed Nov 15 10:36:50 +0000 2017 X-GM-THRID: 1583985575029515476 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread