Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3838321ybx; Sat, 9 Nov 2019 04:25:22 -0800 (PST) X-Google-Smtp-Source: APXvYqydXdIIAUrY8tB4CgBmdGEfWLlMLf4z7nxwVQyOhy1WYeYkgo3gyR1xIyIrSDU6ksFGhdYj X-Received: by 2002:a50:ff19:: with SMTP id a25mr15758637edu.181.1573302322570; Sat, 09 Nov 2019 04:25:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573302322; cv=none; d=google.com; s=arc-20160816; b=VwCkNUA9UZJgVQELNzOBKO8v+ucjFCTLutW5qgQjoERaPZZJeBcw21UNYAluUBTPF6 YTUT3w62gGS60Cwlk+XfKqfry39/FW/Q5PSc2CoQl8gmUWERKDDgQmnfA3foVzDrpwJ/ oEza/3EfXHzPTKCws9FYN60kq44Tqtkr0RS4pqAXCTMCn4QJ4iBgRWTJaMu/0on8x8Oa 5olBg4GkWQOs0GarO/IQY471WZdT9n7LjBjoPXPEiHh9Sfvv8BHkvow+XCtv2bU2Nd8J mYWyJedm/UdFRJk2RQCz5WQjBbZcOnBALXG51Dy5lUDpe9cnTIPr0VNbkcI5aFwtii8y B+FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from; bh=NR4+pG3bPkbS5jD/bFhugRMKXxkYUnYcykaisfbhomE=; b=tSyErqumWFZmWRl6wTdclXXq60ttr+KBydW8KIijAo/hj4fXAT0Y1opFy/QwA7Lmyz 5EUbNGRkfxG6D5ojz6Kcg2K377nhG7qqlciY3ZkPO6S/4FRRGl6KJ0zbbf4d6iTiod7f 41fyx7/SSdwLq7mmZpmWadrydACLAdMTBH6i0ybHmQEVBuCBerO6Vq41+QCrDPfntl00 KePHh1MohpbCSS1p+7Jk0cYptCxrSpcpREpQ08Aelihn0/h38K4y1lJyBmlMyP42+Sfg /nV1qVrz0QW+4KmxbTLjybXX7tcRmcQKX7ug4PjxX5/6yeGk8O+tgEIXgvSK1R2ezJsg M7vA== 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 k63si6956612edc.347.2019.11.09.04.24.59; Sat, 09 Nov 2019 04:25:22 -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 S1726656AbfKIMYK (ORCPT + 99 others); Sat, 9 Nov 2019 07:24:10 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:17676 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbfKIMYJ (ORCPT ); Sat, 9 Nov 2019 07:24:09 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id xA9C6gDD009711 for ; Sat, 9 Nov 2019 07:24:09 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2w5tuabwkh-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 09 Nov 2019 07:24:08 -0500 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 9 Nov 2019 12:24:06 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) 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) Sat, 9 Nov 2019 12:24:04 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id xA9CO33j58851444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 9 Nov 2019 12:24:03 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5A793A4053; Sat, 9 Nov 2019 12:24:03 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 58993A4040; Sat, 9 Nov 2019 12:24:01 +0000 (GMT) Received: from localhost.localdomain.com (unknown [9.85.73.97]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Sat, 9 Nov 2019 12:24:01 +0000 (GMT) From: Sourabh Jain To: mpe@ellerman.id.au Cc: mahesh@linux.vnet.ibm.com, hbathini@linux.ibm.com, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, corbet@lwn.net, linux-doc@vger.kernel.org, Sourabh Jain Subject: [PATCH v3 3/4] Documentation/ABI: mark /sys/kernel/fadump_* sysfs files deprecated Date: Sat, 9 Nov 2019 17:53:38 +0530 X-Mailer: git-send-email 2.17.2 In-Reply-To: <20191109122339.20484-1-sourabhjain@linux.ibm.com> References: <20191109122339.20484-1-sourabhjain@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19110912-0016-0000-0000-000002C229B4 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19110912-0017-0000-0000-00003323B3F8 Message-Id: <20191109122339.20484-4-sourabhjain@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-11-09_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 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-1910280000 definitions=main-1911090131 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The /sys/kernel/fadump_* sysfs files are replicated under /sys/kernel/fadump/ directory. But we need to keep the old sysfs files to maintain the backward compatibility. The sysfs files are scheduled to remove by 2021. Signed-off-by: Sourabh Jain --- .../sysfs-kernel-fadump_enabled | 3 +++ .../sysfs-kernel-fadump_registered | 3 +++ .../sysfs-kernel-fadump_release_mem | 3 +++ .../sysfs-kernel-fadump_release_opalcore | 2 ++ Documentation/powerpc/firmware-assisted-dump.rst | 15 +++++++++++++-- 5 files changed, 24 insertions(+), 2 deletions(-) rename Documentation/ABI/{testing => obsolete}/sysfs-kernel-fadump_enabled (67%) rename Documentation/ABI/{testing => obsolete}/sysfs-kernel-fadump_registered (72%) rename Documentation/ABI/{testing => obsolete}/sysfs-kernel-fadump_release_mem (74%) rename Documentation/ABI/{testing => removed}/sysfs-kernel-fadump_release_opalcore (82%) diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_enabled b/Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled similarity index 67% rename from Documentation/ABI/testing/sysfs-kernel-fadump_enabled rename to Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled index f73632b1c006..96f49f979e9c 100644 --- a/Documentation/ABI/testing/sysfs-kernel-fadump_enabled +++ b/Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled @@ -1,3 +1,6 @@ +This ABI is deprecated and will be removed after 2021. It is replaced +with /sys/kernel/fadump/enabled. + What: /sys/kernel/fadump_enabled Date: Feb 2012 Contact: linuxppc-dev@lists.ozlabs.org diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_registered b/Documentation/ABI/obsolete/sysfs-kernel-fadump_registered similarity index 72% rename from Documentation/ABI/testing/sysfs-kernel-fadump_registered rename to Documentation/ABI/obsolete/sysfs-kernel-fadump_registered index dcf925e53f0f..11ab41c673de 100644 --- a/Documentation/ABI/testing/sysfs-kernel-fadump_registered +++ b/Documentation/ABI/obsolete/sysfs-kernel-fadump_registered @@ -1,3 +1,6 @@ +This ABI is deprecated and will be removed after 2021. It is replaced +with /sys/kernel/fadump/registered. + What: /sys/kernel/fadump_registered Date: Feb 2012 Contact: linuxppc-dev@lists.ozlabs.org diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_release_mem b/Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem similarity index 74% rename from Documentation/ABI/testing/sysfs-kernel-fadump_release_mem rename to Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem index 9c20d64ab48d..69308b28cb0d 100644 --- a/Documentation/ABI/testing/sysfs-kernel-fadump_release_mem +++ b/Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem @@ -1,3 +1,6 @@ +This ABI is deprecated and will be removed after 2021. It is replaced +with /sys/kernel/fadump/release_mem. + What: /sys/kernel/fadump_release_mem Date: Feb 2012 Contact: linuxppc-dev@lists.ozlabs.org diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore b/Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore similarity index 82% rename from Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore rename to Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore index 53313c1d4e7a..fe42956a3f41 100644 --- a/Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore +++ b/Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore @@ -1,3 +1,5 @@ +This ABI is moved to /sys/kernel/fadump/release_opalcore. + What: /sys/kernel/fadump_release_opalcore Date: Sep 2019 Contact: linuxppc-dev@lists.ozlabs.org diff --git a/Documentation/powerpc/firmware-assisted-dump.rst b/Documentation/powerpc/firmware-assisted-dump.rst index 0455a78486d5..fc7b06408cea 100644 --- a/Documentation/powerpc/firmware-assisted-dump.rst +++ b/Documentation/powerpc/firmware-assisted-dump.rst @@ -283,14 +283,25 @@ Here is the list of files under kernel sysfs: enhanced to use this interface to release the memory reserved for dump and continue without 2nd reboot. - /sys/kernel/fadump_release_opalcore +Note: /sys/kernel/fadump_release_opalcore sysfs has moved to + /sys/kernel/fadump/release_opalcore. + + /sys/kernel/fadump/release_opalcore This file is available only on OPAL based machines when FADump is active during capture kernel. This is used to release the memory used by the kernel to export /sys/firmware/opal/core file. To release this memory, echo '1' to it: - echo 1 > /sys/kernel/fadump_release_opalcore + echo 1 > /sys/kernel/fadump/release_opalcore + +Note: The following FADump sysfs files are deprecated. + + Deprecated Alternative + -------------------------------------------------------------------- + /sys/kernel/fadump_enabled /sys/kernel/fadump/enabled + /sys/kernel/fadump_registered /sys/kernel/fadump/registered + /sys/kernel/fadump_release_mem /sys/kernel/fadump/release_mem Here is the list of files under powerpc debugfs: (Assuming debugfs is mounted on /sys/kernel/debug directory.) -- 2.17.2