Skip to contentSkip to conversation

accel/qaic documentation fixes

PATCH Applied Bagas Sanjaya 3 participants 10 messages Nov 10, 2025

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

cover accel/qaic documentation fixes

Hi,

Here are two documentation (indentation) fixes for accel/qaic as reported in linux-next ([1], [2]).

Enjoy!

[1]: https://lore.kernel.org/linux-next/[email protected]/
[2]: https://lore.kernel.org/linux-next/[email protected]/

Bagas Sanjaya (2):
accel/qaic: Separate DBC_STATE_* definition list accel/qaic: Format DBC states table in sysfs ABI documentation

 Documentation/ABI/stable/sysfs-driver-qaic | 17 ++++++++++-------
 Documentation/accel/qaic/aic100.rst        |  1 +
 2 files changed, 11 insertions(+), 7 deletions(-)

base-commit: a2b0c33e9423cd06133304e2f81c713849059b10

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#1 lore raw

PATCH 1/2 accel/qaic: Separate DBC_STATE_* definition list

Stephen Rothwell reports htmldocs warnings when merging drm-misc tree:

Documentation/accel/qaic/aic100.rst:502: ERROR: Unexpected indentation. [docutils] Documentation/accel/qaic/aic100.rst:504: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]

Fix these by separating DBC_STATE_* definition list from preceding paragraph.

Fixes 9675093acea04c ("accel/qaic: Implement basic SSR handling")
---
 Documentation/accel/qaic/aic100.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/accel/qaic/aic100.rst +1 -0
index 3b287c3987d269..41331cf580b118 100644
@@ -498,6 +498,7 @@ it desires to recover the workload.
 
 When SSR occurs for a specific NSP, the assigned DBC goes through the
 following state transactions in order:
+
 DBC_STATE_BEFORE_SHUTDOWN
 	Indicates that the affected NSP was found in an unrecoverable error
 	condition.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
#4 lore raw

PATCH 2/2 accel/qaic: Format DBC states table in sysfs ABI documentation

In reply to Bagas Sanjaya

Stephen Rothwell reports htmldocs warnings when merging drm-misc tree:

Documentation/ABI/stable/sysfs-driver-qaic:1: ERROR: Unexpected indentation. [docutils] Documentation/ABI/stable/sysfs-driver-qaic:1: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils] Documentation/ABI/stable/sysfs-driver-qaic:1: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]

These are caused by DMA Bridge channel (DBC) states list in sysfs ABI docs. Format it as a table to fix them.

Fixes f286066ed9df38 ("accel/qaic: Add DMA Bridge Channel(DBC) sysfs and uevents")
---
 Documentation/ABI/stable/sysfs-driver-qaic | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
Documentation/ABI/stable/sysfs-driver-qaic +10 -7
index e5876935e62b34..c767a93342b3c9 100644
@@ -3,14 +3,17 @@ Date:		October 2025
 KernelVersion:	6.19
 Contact:	Jeff Hugo <[email protected]>
 Description:	Represents the current state of DMA Bridge channel (DBC). Below are the possible
-		states,
-		IDLE (0) -		DBC is free and can be activated
-		ASSIGNED (1) -		DBC is activated and a workload is running on device
-		BEFORE_SHUTDOWN (2) -	Sub-system associated with this workload has crashed and
+		states:
+
+		===================	==========================================================
+		IDLE (0)		DBC is free and can be activated
+		ASSIGNED (1)		DBC is activated and a workload is running on device
+		BEFORE_SHUTDOWN (2)	Sub-system associated with this workload has crashed and
 					it will shutdown soon
-		AFTER_SHUTDOWN (3) -	Sub-system associated with this workload has crashed and
+		AFTER_SHUTDOWN (3)	Sub-system associated with this workload has crashed and
 					it has shutdown
-		BEFORE_POWER_UP (4) -	Sub-system associated with this workload is shutdown and
+		BEFORE_POWER_UP (4)	Sub-system associated with this workload is shutdown and
 					it will be powered up soon
