Skip to contentSkip to conversation

Documentation: RAS: Use the real EDAC PCI parity control names

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 5 – Sep 15

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: RAS: Use the real EDAC PCI parity control names

The document names the sysfs control /sys/devices/system/edac/pci/check_pci_parity and the module parameter edac_panic_on_pci_pe. Neither exists.

check_pci_parity was renamed to check_pci_errors by commit 91b99041c1d5 ("drivers/edac: updated PCI monitoring"), after the document had been written.

The module parameter has been edac_pci_panic_on_pe (drivers/edac/edac_pci_sysfs.c) since it was introduced, and the document described it as edac_panic_on_pci_pe from the start.

Use the real names.

Fixes 91b99041c1d5 ("drivers/edac: updated PCI monitoring")
Fixes 327dafb1c61c ("edac: core fix redundant sysfs controls to parameters")
Assisted-by LLM
---
 Documentation/admin-guide/RAS/main.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Documentation/admin-guide/RAS/main.rst +6 -6
index 5a45db32c49b..c1040e5a5b35 100644
@@ -623,7 +623,7 @@ Under ``/sys/devices/system/edac/pci`` are control and attribute files as
 follows:
 
 
-- ``check_pci_parity`` - Enable/Disable PCI Parity checking control file
+- ``check_pci_errors`` - Enable/Disable PCI Parity checking control file
 
 	This control file enables or disables the PCI Bus Parity scanning
 	operation. Writing a 1 to this file enables the scanning. Writing
@@ -631,11 +631,11 @@ follows:
 
 	Enable::
 
-		echo "1" >/sys/devices/system/edac/pci/check_pci_parity
+		echo "1" >/sys/devices/system/edac/pci/check_pci_errors
 
 	Disable::
 
-		echo "0" >/sys/devices/system/edac/pci/check_pci_parity
+		echo "0" >/sys/devices/system/edac/pci/check_pci_errors
 
 
 - ``pci_parity_count`` - Parity Count
@@ -725,15 +725,15 @@ Module parameters
 
 	module/kernel parameter::
 
-			edac_panic_on_pci_pe=[0|1]
+			edac_pci_panic_on_pe=[0|1]
 
 	Enable::
 
-		echo "1" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe
+		echo "1" > /sys/module/edac_core/parameters/edac_pci_panic_on_pe
 
 	Disable::
 
-		echo "0" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe
+		echo "0" > /sys/module/edac_core/parameters/edac_pci_panic_on_pe
 
 
 
Signature · 1 line
2.53.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Karl Mehltretter

The document names the sysfs control /sys/devices/system/edac/pci/check_pci_parity and the module parameter edac_panic_on_pci_pe. Neither exists.

check_pci_parity was renamed to check_pci_errors by commit 91b99041c1d5 ("drivers/edac: updated PCI monitoring"), after the document had been written.

The module parameter has been edac_pci_panic_on_pe (drivers/edac/edac_pci_sysfs.c) since it was introduced, and the document described it as edac_panic_on_pci_pe from the start.

Quoted 6 lines

Use the real names.

Fixes 91b99041c1d5 ("drivers/edac: updated PCI monitoring")
Fixes 327dafb1c61c ("edac: core fix redundant sysfs controls to parameters")
Assisted-by LLM

Thanks.

Quoted 50 lines
---
 Documentation/admin-guide/RAS/main.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Documentation/admin-guide/RAS/main.rst +6 -6
index 5a45db32c49b..c1040e5a5b35 100644
@@ -623,7 +623,7 @@ Under ``/sys/devices/system/edac/pci`` are control and attribute files as
 follows:
 
 
-- ``check_pci_parity`` - Enable/Disable PCI Parity checking control file
+- ``check_pci_errors`` - Enable/Disable PCI Parity checking control file
 
 	This control file enables or disables the PCI Bus Parity scanning
 	operation. Writing a 1 to this file enables the scanning. Writing
@@ -631,11 +631,11 @@ follows:
 
 	Enable::
 
-		echo "1" >/sys/devices/system/edac/pci/check_pci_parity
+		echo "1" >/sys/devices/system/edac/pci/check_pci_errors
 
 	Disable::
 
-		echo "0" >/sys/devices/system/edac/pci/check_pci_parity
+		echo "0" >/sys/devices/system/edac/pci/check_pci_errors
 
 
 - ``pci_parity_count`` - Parity Count
@@ -725,15 +725,15 @@ Module parameters
 
 	module/kernel parameter::
 
-			edac_panic_on_pci_pe=[0|1]
+			edac_pci_panic_on_pe=[0|1]
 
 	Enable::
 
-		echo "1" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe
+		echo "1" > /sys/module/edac_core/parameters/edac_pci_panic_on_pe
 
 	Disable::
 
-		echo "0" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe
+		echo "0" > /sys/module/edac_core/parameters/edac_pci_panic_on_pe
 
 
 
Signature · 1 line
~Randy
maintainer Applied
#2 lore raw
In reply to Karl Mehltretter
Quoted 14 lines · Karl Mehltretter

The document names the sysfs control /sys/devices/system/edac/pci/check_pci_parity and the module parameter edac_panic_on_pci_pe. Neither exists.

check_pci_parity was renamed to check_pci_errors by commit 91b99041c1d5 ("drivers/edac: updated PCI monitoring"), after the document had been written.

The module parameter has been edac_pci_panic_on_pe (drivers/edac/edac_pci_sysfs.c) since it was introduced, and the document described it as edac_panic_on_pci_pe from the start.

Use the real names.

Quoted 7 lines
Fixes 91b99041c1d5 ("drivers/edac: updated PCI monitoring")
Fixes 327dafb1c61c ("edac: core fix redundant sysfs controls to parameters")
Assisted-by LLM
---
 Documentation/admin-guide/RAS/main.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Applied, thanks.

jon