Skip to contentSkip to conversation

PCI/PM: Add ABI document for sysfs file d3cold_allowed

RFC In review Huang Ying 3 participants 5 messages Jul 27, 2012 – Jul 31, 2012 PCI

lore
Share & tools
lore

Huang Ying

author
#0 lore raw

RFC 1/1 PCI/PM: Add ABI document for sysfs file d3cold_allowed

This patch adds ABI document for the following sysfs file:

/sys/bus/pci/devices/.../d3cold_allowed

---
 Documentation/ABI/testing/sysfs-bus-pci |   12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/ABI/testing/sysfs-bus-pci +12 -0
@@ -210,3 +210,15 @@ Users:
 		firmware assigned instance number of the PCI
 		device that can help in understanding the firmware
 		intended order of the PCI device.
+
+What:		/sys/bus/pci/devices/.../d3cold_allowed
+Date:		July 2012
+Contact:	Huang Ying <[email protected]>
+Description:
+		d3cold_allowed is bit to control whether the corresponding PCI
+		device can be put into D3Cold state.  If it is cleared, the
+		device will never be put into D3Cold state.  If it is set, the
+		device may be put into D3Cold state if other requirement are
+		satisfied too.  Reading this attribute will show the current
+		value of d3cold_allowed bit.  Writting this attribute will set
+		the value of d3cold_allowed bit.
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Huang Ying

This patch adds ABI document for the following sysfs file:

/sys/bus/pci/devices/.../d3cold_allowed

Quoted 24 lines
---
 Documentation/ABI/testing/sysfs-bus-pci |   12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/ABI/testing/sysfs-bus-pci +12 -0
@@ -210,3 +210,15 @@ Users:
 		firmware assigned instance number of the PCI
 		device that can help in understanding the firmware
 		intended order of the PCI device.
+
+What:		/sys/bus/pci/devices/.../d3cold_allowed
+Date:		July 2012
+Contact:	Huang Ying <[email protected]>
+Description:
+		d3cold_allowed is bit to control whether the corresponding PCI
+		device can be put into D3Cold state.  If it is cleared, the
+		device will never be put into D3Cold state.  If it is set, the
+		device may be put into D3Cold state if other requirement are
+		satisfied too.  Reading this attribute will show the current
+		value of d3cold_allowed bit.  Writting this attribute will set
+		the value of d3cold_allowed bit.
#2 lore raw
In reply to Huang Ying
Quoted 14 lines · Huang Ying

This patch adds ABI document for the following sysfs file:

/sys/bus/pci/devices/.../d3cold_allowed

---
  Documentation/ABI/testing/sysfs-bus-pci |   12 ++++++++++++
  1 file changed, 12 insertions(+)
Documentation/ABI/testing/sysfs-bus-pci +0 -0
@@ -210,3 +210,15 @@ Users:
  		firmware assigned instance number of the PCI
  		device that can help in understanding the firmware

Documentation/ABI/testing/sysfs-bus-pci Users: · line 221

Quoted 10 lines
Documentation/ABI/testing/sysfs-bus-pci +9 -0
  		intended order of the PCI device.
+
+What:		/sys/bus/pci/devices/.../d3cold_allowed
+Date:		July 2012
+Contact:	Huang Ying<[email protected]>
+Description:
+		d3cold_allowed is bit to control whether the corresponding PCI
+		device can be put into D3Cold state.  If it is cleared, the
+		device will never be put into D3Cold state.  If it is set, the
+		device may be put into D3Cold state if other requirement are

did you mean 'requirements' here? -------------------------------^ or is there only 1 other requirement?

Documentation/ABI/testing/sysfs-bus-pci Users: · line 223

Quoted 2 lines
Documentation/ABI/testing/sysfs-bus-pci +2 -0
+		satisfied too.  Reading this attribute will show the current
+		value of d3cold_allowed bit.  Writting this attribute will set

spell checker says 'Writing' --------------------^

