2018-03-01 18:27:19

by Aishwarya Pant

[permalink] [raw]
Subject: [PATCH] char/bsr: add sysfs interface documentation

Descriptions have collected from code comments and by reading through
code.

Signed-off-by: Aishwarya Pant <[email protected]>
---
Documentation/ABI/testing/sysfs-class-bsr | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-class-bsr

diff --git a/Documentation/ABI/testing/sysfs-class-bsr b/Documentation/ABI/testing/sysfs-class-bsr
new file mode 100644
index 000000000000..7bf145d32cbc
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-bsr
@@ -0,0 +1,25 @@
+What: /sys/class/bsr/bsr*/bsr_size
+Date: Jul, 2008
+KernelVersion: 2.6.27
+Contact: Arnd Bergmann <[email protected]>,
+ Greg Kroah-Hartman <[email protected]>
+Description:
+ (RO) Size of the barrier-synchronization register (BSR)
+ register in bytes.
+
+What: /sys/class/bsr/bsr*/bsr_length
+Date: Jul, 2008
+KernelVersion: 2.6.27
+Contact: Arnd Bergmann <[email protected]>,
+ Greg Kroah-Hartman <[email protected]>
+Description:
+ (RO) The length of memory region that can be mapped in bytes.
+
+What: /sys/class/bsr/bsr*/bsr_stride
+Date: Jul, 2008
+KernelVersion: 2.6.27
+Contact: Arnd Bergmann <[email protected]>,
+ Greg Kroah-Hartman <[email protected]>
+Description:
+ (RO) The stride or the interval at which the allocated BSR bytes
+ repeat within the mapping.
--
2.16.2



2018-03-21 15:27:48

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] char/bsr: add sysfs interface documentation

On Thu, 1 Mar 2018 23:55:59 +0530
Aishwarya Pant <[email protected]> wrote:

> Descriptions have collected from code comments and by reading through
> code.

Applied to the docs tree, thanks.

jon