Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6383981ybe; Wed, 18 Sep 2019 02:33:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzc6yXl94VWsIKmBhAAl0CFRBwPAhWZVsKG+AhfF0V4I28zlCloj33RUJNDVPxGFDhCuoAA X-Received: by 2002:a50:baab:: with SMTP id x40mr9301570ede.60.1568799216274; Wed, 18 Sep 2019 02:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568799216; cv=none; d=google.com; s=arc-20160816; b=sIdQCC5Sm/OdBL2n62Odr8uy3uxMozwLndPuRhUTQbxxvtWPvWBAJX9osVZCZFfgkL AWIzbo20Jcihdu+G+w9/z/v2e/PpaKvUkau4pO66nfVfVx+uxyzpAuWmdogWbTMs9vzs AnPKJMy2Iq5WTPx5qRztjxu6tw6rnjTl/Uk9LJ249uRPMTb0RagichVX4/gggzHnp+tn nc3jkutDi+ZLSaHPFiO46b9uou3fgWj0jERa23QSF1FXzJkoNbpRBYwPgkiR7Y6A6Zwm PThCKWgr1I+eBMpp4dNB4p//aRO+5qPHW8Ahbt2tWqjxwggLEAusw9uCmyu0LIEBLLwU IFNA== 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=KzzRvH4/zJCdiogiDZpdNuJwMUvbztrZ0xS6Z6BTjh4=; b=0sNZBUdCaS/O7bdRPxPLRdlF3NP9F8c7kfQ5U6Tt9ktk2CL5BGpSZwyPUNgwa0uWrf APw9bguufDHYYFKl76X789qWISMaeo5D50I8Jjj1PbjTnudjyY4mCjutLirMeesn/wEe xbUF0H3/wYNce+J8Z3ijNUwI6vE2DaMU6XUuLieC/yxnVSvF+grFJU35Ok1TRTVOcVOb sP5vWzvSUYhHxfxohHS+FhqlX+EuHElljzGcY0joXhOgUwjjrk6kucg8RztkwDt4rjYj UHjJYRQzbrxCrSLQQsUUOcu6FnDJQTaBXBXndiKEyp3u4mVNVWdHcxgug62HRbTJXHO6 NKYQ== 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 y10si2453422eje.50.2019.09.18.02.33.13; Wed, 18 Sep 2019 02:33:36 -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 S1730032AbfIRITR (ORCPT + 99 others); Wed, 18 Sep 2019 04:19:17 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:64768 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727337AbfIRITQ (ORCPT ); Wed, 18 Sep 2019 04:19:16 -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 x8I8Hbu7184748 for ; Wed, 18 Sep 2019 04:19:15 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2v3gj7rxa7-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 18 Sep 2019 04:19:14 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 Sep 2019 09:19:13 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 18 Sep 2019 09:19:11 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x8I8JApK36241542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Sep 2019 08:19:10 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0ECF24C059; Wed, 18 Sep 2019 08:19:10 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B0AF64C04E; Wed, 18 Sep 2019 08:19:08 +0000 (GMT) Received: from localhost.localdomain (unknown [9.124.35.138]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 18 Sep 2019 08:19:08 +0000 (GMT) Subject: Re: [PATCH v3] powerpc/fadump: sysfs for fadump memory reservation To: Hari Bathini , Michael Ellerman Cc: linux-doc@vger.kernel.org, mahesh@linux.vnet.ibm.com, corbet@lwn.net, 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: Sourabh Jain Date: Wed, 18 Sep 2019 13:49:08 +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: 19091808-0008-0000-0000-00000317D5C5 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19091808-0009-0000-0000-00004A365650 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-09-18_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-1908290000 definitions=main-1909180086 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/27/19 11:32 AM, Hari Bathini wrote: > > > 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.. Sent a patch series that adds fadump_mem_reserved sysfs file along with reorganizing the existing fadump sysfs files. Patch series available here: https://lists.ozlabs.org/pipermail/linuxppc-dev/2019-September/197100.html - Sourabh Jain