Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp626684ybl; Tue, 7 Jan 2020 12:08:17 -0800 (PST) X-Google-Smtp-Source: APXvYqw5FR9iOR3UmEHmIv/YgnXKNvWKhJfS9EtaCNkU7Es5qQQNUP10+7UWfEOLs0AW1QXZXxza X-Received: by 2002:aca:6042:: with SMTP id u63mr154367oib.76.1578427697002; Tue, 07 Jan 2020 12:08:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578427696; cv=none; d=google.com; s=arc-20160816; b=xCi0Qdan6LHdyXfropWHXXyckoN+vO2XNeZJYCR9A8/eh0D94fIVbcogD68hvc8nl0 v2S2hTOfgVQhZkMSneGJ8YR/eocYPmFL5Vh0DWj9yxCMBLI5y9ZaSnks9dqpJObyCYP+ 5xvXxAzlGr1YOjdO2rnHwuzjAzT5B6xvAc7SfbRNemcu5uj6LUdNmW78X3hPmmpH38J7 bHQW0WccKtysmsgiRfNUNsxOvt4ePHSf5/EzLbk9VStp03OGP6XugWyt2u6mAspOIS42 L6n2pwvtkKbH4WdfpMzavJvhLIOpw+bvK1Iy4nMLawqx5sHY7sRYr2zvGN0OSYdL6zcb cdnw== 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=A6xYz5e4kbpeg5tTSXFBjxxHrm89e67dM6W6LXIpTcc=; b=d2pvPfRA0dyLnBz7xN1vFLM6NVyU0r/wCCm0sl5SfbQoqAaJtCo2f4ppoBykC3+K6d HlaVtBgs6BWbE6SoIdcJfMAo2tEXnFM87iNq8m4uYQYXLoSt/BPIy7tm+Zl3s6w7zKCC ntD3E8pIY4VqYi+4eWGYdVOj/a9Lv0tIJsBdZ2uZAyi5iAEvRn9Iw2z5/j07PB1W5OHQ j41PePQF2/gIL3gMQbKnfBZckb0wo09O7VOC0EX9k8AU6HyvP5c2zRDxdKjSQjF2R/Df OiUvfH/wRTpeYMHTGqOBmglbFu2llgBTEjHTTdkeBqxCPOdk9CyaoAENSPnbHNyeKDxC UVkg== 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 x3si554617oie.146.2020.01.07.12.07.59; Tue, 07 Jan 2020 12:08:16 -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 S1728660AbgAGUHF (ORCPT + 99 others); Tue, 7 Jan 2020 15:07:05 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:1316 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728358AbgAGUHF (ORCPT ); Tue, 7 Jan 2020 15:07:05 -0500 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 007K5Fvr068647 for ; Tue, 7 Jan 2020 15:07:03 -0500 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xapd6rmex-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 07 Jan 2020 15:07:03 -0500 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 7 Jan 2020 20:07:01 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) 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) Tue, 7 Jan 2020 20:06:58 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 007K6v8G49348720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 7 Jan 2020 20:06:57 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4DBBA5204E; Tue, 7 Jan 2020 20:06:57 +0000 (GMT) Received: from [9.85.95.152] (unknown [9.85.95.152]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 6847952054; Tue, 7 Jan 2020 20:06:55 +0000 (GMT) Subject: Re: [PATCH v6 1/6] Documentation/ABI: add ABI documentation for /sys/kernel/fadump_* To: Sourabh Jain , mpe@ellerman.id.au Cc: mahesh@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, corbet@lwn.net, linux-doc@vger.kernel.org, gregkh@linuxfoundation.org References: <20191211160910.21656-1-sourabhjain@linux.ibm.com> <20191211160910.21656-2-sourabhjain@linux.ibm.com> From: Hari Bathini Date: Wed, 8 Jan 2020 01:36:54 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191211160910.21656-2-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: 20010720-0008-0000-0000-000003474AD0 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20010720-0009-0000-0000-00004A678D08 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-07_07:2020-01-07,2020-01-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 clxscore=1011 suspectscore=0 adultscore=0 phishscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001070157 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/12/19 9:39 PM, Sourabh Jain wrote: > Add missing ABI documentation for existing FADump sysfs files. > > Signed-off-by: Sourabh Jain The patch series adds a new sysfs attribute that provides the amount of memory reserved for FADump. It also streamlines FADump specific sysfs interfaces. Thanks for looking into this. For the series... Reviewed-by: Hari Bathini > --- > Documentation/ABI/testing/sysfs-kernel-fadump_enabled | 7 +++++++ > Documentation/ABI/testing/sysfs-kernel-fadump_registered | 8 ++++++++ > Documentation/ABI/testing/sysfs-kernel-fadump_release_mem | 8 ++++++++ > .../ABI/testing/sysfs-kernel-fadump_release_opalcore | 7 +++++++ > 4 files changed, 30 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-kernel-fadump_enabled > create mode 100644 Documentation/ABI/testing/sysfs-kernel-fadump_registered > create mode 100644 Documentation/ABI/testing/sysfs-kernel-fadump_release_mem > create mode 100644 Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore > > diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_enabled b/Documentation/ABI/testing/sysfs-kernel-fadump_enabled > new file mode 100644 > index 000000000000..f73632b1c006 > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-kernel-fadump_enabled > @@ -0,0 +1,7 @@ > +What: /sys/kernel/fadump_enabled > +Date: Feb 2012 > +Contact: linuxppc-dev@lists.ozlabs.org > +Description: read only > + Primarily used to identify whether the FADump is enabled in > + the kernel or not. > +User: Kdump service > diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_registered b/Documentation/ABI/testing/sysfs-kernel-fadump_registered > new file mode 100644 > index 000000000000..dcf925e53f0f > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-kernel-fadump_registered > @@ -0,0 +1,8 @@ > +What: /sys/kernel/fadump_registered > +Date: Feb 2012 > +Contact: linuxppc-dev@lists.ozlabs.org > +Description: read/write > + Helps to control the dump collect feature from userspace. > + Setting 1 to this file enables the system to collect the > + dump and 0 to disable it. > +User: Kdump service > diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_release_mem b/Documentation/ABI/testing/sysfs-kernel-fadump_release_mem > new file mode 100644 > index 000000000000..9c20d64ab48d > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-kernel-fadump_release_mem > @@ -0,0 +1,8 @@ > +What: /sys/kernel/fadump_release_mem > +Date: Feb 2012 > +Contact: linuxppc-dev@lists.ozlabs.org > +Description: write only > + This is a special sysfs file and only available when > + the system is booted to capture the vmcore using FADump. > + It is used to release the memory reserved by FADump to > + save the crash dump. > diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore b/Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore > new file mode 100644 > index 000000000000..53313c1d4e7a > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore > @@ -0,0 +1,7 @@ > +What: /sys/kernel/fadump_release_opalcore > +Date: Sep 2019 > +Contact: linuxppc-dev@lists.ozlabs.org > +Description: write only > + The sysfs file is available when the system is booted to > + collect the dump on OPAL based machine. It used to release > + the memory used to collect the opalcore. > -- - Hari