-		AFTER_POWER_UP (5) -	Sub-system associated with this workload is now powered up
+		AFTER_POWER_UP (5)	Sub-system associated with this workload is now powered up
+		===================	==========================================================
 Users:		Any userspace application or clients interested in DBC state.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
reviewer Reviewed-by Tested-by on v1 2/2
#5 lore raw

Re: [PATCH 2/2] accel/qaic: Format DBC states table in sysfs ABI documentation

Quoted 6 lines · Bagas Sanjaya

Stephen Rothwell reports htmldocs warnings when merging drm-misc tree:

Documentation/ABI/stable/sysfs-driver-qaic:1: ERROR: Unexpected indentation. [docutils] Documentation/ABI/stable/sysfs-driver-qaic:1: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils] Documentation/ABI/stable/sysfs-driver-qaic:1: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]

Quoted 7 lines

These are caused by DMA Bridge channel (DBC) states list in sysfs ABI docs. Format it as a table to fix them.

Fixes f286066ed9df38 ("accel/qaic: Add DMA Bridge Channel(DBC) sysfs and uevents")
Quoted 33 lines
---
 Documentation/ABI/stable/sysfs-driver-qaic | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
Documentation/ABI/stable/sysfs-driver-qaic +10 -7
index e5876935e62b34..c767a93342b3c9 100644
@@ -3,14 +3,17 @@ Date:		October 2025
 KernelVersion:	6.19
 Contact:	Jeff Hugo <[email protected]>
 Description:	Represents the current state of DMA Bridge channel (DBC). Below are the possible
-		states,
-		IDLE (0) -		DBC is free and can be activated
-		ASSIGNED (1) -		DBC is activated and a workload is running on device
-		BEFORE_SHUTDOWN (2) -	Sub-system associated with this workload has crashed and
+		states:
+
+		===================	==========================================================
+		IDLE (0)		DBC is free and can be activated
+		ASSIGNED (1)		DBC is activated and a workload is running on device
+		BEFORE_SHUTDOWN (2)	Sub-system associated with this workload has crashed and
 					it will shutdown soon
-		AFTER_SHUTDOWN (3) -	Sub-system associated with this workload has crashed and
+		AFTER_SHUTDOWN (3)	Sub-system associated with this workload has crashed and
 					it has shutdown
-		BEFORE_POWER_UP (4) -	Sub-system associated with this workload is shutdown and
+		BEFORE_POWER_UP (4)	Sub-system associated with this workload is shutdown and
 					it will be powered up soon
-		AFTER_POWER_UP (5) -	Sub-system associated with this workload is now powered up
+		AFTER_POWER_UP (5)	Sub-system associated with this workload is now powered up
+		===================	==========================================================
 Users:		Any userspace application or clients interested in DBC state.
Signature · 1 line
~Randy
reviewer Reviewed-by Tested-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] accel/qaic: Separate DBC_STATE_* definition list

In reply to Bagas Sanjaya
Quoted 5 lines · Bagas Sanjaya

Stephen Rothwell reports htmldocs warnings when merging drm-misc tree:

Documentation/accel/qaic/aic100.rst:502: ERROR: Unexpected indentation. [docutils] Documentation/accel/qaic/aic100.rst:504: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]

Quoted 7 lines

Fix these by separating DBC_STATE_* definition list from preceding paragraph.

Fixes 9675093acea04c ("accel/qaic: Implement basic SSR handling")
Quoted 16 lines
---
 Documentation/accel/qaic/aic100.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/accel/qaic/aic100.rst +1 -0
index 3b287c3987d269..41331cf580b118 100644
@@ -498,6 +498,7 @@ it desires to recover the workload.
 
 When SSR occurs for a specific NSP, the assigned DBC goes through the
 following state transactions in order:
+
 DBC_STATE_BEFORE_SHUTDOWN
 	Indicates that the affected NSP was found in an unrecoverable error
 	condition.
