Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1738410ybg; Sat, 19 Oct 2019 01:26:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyG+8hCBmySi5RCjE4ZT+n2ZV47hmiFn2ZOoCh0W8w+4kMb1f0BVgSWozKcMgtwJG+CokM1 X-Received: by 2002:aa7:c301:: with SMTP id l1mr13848031edq.281.1571473582750; Sat, 19 Oct 2019 01:26:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571473582; cv=none; d=google.com; s=arc-20160816; b=LEz5oKrWgch7u5OAzhvRX+KpFXKjC8hFhP4HRF8leGhAsYvJ6GzpnBjbBr9AhCVsiS W1PnbgjhEbKZaB0tVqi4B21X5Ex21rYN9W7f7NCQZ7TxdV1SVwueC8mexe/DY6jdIwqq jsck1EagaDRnYHCsBSBp0BJZ6zgbAAzrazz18E//ET5KzRrLSEGOV9qKOOPhCCKzonXi e4uJeyfzTtSojskH4jr4vpF0ROuFTks9bTgYsrp6LpEngh5gDfKcR0cjy336xwvMWiW0 tBKwzPsCV1+2PDBdO9W8urH76C0DcoZ48B4nvowY0/B8Um0BpaT+FFpHXT02RoFv562Q eKEQ== 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=O2Yhl1f7CIFDEnxksx3Oliu/LjCEtLKqGCtF7ecOXRg=; b=v2h91PxGI1aqt8zkFmrepuhL4fz801wz+8BcclEdmZbeW68lerc2p4BLucYV0FlZlK cmj25fTfdJ5YdONjfvjvdT3mFhCCsWd1Eh7g3wUc/THlBuWNGHPP+iw3aQzuwVRUj/Ei by36RbkooNodQmdmjUnZT7jR6FybWXE3UQhOoVTKG8z5BvJ076XHW35vI1+C9Uqz45WZ 2pm/BwR43Dr+fibjHWyPgwuspEUDzGZjEu6uwDsDfPPbz9BJFoiINGQMMkP9aRwZJWwK 5lskJD0PrpjPXfWjD8AgiV0cqjIeyf2IZUOWQGbHZf+17nZGCUrxkEA9Fhp7ThA5nzTw Rjiw== 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 h53si6192553edh.147.2019.10.19.01.25.59; Sat, 19 Oct 2019 01:26:22 -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 S2634077AbfJRNGY (ORCPT + 99 others); Fri, 18 Oct 2019 09:06:24 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:15654 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2442812AbfJRNGY (ORCPT ); Fri, 18 Oct 2019 09:06:24 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x9ID3Aem070154 for ; Fri, 18 Oct 2019 09:06:23 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2vqbgxnyqk-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 18 Oct 2019 09:06:23 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 18 Oct 2019 14:06:21 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 18 Oct 2019 14:06:17 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x9ID6FjY48103476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Oct 2019 13:06:16 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C938EA4059; Fri, 18 Oct 2019 13:06:15 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BBD38A4051; Fri, 18 Oct 2019 13:06:13 +0000 (GMT) Received: from localhost.localdomain.com (unknown [9.85.73.145]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Oct 2019 13:06:13 +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 v2 3/4] Documentation/ABI: mark /sys/kernel/fadump_* sysfs files deprecated Date: Fri, 18 Oct 2019 18:35:56 +0530 X-Mailer: git-send-email 2.17.2 In-Reply-To: <20191018130557.2217-1-sourabhjain@linux.ibm.com> References: <20191018130557.2217-1-sourabhjain@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19101813-0012-0000-0000-000003594C98 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19101813-0013-0000-0000-000021946DCE Message-Id: <20191018130557.2217-4-sourabhjain@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-10-18_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-1908290000 definitions=main-1910180123 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 (66%) rename Documentation/ABI/{testing => obsolete}/sysfs-kernel-fadump_registered (71%) rename Documentation/ABI/{testing => obsolete}/sysfs-kernel-fadump_release_mem (73%) rename Documentation/ABI/{testing => removed}/sysfs-kernel-fadump_release_opalcore (84%) diff --git a/Documentation/ABI/testing/sysfs-kernel-fadump_enabled b/Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled similarity index 66% rename from Documentation/ABI/testing/sysfs-kernel-fadump_enabled rename to Documentation/ABI/obsolete/sysfs-kernel-fadump_enabled index f73632b1c006..ca35a285905b 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/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 71% rename from Documentation/ABI/testing/sysfs-kernel-fadump_registered rename to Documentation/ABI/obsolete/sysfs-kernel-fadump_registered index dcf925e53f0f..3d881701dc11 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/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 73% rename from Documentation/ABI/testing/sysfs-kernel-fadump_release_mem rename to Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem index 9c20d64ab48d..8fef37d9b5ba 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/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 84% rename from Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore rename to Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore index 53313c1d4e7a..b42e768bf922 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/ directory. + 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..6e2d329efda9 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/fadump_release_opalcore. + + /sys/kernel/fadump/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/fadump_release_opalcore + +Note: The following FADump sysfs files are deprecated. + + Deprecated Alternative + ------------------------------------------------------------------------------- + /sys/kernel/fadump_enabled /sys/kernel/fadump/fadump_enabled + /sys/kernel/fadump_registered /sys/kernel/fadump/fadump_registered + /sys/kernel/fadump_release_mem /sys/kernel/fadump/fadump_release_mem Here is the list of files under powerpc debugfs: (Assuming debugfs is mounted on /sys/kernel/debug directory.) -- 2.17.2