Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3988019ybl; Mon, 26 Aug 2019 03:48:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFroH0Fpg+YqHmIaX4dgHLP9MEpEZ/+mZYRUZuQpeqXdW2vsc4XBeUrpyMts+BtdJrrB7T X-Received: by 2002:a63:6407:: with SMTP id y7mr3451484pgb.188.1566816495918; Mon, 26 Aug 2019 03:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566816495; cv=none; d=google.com; s=arc-20160816; b=E2LtnqurcHgDygbajO0IWuFuzsyN6FDwUX+4nfbMdorDf8K5RRLl/6nl2Dr8LcklJ0 VFcjb6PXd8xbaR2PIA0bBu1LcJYfw8YHIyoCbcgVEYQyzimdrc3wAcYzgmX1R8npeZa3 6Kfmz6V5B7YFIK9VhwaKhx+sK4rJrLHLAWvifSm1Lnk/lofegKzT9vfIIFEPNUr9x+Ei rUZqkyNex3XqkJC5f50UMCYGHK6IZ+0n9IzW56vaT+BkIzqHZFEX7cVbqTs3r1St7fID olPjjrmin7nnXAsNI8sMj+7XCu48lZmxwsugrchzVTvMcN10l4f//SY9941hIxC9HGah fcAw== 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 :references:cc:to:from:subject; bh=8QHHoRRRCMNOpDfioYUaTOODaeRsTgOcNV7CEAKuZ48=; b=DodyP8NJPxHz0OhUFBo7PKX52b492mjJQZEfk9bcvAUf5qvdalzHJpt39soyoeM9ff RVnjPVrcKzWO0z2nVKrF3jZfF/m44gOXlFVQyFfUIwAj84IaWRSmzoP6JJ4AkYs6K+jV WJb9xoeRzsOF8yu+5X8OpFDuFjXU6n8Lhy1tybDdmZSZ3j0+4OR1bDhSQO2QBix00jPp ZuhQOYekYa0L4CMvA3iFn8gs6kQ4IHsjvBIyF0ThuSjtlWC087/mvHD4KiKybzqCk9TO CxcH6I7Bj45JEs8U/sY7rDn0xCdCbHvBzNiOaGHkGW3pDx/HX6PxXOX/n1L6AOgb442N nsfQ== 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 y13si5440099pfg.215.2019.08.26.03.48.00; Mon, 26 Aug 2019 03:48:15 -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 S1730385AbfHZKo4 (ORCPT + 99 others); Mon, 26 Aug 2019 06:44:56 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:17128 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727000AbfHZKo4 (ORCPT ); Mon, 26 Aug 2019 06:44:56 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7QAiPdx077354 for ; Mon, 26 Aug 2019 06:44:54 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0b-001b2d01.pphosted.com with ESMTP id 2umdfq8w6u-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 26 Aug 2019 06:44:54 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 26 Aug 2019 11:44:46 +0100 Received: from b06avi18626390.portsmouth.uk.ibm.com (9.149.26.192) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 26 Aug 2019 11:44:43 +0100 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x7QAiKmH41615770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Aug 2019 10:44:20 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 23CA5A4054; Mon, 26 Aug 2019 10:44:42 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DEF0CA4064; Mon, 26 Aug 2019 10:44:40 +0000 (GMT) Received: from localhost.localdomain (unknown [9.124.35.106]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 26 Aug 2019 10:44:40 +0000 (GMT) Subject: Re: [PATCH v3] powerpc/fadump: sysfs for fadump memory reservation From: Sourabh Jain To: Hari Bathini , mpe@ellerman.id.au Cc: mahesh@linux.vnet.ibm.com, corbet@lwn.net, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <20190810175905.7761-1-sourabhjain@linux.ibm.com> <53311fa4-2cce-1eb6-1aae-0c835e06eb24@linux.ibm.com> Date: Mon, 26 Aug 2019 16:14:40 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19082610-0016-0000-0000-000002A313A4 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19082610-0017-0000-0000-0000330358EF Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-26_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=1015 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-1908260119 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/26/19 3:46 PM, Sourabh Jain wrote: > > > On 8/26/19 3:29 PM, Hari Bathini wrote: >> >> >> On 10/08/19 11:29 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 >>> --- >>> Changelog: >>> v1 -> v2: >>> - Added ABI doc for new sysfs interface. >>> >>> v2 -> v3: >>> - Updated the ABI documentation. >>> --- >>> >>> Documentation/ABI/testing/sysfs-kernel-fadump | 6 ++++++ >> >> Shouldn't this be Documentation/ABI/testing/sysfs-kernel-fadump_mem_reserved? How about documenting fadump_mem_reserved and other sysfs attributes suggested by you in a single file Documentation/ABI/testing/sysfs-kernel-fadump? >> >>> +++ 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 save the crash dump. >> >> Split this up into a separate patch and have ABI documentation for >> fadump_reserved & fadump_registered as well.. - Sourabh Jain