Quoted 5 lines
Documentation/ABI/testing/sysfs-bus-pci +1 -1
+		the value of d3cold_allowed bit.
--

To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#3 lore raw

Hi, Don,

Thanks for your comments.

Quoted 19 lines · Don Dutile
Quoted 18 lines · Huang Ying

This patch adds ABI document for the following sysfs file:

/sys/bus/pci/devices/.../d3cold_allowed

---
  Documentation/ABI/testing/sysfs-bus-pci |   12 ++++++++++++
  1 file changed, 12 insertions(+)
Documentation/ABI/testing/sysfs-bus-pci +3 -0
@@ -210,3 +210,15 @@ Users:
  		firmware assigned instance number of the PCI
  		device that can help in understanding the firmware
  		intended order of the PCI device.
+
+What:		/sys/bus/pci/devices/.../d3cold_allowed
+Date:		July 2012
Quoted 8 lines

Documentation/ABI/testing/sysfs-bus-pci Users: · line 221

Quoted 6 lines
Documentation/ABI/testing/sysfs-bus-pci +6 -0
+Contact:	Huang Ying<[email protected]>
+Description:
+		d3cold_allowed is bit to control whether the corresponding PCI
+		device can be put into D3Cold state.  If it is cleared, the
+		device will never be put into D3Cold state.  If it is set, the
+		device may be put into D3Cold state if other requirement are

did you mean 'requirements' here? -------------------------------^ or is there only 1 other requirement?

I mean requirements here.

Quoted 4 lines

Documentation/ABI/testing/sysfs-bus-pci Users: · line 223

Quoted 3 lines
Documentation/ABI/testing/sysfs-bus-pci +2 -0
+		satisfied too.  Reading this attribute will show the current
+		value of d3cold_allowed bit.  Writting this attribute will set

spell checker says 'Writing' --------------------^

Sorry about my poor English and I should have spell checked it before sending out.

Best Regards,
Huang Ying

#4 lore raw
Quoted 36 lines · Huang Ying

Hi, Don,

Thanks for your comments.

Quoted 19 lines · Don Dutile
Quoted 18 lines · Huang Ying

This patch adds ABI document for the following sysfs file:

/sys/bus/pci/devices/.../d3cold_allowed

---
   Documentation/ABI/testing/sysfs-bus-pci |   12 ++++++++++++
   1 file changed, 12 insertions(+)
Documentation/ABI/testing/sysfs-bus-pci +3 -0
@@ -210,3 +210,15 @@ Users:
   		firmware assigned instance number of the PCI
   		device that can help in understanding the firmware
   		intended order of the PCI device.
+
+What:		/sys/bus/pci/devices/.../d3cold_allowed
+Date:		July 2012
Quoted 8 lines

Documentation/ABI/testing/sysfs-bus-pci Users: · line 221

Quoted 6 lines
Documentation/ABI/testing/sysfs-bus-pci +6 -0
+Contact:	Huang Ying<[email protected]>
+Description:
+		d3cold_allowed is bit to control whether the corresponding PCI
+		device can be put into D3Cold state.  If it is cleared, the
+		device will never be put into D3Cold state.  If it is set, the
+		device may be put into D3Cold state if other requirement are

did you mean 'requirements' here? -------------------------------^ or is there only 1 other requirement?

I mean requirements here.

Quoted 1 line
Quoted 7 lines
Quoted 3 lines

Documentation/ABI/testing/sysfs-bus-pci Users: · line 223

Quoted 2 lines
Documentation/ABI/testing/sysfs-bus-pci +2 -0
+		satisfied too.  Reading this attribute will show the current
+		value of d3cold_allowed bit.  Writting this attribute will set

spell checker says 'Writing' --------------------^

Sorry about my poor English and I should have spell checked it before sending out.

no problem! I figured since you were making the extra effort to add the documentation, we might as well make it clear. Thanks for the update.

Quoted 4 lines

Best Regards,
Huang Ying