Signature · 1 line
~Randy
maintainer Reviewed-by on v1 1/2
#3 lore raw

Re: [PATCH 1/2] accel/qaic: Separate DBC_STATE_* definition list

In reply to Bagas Sanjaya
Quoted 5 lines · Bagas Sanjaya

Stephen Rothwell reports htmldocs warnings when merging drm-misc tree:

Documentation/accel/qaic/aic100.rst:502: ERROR: Unexpected indentation. [docutils] Documentation/accel/qaic/aic100.rst:504: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]

Quoted 7 lines

Fix these by separating DBC_STATE_* definition list from preceding paragraph.

Fixes 9675093acea04c ("accel/qaic: Implement basic SSR handling")
maintainer Reviewed-by on v1 2/2
#6 lore raw

Re: [PATCH 2/2] accel/qaic: Format DBC states table in sysfs ABI documentation

In reply to Bagas Sanjaya
Quoted 6 lines · Bagas Sanjaya

Stephen Rothwell reports htmldocs warnings when merging drm-misc tree:

Documentation/ABI/stable/sysfs-driver-qaic:1: ERROR: Unexpected indentation. [docutils] Documentation/ABI/stable/sysfs-driver-qaic:1: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils] Documentation/ABI/stable/sysfs-driver-qaic:1: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]

Quoted 7 lines

These are caused by DMA Bridge channel (DBC) states list in sysfs ABI docs. Format it as a table to fix them.

Fixes f286066ed9df38 ("accel/qaic: Add DMA Bridge Channel(DBC) sysfs and uevents")
maintainer
#7 lore raw
In reply to Bagas Sanjaya
Quoted 14 lines · Bagas Sanjaya

Hi,

Here are two documentation (indentation) fixes for accel/qaic as reported in linux-next ([1], [2]).

Enjoy!

[1]: https://lore.kernel.org/linux-next/[email protected]/
[2]: https://lore.kernel.org/linux-next/[email protected]/

Bagas Sanjaya (2):
accel/qaic: Separate DBC_STATE_* definition list accel/qaic: Format DBC states table in sysfs ABI documentation

Quoted 6 lines
  Documentation/ABI/stable/sysfs-driver-qaic | 17 ++++++++++-------
  Documentation/accel/qaic/aic100.rst        |  1 +
  2 files changed, 11 insertions(+), 7 deletions(-)

base-commit: a2b0c33e9423cd06133304e2f81c713849059b10

Thank you for the fixes. Yet again I am impressed by having your fixes in my inbox before I even see the reports.

I'll get these merged to drm-misc-next where the offending issues currently reside. I anticipate getting that done later today.

-Jeff

maintainer Applied
#9 lore raw
In reply to Bagas Sanjaya
Quoted 14 lines · Bagas Sanjaya

Hi,

Here are two documentation (indentation) fixes for accel/qaic as reported in linux-next ([1], [2]).

Enjoy!

[1]: https://lore.kernel.org/linux-next/[email protected]/
[2]: https://lore.kernel.org/linux-next/[email protected]/

Bagas Sanjaya (2):
accel/qaic: Separate DBC_STATE_* definition list accel/qaic: Format DBC states table in sysfs ABI documentation

Quoted 6 lines
  Documentation/ABI/stable/sysfs-driver-qaic | 17 ++++++++++-------
  Documentation/accel/qaic/aic100.rst        |  1 +
  2 files changed, 11 insertions(+), 7 deletions(-)

base-commit: a2b0c33e9423cd06133304e2f81c713849059b10

Pushed to drm-misc-next.

-Jeff

#8 lore raw
In reply to Jeff Hugo
Quoted 5 lines · Jeff Hugo

Thank you for the fixes. Yet again I am impressed by having your fixes in my inbox before I even see the reports.

I'll get these merged to drm-misc-next where the offending issues currently reside. I anticipate getting that done later today.

Thank you for the compliment!

Signature · 1 line
An old man doll... just what I always wanted! - Clara