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

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