Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5120535ybl; Mon, 26 Aug 2019 23:05:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0L8VWDeCcn0TXctkWa3xELhToeiHR92cbebEitkZM9bsgv9uuBRCtC9nkDzQbde5guzLf X-Received: by 2002:a17:902:7083:: with SMTP id z3mr22737501plk.87.1566885947225; Mon, 26 Aug 2019 23:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566885947; cv=none; d=google.com; s=arc-20160816; b=DLJRYFhYILlEK/SvApOsHwk5OC7n5z4fb8N5ipNDcgiW4/UuYFRJKAXdAayJDaTMur q8VNRzBci1kjaEa51zVaP8T73x8N6OQ52fyD61ZgLznxmKRtAbjdNtJuWG2wMWVdiVTA NXV1K7ljNgMdsNzAM9eKFJs0A5tww4csMMUDrYTM0mLbGVZTDvKTqgrpaCllHR7WLunn QHg9ivndZJlARFXkIA7e/+cCpfZGpncR9EAOKhFI58zsVgMs72O6t0OQHMLeSuSiYQVD ok7sjAHj3aiBK0Jtk2K3B1d6baIqFXEG4M2UIocr1sAuYqJvXW+Y6wPErtb+IUSSM+RI 4BjQ== 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=pKsOnclmUAh7/xlpLjM+VTuZ9WanDnkV2YtS1wvHQXg=; b=IQQQC5fVOqT7yBRQP95LY5l4cCFQEXuGlP09287A6D/BqQEdvqKxEs9IsASCbPmFE7 sXAMQnCcRts2k9TR3+9NjQ02aMe5MrL0+6q7KYyKdQC4dqpgNVuDKZqI0L/JslA/bYtt Lj1yjXaYfGVwL1Cuo2nUwTqqap6/MCGkGHuRR2D26I139ErKsIFi6JSQ2BLKSCk4jTDj 6K0dWZD7VfhKcGW2aLRx7LX1uMXf7OfVdMvsUBGVGtIC5HhI/v1w9raNLc2DXO5/rwRg Xks1jQa7HTIbrNmJSAtU3lm6Uf4rMCeveaZTMzPwGwh2CGe4BVgBYd5qIUAEVthyl5DZ w0Ow== 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 a36si7324504pla.30.2019.08.26.23.05.31; Mon, 26 Aug 2019 23:05:47 -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 S1728828AbfH0GEj (ORCPT + 99 others); Tue, 27 Aug 2019 02:04:39 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:23914 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbfH0GEj (ORCPT ); Tue, 27 Aug 2019 02:04:39 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7R64WhM090997 for ; Tue, 27 Aug 2019 02:04:38 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2umxgv0s3d-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 27 Aug 2019 02:04:36 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 27 Aug 2019 07:03:03 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) 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) Tue, 27 Aug 2019 07:02:59 +0100 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x7R62wDS31981766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 27 Aug 2019 06:02:58 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 30FBEA4054; Tue, 27 Aug 2019 06:02:57 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A15C2A4062; Tue, 27 Aug 2019 06:02:53 +0000 (GMT) Received: from [9.109.217.45] (unknown [9.109.217.45]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 27 Aug 2019 06:02:53 +0000 (GMT) Subject: Re: [PATCH v3] powerpc/fadump: sysfs for fadump memory reservation To: Michael Ellerman , Sourabh Jain Cc: corbet@lwn.net, mahesh@linux.vnet.ibm.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, linuxppc-dev@lists.ozlabs.org References: <20190810175905.7761-1-sourabhjain@linux.ibm.com> <53311fa4-2cce-1eb6-1aae-0c835e06eb24@linux.ibm.com> <87sgpn2t2w.fsf@concordia.ellerman.id.au> From: Hari Bathini Date: Tue, 27 Aug 2019 11:32:52 +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: <87sgpn2t2w.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19082706-0016-0000-0000-000002A35EF5 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19082706-0017-0000-0000-00003303A7E9 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-26_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 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908270068 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/08/19 8:49 AM, Michael Ellerman wrote: > Hari Bathini writes: >> On 26/08/19 4:14 PM, Sourabh Jain wrote: >>> 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? >> >> I wouldn't mind that but please do check if it is breaking a convention.. > > AIUI a file named like that would hold the documentation for the files > inside a directory called /sys/kernel/fadump. > > And in fact that's probably where these files should live, rather than > just dropped directly into /sys/kernel. Michael, could that be corrected now by introducing new sysfs files for FADump in /sys/kernel/fadump/. Also, duplicating current /sys/kernel/fadump_* files as /sys/kernel/fadump/* files & eventually dropping /sys/kernel/fadump_* files sometime later.. - Hari