Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6698933ybh; Thu, 8 Aug 2019 04:19:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMgFPixD6kSbw5nZSqVzJr1d9zn31MTeqURt5uBktWLwn9W7H0vfH27O8DsCZX5n9w9PCo X-Received: by 2002:a63:5765:: with SMTP id h37mr12009195pgm.183.1565263151030; Thu, 08 Aug 2019 04:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565263151; cv=none; d=google.com; s=arc-20160816; b=sqeXQEhydIBEm4vJsA1tFkWZk4pdBQuA02xNS0V0tN3TeL2Q1k6WN+gWBo3SU+Echu SYEx9ofQPY984ju+/HQqjKnVHM5tLGUTIBX2ZSD9DSKOn+DUvjoRrcnZ39U4E6zyfp39 a5uTjSYqUy7zTR4ahfQy3gb7d85yL8Le/iPvl3fJt52wZzPNR/+V1BvPNDRaZW6GdFkz 8fSXKQMNLGYRj2nvY93RjSgakvUwoo2jfY9RjGltQZW5COR70Y4NCgvfaDiqrW1OH5w/ Xb+Gbt+dwzNyRMGrUmBWfma8iJYU0NvlvRRxgs7KOQRCmdBnzHs+rpfhY0gt4ve7D6IG sYFw== 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 :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject; bh=pdpoO6BQLOx/G/NjhxK2elzt9SypB+Jc4iVucIk2kz8=; b=jM5hilgfg+x+PnMu17cfsGIWOQh1/MUVCQPgpnkqFHCdqkaUZJz6FTN/U+zq3WSfUI xAKCpA8A8sQ5XpkAseUp16Hz1cGX9J2V+KMf4ULzI6JRT4vyJe1LhIkCuZwYqUFIeAec lmbEpdKOWFdxsiNCgSeV6rBzlCIFPQadpkg65SwNGcrKpfKXBk4VVChI9lh/p9Zb5InD 7z9IdfSZoXSmrEFodAQE5ZOp+6ssZNED9zitPpMBVUBUASeKWhPdVPsxLj/BrDZXSylv nJfVFiCIIByTivN5YTg9jBBfuqNsIAV3w6zhR0JmdRpQEoRCJvfplo34gMkUI4tBF1SR 4iRg== 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 u2si51859650pgm.242.2019.08.08.04.18.55; Thu, 08 Aug 2019 04:19:11 -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; 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 S1732061AbfHHLR5 (ORCPT + 99 others); Thu, 8 Aug 2019 07:17:57 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:18796 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730722AbfHHLR5 (ORCPT ); Thu, 8 Aug 2019 07:17:57 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x78BDxHk131457 for ; Thu, 8 Aug 2019 07:17:55 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2u8g0ff6v4-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 08 Aug 2019 07:17:55 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 8 Aug 2019 12:17:53 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 8 Aug 2019 12:17:51 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x78BHoge42729704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 8 Aug 2019 11:17:50 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7CB8EAE045; Thu, 8 Aug 2019 11:17:50 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 26202AE04D; Thu, 8 Aug 2019 11:17:49 +0000 (GMT) Received: from [9.184.183.117] (unknown [9.184.183.117]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 8 Aug 2019 11:17:48 +0000 (GMT) Subject: Re: [PATCH v2] powerpc/fadump: sysfs for fadump memory reservation To: Sourabh Jain , mpe@ellerman.id.au Cc: corbet@lwn.net, mahesh@linux.vnet.ibm.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <20190808100833.30367-1-sourabhjain@linux.ibm.com> From: Hari Bathini Date: Thu, 8 Aug 2019 16:47:48 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190808100833.30367-1-sourabhjain@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19080811-0012-0000-0000-0000033C3CA4 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19080811-0013-0000-0000-000021763EBA Message-Id: <3f2a8648-066e-3639-0328-dd34da759f30@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-08_06:,, 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=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908080122 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/08/19 3:38 PM, Sourabh Jain wrote: > Add a sys interface to allow querying the memory reserved by > fadump for saving the crash dump. > > Add an ABI doc entry for new sysfs interface. > - /sys/kernel/fadump_mem_reserved > > Signed-off-by: Sourabh Jain > --- > v1 -> v2: > - Added ABI doc for new sysfs interface. > --- > > Documentation/ABI/testing/sysfs-kernel-fadump | 6 ++++++ > Documentation/powerpc/firmware-assisted-dump.rst | 5 +++++ > arch/powerpc/kernel/fadump.c | 14 ++++++++++++++ > 3 files changed, 25 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-kernel-fadump > > diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump b/Documentation/ABI/testing/sysfs-kernel-fadump > new file mode 100644 > index 000000000000..003e2f025dcb > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-kernel-fadump > @@ -0,0 +1,6 @@ > +What: /sys/kernel/fadump_mem_reserved > +Date: August 2019 > +Contact: linuxppc-dev@lists.ozlabs.org > +Description: read only > + Provide information about the amount of memory > + reserved by fadump to saving the crash dump. s/to saving/to save/ Rest looks good.. Thanks Hari