Skip to contentSkip to conversation

PCI/AER: Fix rootport attribute paths in ABI docs

PATCH Applied Johan Hovold 3 participants 6 messages Feb 2, 2024 – Feb 20, 2024 PCI

lore
Share & tools
lore
#0 lore raw

cover PCI/AER: Fix rootport attribute paths in ABI docs

Some AER attribute paths were changed in the final revision of the series adding them but the ABI documentation was never updated to match.

Included is also a related white space cleanup after a commit fixing the 'KernelVersion' field name.

Johan

Johan Hovold (2):
PCI/AER: Fix rootport attribute paths in ABI docs PCI/AER: Clean up version indentation in ABI docs

 .../testing/sysfs-bus-pci-devices-aer_stats    | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/2 PCI/AER: Fix rootport attribute paths in ABI docs

The 'aer_stats' directory never made it into the sixth and final revision of the series adding the AER attributes.

Fixes 12833017e581 ("PCI/AER: Add sysfs attributes for rootport cumulative stats")
---
 Documentation/ABI/testing/sysfs-bus-pci-devices-aer_stats | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/ABI/testing/sysfs-bus-pci-devices-aer_stats +3 -3
index 860db53037a5..24087d5fd417 100644
@@ -100,19 +100,19 @@ collectors) that are AER capable. These indicate the number of error messages as
 device, so these counters include them and are thus cumulative of all the error
 messages on the PCI hierarchy originating at that root port.
 
-What:		/sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_cor
+What:		/sys/bus/pci/devices/<dev>/aer_rootport_total_err_cor
 Date:		July 2018
 KernelVersion: 4.19.0
 Contact:	[email protected], [email protected]
 Description:	Total number of ERR_COR messages reported to rootport.
 
-What:	    /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_fatal
+What:		/sys/bus/pci/devices/<dev>/aer_rootport_total_err_fatal
 Date:		July 2018
 KernelVersion: 4.19.0
 Contact:	[email protected], [email protected]
 Description:	Total number of ERR_FATAL messages reported to rootport.
 
-What:	    /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_nonfatal
+What:		/sys/bus/pci/devices/<dev>/aer_rootport_total_err_nonfatal
 Date:		July 2018
 KernelVersion: 4.19.0
 Contact:	[email protected], [email protected]
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/2 PCI/AER: Clean up version indentation in ABI docs

In reply to Johan Hovold

The 'KernelVersion' lines use a single space as separator instead of a tab so the values are not aligned with the other AER attribute fields.

---
 .../ABI/testing/sysfs-bus-pci-devices-aer_stats      | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Documentation/ABI/testing/sysfs-bus-pci-devices-aer_stats +6 -6
index 24087d5fd417..d1f67bb81d5d 100644
@@ -11,7 +11,7 @@ saw any problems).
 
 What:		/sys/bus/pci/devices/<dev>/aer_dev_correctable
 Date:		July 2018
-KernelVersion: 4.19.0
+KernelVersion:	4.19.0
 Contact:	[email protected], [email protected]
 Description:	List of correctable errors seen and reported by this
 		PCI device using ERR_COR. Note that since multiple errors may
@@ -32,7 +32,7 @@ Description:	List of correctable errors seen and reported by this
 
 What:		/sys/bus/pci/devices/<dev>/aer_dev_fatal
 Date:		July 2018
-KernelVersion: 4.19.0
+KernelVersion:	4.19.0
 Contact:	[email protected], [email protected]
 Description:	List of uncorrectable fatal errors seen and reported by this
 		PCI device using ERR_FATAL. Note that since multiple errors may
@@ -62,7 +62,7 @@ Description:	List of uncorrectable fatal errors seen and reported by this
 
 What:		/sys/bus/pci/devices/<dev>/aer_dev_nonfatal
 Date:		July 2018
-KernelVersion: 4.19.0
+KernelVersion:	4.19.0
 Contact:	[email protected], [email protected]
 Description:	List of uncorrectable nonfatal errors seen and reported by this
 		PCI device using ERR_NONFATAL. Note that since multiple errors
@@ -102,18 +102,18 @@ messages on the PCI hierarchy originating at that root port.
 
 What:		/sys/bus/pci/devices/<dev>/aer_rootport_total_err_cor
 Date:		July 2018
-KernelVersion: 4.19.0
+KernelVersion:	4.19.0
 Contact:	[email protected], [email protected]
 Description:	Total number of ERR_COR messages reported to rootport.
 
 What:		/sys/bus/pci/devices/<dev>/aer_rootport_total_err_fatal
 Date:		July 2018
-KernelVersion: 4.19.0
+KernelVersion:	4.19.0
 Contact:	[email protected], [email protected]
 Description:	Total number of ERR_FATAL messages reported to rootport.
 
 What:		/sys/bus/pci/devices/<dev>/aer_rootport_total_err_nonfatal
 Date:		July 2018
-KernelVersion: 4.19.0
+KernelVersion:	4.19.0
 Contact:	[email protected], [email protected]
 Description:	Total number of ERR_NONFATAL messages reported to rootport.
Signature · 1 line
2.43.0
#3 lore raw
In reply to Johan Hovold
Quoted 9 lines · Johan Hovold

Some AER attribute paths were changed in the final revision of the series adding them but the ABI documentation was never updated to match.

Included is also a related white space cleanup after a commit fixing the 'KernelVersion' field name.

Johan

Quoted 6 lines

Johan Hovold (2):
PCI/AER: Fix rootport attribute paths in ABI docs PCI/AER: Clean up version indentation in ABI docs

 .../testing/sysfs-bus-pci-devices-aer_stats    | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Applied to pci/aer for v6.9, thanks!

#4 lore raw

Hi Bjorn,

Quoted 7 lines · Bjorn Helgaas
Quoted 3 lines · Johan Hovold

Johan Hovold (2):
PCI/AER: Fix rootport attribute paths in ABI docs PCI/AER: Clean up version indentation in ABI docs

Applied to pci/aer for v6.9, thanks!

I noticed that these have not shown up in linux-next yet. Did you forget to push the branch?

Johan

#5 lore raw
Quoted 5 lines · Johan Hovold

Hi Bjorn,

Quoted 1 line · Bjorn Helgaas

On Fri, Feb 02, 2024 at 02:16:33PM +0100, Johan Hovold wrote:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Johan Hovold (2):
PCI/AER: Fix rootport attribute paths in ABI docs PCI/AER: Clean up version indentation in ABI docs

Applied to pci/aer for v6.9, thanks!

I noticed that these have not shown up in linux-next yet. Did you forget to push the branch?

Indeed I did forget. Updated and pushed, thanks!

Bjorn