Blame SOURCES/0190-cxl-port-Consolidate-the-debug-option-in-cxl-port-ma.patch

2eb93d
From a951e6ddaec82dc0c33fb4e665e20f8fe4ce9caf Mon Sep 17 00:00:00 2001
2eb93d
From: Vishal Verma <vishal.l.verma@intel.com>
2eb93d
Date: Mon, 15 Aug 2022 13:22:05 -0600
2eb93d
Subject: [PATCH 190/217] cxl/port: Consolidate the debug option in cxl-port
2eb93d
 man pages
2eb93d
2eb93d
In preparation for additional commands that implement the --debug
2eb93d
option, consolidate the option description from the cxl-port man pages
2eb93d
into an include.
2eb93d
2eb93d
The port man pages also mentioned the debug option requiring a build
2eb93d
with debug enabled, which wasn't true - so remove that part.
2eb93d
2eb93d
Link: https://lore.kernel.org/r/20220815192214.545800-3-vishal.l.verma@intel.com
2eb93d
Cc: Dan Williams <dan.j.williams@intel.com>
2eb93d
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
2eb93d
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
2eb93d
---
2eb93d
 Documentation/cxl/cxl-disable-port.txt | 5 +----
2eb93d
 Documentation/cxl/cxl-enable-port.txt  | 5 +----
2eb93d
 Documentation/cxl/debug-option.txt     | 4 ++++
2eb93d
 Documentation/cxl/meson.build          | 1 +
2eb93d
 4 files changed, 7 insertions(+), 8 deletions(-)
2eb93d
 create mode 100644 Documentation/cxl/debug-option.txt
2eb93d
2eb93d
diff --git a/Documentation/cxl/cxl-disable-port.txt b/Documentation/cxl/cxl-disable-port.txt
2eb93d
index ac56f20..7a22efc 100644
2eb93d
--- a/Documentation/cxl/cxl-disable-port.txt
2eb93d
+++ b/Documentation/cxl/cxl-disable-port.txt
2eb93d
@@ -30,10 +30,7 @@ OPTIONS
2eb93d
 	firmware and disabling an active device is akin to force removing memory
2eb93d
 	from a running system.
2eb93d
 
2eb93d
---debug::
2eb93d
-	If the cxl tool was built with debug disabled, turn on debug
2eb93d
-	messages.
2eb93d
-
2eb93d
+include::debug-option.txt[]
2eb93d
 
2eb93d
 include::../copyright.txt[]
2eb93d
 
2eb93d
diff --git a/Documentation/cxl/cxl-enable-port.txt b/Documentation/cxl/cxl-enable-port.txt
2eb93d
index 9a37cef..50b53d1 100644
2eb93d
--- a/Documentation/cxl/cxl-enable-port.txt
2eb93d
+++ b/Documentation/cxl/cxl-enable-port.txt
2eb93d
@@ -31,10 +31,7 @@ OPTIONS
2eb93d
 	memdev is only enabled after all CXL ports in its device topology
2eb93d
 	ancestry are enabled.
2eb93d
 
2eb93d
---debug::
2eb93d
-	If the cxl tool was built with debug enabled, turn on debug
2eb93d
-	messages.
2eb93d
-
2eb93d
+include::debug-option.txt[]
2eb93d
 
2eb93d
 include::../copyright.txt[]
2eb93d
 
2eb93d
diff --git a/Documentation/cxl/debug-option.txt b/Documentation/cxl/debug-option.txt
2eb93d
new file mode 100644
2eb93d
index 0000000..70b922f
2eb93d
--- /dev/null
2eb93d
+++ b/Documentation/cxl/debug-option.txt
2eb93d
@@ -0,0 +1,4 @@
2eb93d
+// SPDX-License-Identifier: GPL-2.0
2eb93d
+
2eb93d
+--debug::
2eb93d
+	Turn on additional debug messages including library debug.
2eb93d
diff --git a/Documentation/cxl/meson.build b/Documentation/cxl/meson.build
2eb93d
index d019dfc..423be90 100644
2eb93d
--- a/Documentation/cxl/meson.build
2eb93d
+++ b/Documentation/cxl/meson.build
2eb93d
@@ -22,6 +22,7 @@ filedeps = [
2eb93d
   '../copyright.txt',
2eb93d
   'memdev-option.txt',
2eb93d
   'labels-options.txt',
2eb93d
+  'debug-option.txt',
2eb93d
 ]
2eb93d
 
2eb93d
 cxl_manpages = [
2eb93d
-- 
2eb93d
2.27.0
2eb93d