diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:09:18 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:09:18 -0400 |
commit | 68fe0f0a6dcd2ac1ace5da3647a6d1cf0f4d2fea (patch) | |
tree | 69d855c2e46d42ef8f23680cf3a1e6ff38de9ef4 /Documentation/ABI | |
parent | 88fd449e734a4264347e12b8ff74ccb33a9b9a35 (diff) | |
parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) |
Merge tag 'v3.7-rc3' into for-linus to sync up with recent USB changes
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/obsolete/proc-pid-oom_adj | 22 | ||||
-rw-r--r-- | Documentation/ABI/testing/ima_policy | 25 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-block | 14 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-fcoe | 12 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-rbd | 18 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-usb | 7 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-extcon | 22 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-regulator | 21 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-devices-firmware_node | 17 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-devices-system-cpu | 11 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-ppi | 70 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-wacom | 13 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-fs-ext4 | 13 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-ptp | 6 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-tty | 9 |
15 files changed, 230 insertions, 50 deletions
diff --git a/Documentation/ABI/obsolete/proc-pid-oom_adj b/Documentation/ABI/obsolete/proc-pid-oom_adj deleted file mode 100644 index 9a3cb88ade47..000000000000 --- a/Documentation/ABI/obsolete/proc-pid-oom_adj +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | What: /proc/<pid>/oom_adj | ||
2 | When: August 2012 | ||
3 | Why: /proc/<pid>/oom_adj allows userspace to influence the oom killer's | ||
4 | badness heuristic used to determine which task to kill when the kernel | ||
5 | is out of memory. | ||
6 | |||
7 | The badness heuristic has since been rewritten since the introduction of | ||
8 | this tunable such that its meaning is deprecated. The value was | ||
9 | implemented as a bitshift on a score generated by the badness() | ||
10 | function that did not have any precise units of measure. With the | ||
11 | rewrite, the score is given as a proportion of available memory to the | ||
12 | task allocating pages, so using a bitshift which grows the score | ||
13 | exponentially is, thus, impossible to tune with fine granularity. | ||
14 | |||
15 | A much more powerful interface, /proc/<pid>/oom_score_adj, was | ||
16 | introduced with the oom killer rewrite that allows users to increase or | ||
17 | decrease the badness score linearly. This interface will replace | ||
18 | /proc/<pid>/oom_adj. | ||
19 | |||
20 | A warning will be emitted to the kernel log if an application uses this | ||
21 | deprecated interface. After it is printed once, future warnings will be | ||
22 | suppressed until the kernel is rebooted. | ||
diff --git a/Documentation/ABI/testing/ima_policy b/Documentation/ABI/testing/ima_policy index 6cd6daefaaed..986946613542 100644 --- a/Documentation/ABI/testing/ima_policy +++ b/Documentation/ABI/testing/ima_policy | |||
@@ -12,11 +12,14 @@ Description: | |||
12 | then closing the file. The new policy takes effect after | 12 | then closing the file. The new policy takes effect after |
13 | the file ima/policy is closed. | 13 | the file ima/policy is closed. |
14 | 14 | ||
15 | IMA appraisal, if configured, uses these file measurements | ||
16 | for local measurement appraisal. | ||
17 | |||
15 | rule format: action [condition ...] | 18 | rule format: action [condition ...] |
16 | 19 | ||
17 | action: measure | dont_measure | 20 | action: measure | dont_measure | appraise | dont_appraise | audit |
18 | condition:= base | lsm | 21 | condition:= base | lsm |
19 | base: [[func=] [mask=] [fsmagic=] [uid=]] | 22 | base: [[func=] [mask=] [fsmagic=] [uid=] [fowner]] |
20 | lsm: [[subj_user=] [subj_role=] [subj_type=] | 23 | lsm: [[subj_user=] [subj_role=] [subj_type=] |
21 | [obj_user=] [obj_role=] [obj_type=]] | 24 | [obj_user=] [obj_role=] [obj_type=]] |
22 | 25 | ||
@@ -24,36 +27,50 @@ Description: | |||
24 | mask:= [MAY_READ] [MAY_WRITE] [MAY_APPEND] [MAY_EXEC] | 27 | mask:= [MAY_READ] [MAY_WRITE] [MAY_APPEND] [MAY_EXEC] |
25 | fsmagic:= hex value | 28 | fsmagic:= hex value |
26 | uid:= decimal value | 29 | uid:= decimal value |
30 | fowner:=decimal value | ||
27 | lsm: are LSM specific | 31 | lsm: are LSM specific |
28 | 32 | ||
29 | default policy: | 33 | default policy: |
30 | # PROC_SUPER_MAGIC | 34 | # PROC_SUPER_MAGIC |
31 | dont_measure fsmagic=0x9fa0 | 35 | dont_measure fsmagic=0x9fa0 |
36 | dont_appraise fsmagic=0x9fa0 | ||
32 | # SYSFS_MAGIC | 37 | # SYSFS_MAGIC |
33 | dont_measure fsmagic=0x62656572 | 38 | dont_measure fsmagic=0x62656572 |
39 | dont_appraise fsmagic=0x62656572 | ||
34 | # DEBUGFS_MAGIC | 40 | # DEBUGFS_MAGIC |
35 | dont_measure fsmagic=0x64626720 | 41 | dont_measure fsmagic=0x64626720 |
42 | dont_appraise fsmagic=0x64626720 | ||
36 | # TMPFS_MAGIC | 43 | # TMPFS_MAGIC |
37 | dont_measure fsmagic=0x01021994 | 44 | dont_measure fsmagic=0x01021994 |
45 | dont_appraise fsmagic=0x01021994 | ||
46 | # RAMFS_MAGIC | ||
47 | dont_measure fsmagic=0x858458f6 | ||
48 | dont_appraise fsmagic=0x858458f6 | ||
38 | # SECURITYFS_MAGIC | 49 | # SECURITYFS_MAGIC |
39 | dont_measure fsmagic=0x73636673 | 50 | dont_measure fsmagic=0x73636673 |
51 | dont_appraise fsmagic=0x73636673 | ||
40 | 52 | ||
41 | measure func=BPRM_CHECK | 53 | measure func=BPRM_CHECK |
42 | measure func=FILE_MMAP mask=MAY_EXEC | 54 | measure func=FILE_MMAP mask=MAY_EXEC |
43 | measure func=FILE_CHECK mask=MAY_READ uid=0 | 55 | measure func=FILE_CHECK mask=MAY_READ uid=0 |
56 | appraise fowner=0 | ||
44 | 57 | ||
45 | The default policy measures all executables in bprm_check, | 58 | The default policy measures all executables in bprm_check, |
46 | all files mmapped executable in file_mmap, and all files | 59 | all files mmapped executable in file_mmap, and all files |
47 | open for read by root in do_filp_open. | 60 | open for read by root in do_filp_open. The default appraisal |
61 | policy appraises all files owned by root. | ||
48 | 62 | ||
49 | Examples of LSM specific definitions: | 63 | Examples of LSM specific definitions: |
50 | 64 | ||
51 | SELinux: | 65 | SELinux: |
52 | # SELINUX_MAGIC | 66 | # SELINUX_MAGIC |
53 | dont_measure fsmagic=0xF97CFF8C | 67 | dont_measure fsmagic=0xf97cff8c |
68 | dont_appraise fsmagic=0xf97cff8c | ||
54 | 69 | ||
55 | dont_measure obj_type=var_log_t | 70 | dont_measure obj_type=var_log_t |
71 | dont_appraise obj_type=var_log_t | ||
56 | dont_measure obj_type=auditd_log_t | 72 | dont_measure obj_type=auditd_log_t |
73 | dont_appraise obj_type=auditd_log_t | ||
57 | measure subj_user=system_u func=FILE_CHECK mask=MAY_READ | 74 | measure subj_user=system_u func=FILE_CHECK mask=MAY_READ |
58 | measure subj_role=system_r func=FILE_CHECK mask=MAY_READ | 75 | measure subj_role=system_r func=FILE_CHECK mask=MAY_READ |
59 | 76 | ||
diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs-block index c1eb41cb9876..279da08f7541 100644 --- a/Documentation/ABI/testing/sysfs-block +++ b/Documentation/ABI/testing/sysfs-block | |||
@@ -206,3 +206,17 @@ Description: | |||
206 | when a discarded area is read the discard_zeroes_data | 206 | when a discarded area is read the discard_zeroes_data |
207 | parameter will be set to one. Otherwise it will be 0 and | 207 | parameter will be set to one. Otherwise it will be 0 and |
208 | the result of reading a discarded area is undefined. | 208 | the result of reading a discarded area is undefined. |
209 | |||
210 | What: /sys/block/<disk>/queue/write_same_max_bytes | ||
211 | Date: January 2012 | ||
212 | Contact: Martin K. Petersen <martin.petersen@oracle.com> | ||
213 | Description: | ||
214 | Some devices support a write same operation in which a | ||
215 | single data block can be written to a range of several | ||
216 | contiguous blocks on storage. This can be used to wipe | ||
217 | areas on disk or to initialize drives in a RAID | ||
218 | configuration. write_same_max_bytes indicates how many | ||
219 | bytes can be written in a single write same command. If | ||
220 | write_same_max_bytes is 0, write same is not supported | ||
221 | by the device. | ||
222 | |||
diff --git a/Documentation/ABI/testing/sysfs-bus-fcoe b/Documentation/ABI/testing/sysfs-bus-fcoe index 469d09c02f6b..50e2a80ea28f 100644 --- a/Documentation/ABI/testing/sysfs-bus-fcoe +++ b/Documentation/ABI/testing/sysfs-bus-fcoe | |||
@@ -9,19 +9,19 @@ Attributes: | |||
9 | this value will change the dev_loss_tmo for all | 9 | this value will change the dev_loss_tmo for all |
10 | FCFs discovered by this controller. | 10 | FCFs discovered by this controller. |
11 | 11 | ||
12 | lesb_link_fail: Link Error Status Block (LESB) link failure count. | 12 | lesb/link_fail: Link Error Status Block (LESB) link failure count. |
13 | 13 | ||
14 | lesb_vlink_fail: Link Error Status Block (LESB) virtual link | 14 | lesb/vlink_fail: Link Error Status Block (LESB) virtual link |
15 | failure count. | 15 | failure count. |
16 | 16 | ||
17 | lesb_miss_fka: Link Error Status Block (LESB) missed FCoE | 17 | lesb/miss_fka: Link Error Status Block (LESB) missed FCoE |
18 | Initialization Protocol (FIP) Keep-Alives (FKA). | 18 | Initialization Protocol (FIP) Keep-Alives (FKA). |
19 | 19 | ||
20 | lesb_symb_err: Link Error Status Block (LESB) symbolic error count. | 20 | lesb/symb_err: Link Error Status Block (LESB) symbolic error count. |
21 | 21 | ||
22 | lesb_err_block: Link Error Status Block (LESB) block error count. | 22 | lesb/err_block: Link Error Status Block (LESB) block error count. |
23 | 23 | ||
24 | lesb_fcs_error: Link Error Status Block (LESB) Fibre Channel | 24 | lesb/fcs_error: Link Error Status Block (LESB) Fibre Channel |
25 | Serivces error count. | 25 | Serivces error count. |
26 | 26 | ||
27 | Notes: ctlr_X (global increment starting at 0) | 27 | Notes: ctlr_X (global increment starting at 0) |
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd index 3c17b62899f6..1cf2adf46b11 100644 --- a/Documentation/ABI/testing/sysfs-bus-rbd +++ b/Documentation/ABI/testing/sysfs-bus-rbd | |||
@@ -25,6 +25,10 @@ client_id | |||
25 | 25 | ||
26 | The ceph unique client id that was assigned for this specific session. | 26 | The ceph unique client id that was assigned for this specific session. |
27 | 27 | ||
28 | features | ||
29 | |||
30 | A hexadecimal encoding of the feature bits for this image. | ||
31 | |||
28 | major | 32 | major |
29 | 33 | ||
30 | The block device major number. | 34 | The block device major number. |
@@ -33,6 +37,11 @@ name | |||
33 | 37 | ||
34 | The name of the rbd image. | 38 | The name of the rbd image. |
35 | 39 | ||
40 | image_id | ||
41 | |||
42 | The unique id for the rbd image. (For rbd image format 1 | ||
43 | this is empty.) | ||
44 | |||
36 | pool | 45 | pool |
37 | 46 | ||
38 | The name of the storage pool where this rbd image resides. | 47 | The name of the storage pool where this rbd image resides. |
@@ -57,12 +66,6 @@ current_snap | |||
57 | 66 | ||
58 | The current snapshot for which the device is mapped. | 67 | The current snapshot for which the device is mapped. |
59 | 68 | ||
60 | create_snap | ||
61 | |||
62 | Create a snapshot: | ||
63 | |||
64 | $ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_create | ||
65 | |||
66 | snap_* | 69 | snap_* |
67 | 70 | ||
68 | A directory per each snapshot | 71 | A directory per each snapshot |
@@ -79,4 +82,7 @@ snap_size | |||
79 | 82 | ||
80 | The size of the image when this snapshot was taken. | 83 | The size of the image when this snapshot was taken. |
81 | 84 | ||
85 | snap_features | ||
86 | |||
87 | A hexadecimal encoding of the feature bits for this snapshot. | ||
82 | 88 | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb index 5f75f8f7df34..b6fbe514a869 100644 --- a/Documentation/ABI/testing/sysfs-bus-usb +++ b/Documentation/ABI/testing/sysfs-bus-usb | |||
@@ -220,3 +220,10 @@ Description: | |||
220 | If the device doesn't support LTM, the file will read "no". | 220 | If the device doesn't support LTM, the file will read "no". |
221 | The file will be present for all speeds of USB devices, and will | 221 | The file will be present for all speeds of USB devices, and will |
222 | always read "no" for USB 1.1 and USB 2.0 devices. | 222 | always read "no" for USB 1.1 and USB 2.0 devices. |
223 | |||
224 | What: /sys/bus/usb/devices/.../(hub interface)/portX | ||
225 | Date: August 2012 | ||
226 | Contact: Lan Tianyu <tianyu.lan@intel.com> | ||
227 | Description: | ||
228 | The /sys/bus/usb/devices/.../(hub interface)/portX | ||
229 | is usb port device's sysfs directory. | ||
diff --git a/Documentation/ABI/testing/sysfs-class-extcon b/Documentation/ABI/testing/sysfs-class-extcon index 20ab361bd8c6..57a726232912 100644 --- a/Documentation/ABI/testing/sysfs-class-extcon +++ b/Documentation/ABI/testing/sysfs-class-extcon | |||
@@ -13,7 +13,7 @@ Description: | |||
13 | accessory cables have such capability. For example, | 13 | accessory cables have such capability. For example, |
14 | the 30-pin port of Nuri board (/arch/arm/mach-exynos) | 14 | the 30-pin port of Nuri board (/arch/arm/mach-exynos) |
15 | may have both HDMI and Charger attached, or analog audio, | 15 | may have both HDMI and Charger attached, or analog audio, |
16 | video, and USB cables attached simulteneously. | 16 | video, and USB cables attached simultaneously. |
17 | 17 | ||
18 | If there are cables mutually exclusive with each other, | 18 | If there are cables mutually exclusive with each other, |
19 | such binary relations may be expressed with extcon_dev's | 19 | such binary relations may be expressed with extcon_dev's |
@@ -35,7 +35,7 @@ Description: | |||
35 | The /sys/class/extcon/.../state shows and stores the cable | 35 | The /sys/class/extcon/.../state shows and stores the cable |
36 | attach/detach information of the corresponding extcon object. | 36 | attach/detach information of the corresponding extcon object. |
37 | If the extcon object has an optional callback "show_state" | 37 | If the extcon object has an optional callback "show_state" |
38 | defined, the showing function is overriden with the optional | 38 | defined, the showing function is overridden with the optional |
39 | callback. | 39 | callback. |
40 | 40 | ||
41 | If the default callback for showing function is used, the | 41 | If the default callback for showing function is used, the |
@@ -46,19 +46,19 @@ Description: | |||
46 | TA=1 | 46 | TA=1 |
47 | EAR_JACK=0 | 47 | EAR_JACK=0 |
48 | # | 48 | # |
49 | In this example, the extcon device have USB_OTG and TA | 49 | In this example, the extcon device has USB_OTG and TA |
50 | cables attached and HDMI and EAR_JACK cables detached. | 50 | cables attached and HDMI and EAR_JACK cables detached. |
51 | 51 | ||
52 | In order to update the state of an extcon device, enter a hex | 52 | In order to update the state of an extcon device, enter a hex |
53 | state number starting with 0x. | 53 | state number starting with 0x: |
54 | echo 0xHEX > state | 54 | # echo 0xHEX > state |
55 | 55 | ||
56 | This updates the whole state of the extcon dev. | 56 | This updates the whole state of the extcon device. |
57 | Inputs of all the methods are required to meet the | 57 | Inputs of all the methods are required to meet the |
58 | mutually_exclusive contidions if they exist. | 58 | mutually_exclusive conditions if they exist. |
59 | 59 | ||
60 | It is recommended to use this "global" state interface if | 60 | It is recommended to use this "global" state interface if |
61 | you need to enter the value atomically. The later state | 61 | you need to set the value atomically. The later state |
62 | interface associated with each cable cannot update | 62 | interface associated with each cable cannot update |
63 | multiple cable states of an extcon device simultaneously. | 63 | multiple cable states of an extcon device simultaneously. |
64 | 64 | ||
@@ -73,7 +73,7 @@ What: /sys/class/extcon/.../cable.x/state | |||
73 | Date: February 2012 | 73 | Date: February 2012 |
74 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> | 74 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> |
75 | Description: | 75 | Description: |
76 | The /sys/class/extcon/.../cable.x/name shows and stores the | 76 | The /sys/class/extcon/.../cable.x/state shows and stores the |
77 | state of cable "x" (integer between 0 and 31) of an extcon | 77 | state of cable "x" (integer between 0 and 31) of an extcon |
78 | device. The state value is either 0 (detached) or 1 | 78 | device. The state value is either 0 (detached) or 1 |
79 | (attached). | 79 | (attached). |
@@ -83,8 +83,8 @@ Date: December 2011 | |||
83 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> | 83 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> |
84 | Description: | 84 | Description: |
85 | Shows the relations of mutually exclusiveness. For example, | 85 | Shows the relations of mutually exclusiveness. For example, |
86 | if the mutually_exclusive array of extcon_dev is | 86 | if the mutually_exclusive array of extcon device is |
87 | {0x3, 0x5, 0xC, 0x0}, the, the output is: | 87 | {0x3, 0x5, 0xC, 0x0}, then the output is: |
88 | # ls mutually_exclusive/ | 88 | # ls mutually_exclusive/ |
89 | 0x3 | 89 | 0x3 |
90 | 0x5 | 90 | 0x5 |
diff --git a/Documentation/ABI/testing/sysfs-class-regulator b/Documentation/ABI/testing/sysfs-class-regulator index e091fa873792..bc578bc60628 100644 --- a/Documentation/ABI/testing/sysfs-class-regulator +++ b/Documentation/ABI/testing/sysfs-class-regulator | |||
@@ -349,3 +349,24 @@ Description: | |||
349 | 349 | ||
350 | This will be one of the same strings reported by | 350 | This will be one of the same strings reported by |
351 | the "state" attribute. | 351 | the "state" attribute. |
352 | |||
353 | What: /sys/class/regulator/.../bypass | ||
354 | Date: September 2012 | ||
355 | KernelVersion: 3.7 | ||
356 | Contact: Mark Brown <broonie@opensource.wolfsonmicro.com> | ||
357 | Description: | ||
358 | Some regulator directories will contain a field called | ||
359 | bypass. This indicates if the device is in bypass mode. | ||
360 | |||
361 | This will be one of the following strings: | ||
362 | |||
363 | 'enabled' | ||
364 | 'disabled' | ||
365 | 'unknown' | ||
366 | |||
367 | 'enabled' means the regulator is in bypass mode. | ||
368 | |||
369 | 'disabled' means that the regulator is regulating. | ||
370 | |||
371 | 'unknown' means software cannot determine the state, or | ||
372 | the reported state is invalid. | ||
diff --git a/Documentation/ABI/testing/sysfs-devices-firmware_node b/Documentation/ABI/testing/sysfs-devices-firmware_node new file mode 100644 index 000000000000..46badc9ea284 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-devices-firmware_node | |||
@@ -0,0 +1,17 @@ | |||
1 | What: /sys/devices/.../firmware_node/ | ||
2 | Date: September 2012 | ||
3 | Contact: <> | ||
4 | Description: | ||
5 | The /sys/devices/.../firmware_node directory contains attributes | ||
6 | allowing the user space to check and modify some firmware | ||
7 | related properties of given device. | ||
8 | |||
9 | What: /sys/devices/.../firmware_node/description | ||
10 | Date: September 2012 | ||
11 | Contact: Lance Ortiz <lance.ortiz@hp.com> | ||
12 | Description: | ||
13 | The /sys/devices/.../firmware/description attribute contains a string | ||
14 | that describes the device as provided by the _STR method in the ACPI | ||
15 | namespace. This attribute is read-only. If the device does not have | ||
16 | an _STR method associated with it in the ACPI namespace, this | ||
17 | attribute is not present. | ||
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index 5dab36448b44..6943133afcb8 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu | |||
@@ -176,3 +176,14 @@ Description: Disable L3 cache indices | |||
176 | All AMD processors with L3 caches provide this functionality. | 176 | All AMD processors with L3 caches provide this functionality. |
177 | For details, see BKDGs at | 177 | For details, see BKDGs at |
178 | http://developer.amd.com/documentation/guides/Pages/default.aspx | 178 | http://developer.amd.com/documentation/guides/Pages/default.aspx |
179 | |||
180 | |||
181 | What: /sys/devices/system/cpu/cpufreq/boost | ||
182 | Date: August 2012 | ||
183 | Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> | ||
184 | Description: Processor frequency boosting control | ||
185 | |||
186 | This switch controls the boost setting for the whole system. | ||
187 | Boosting allows the CPU and the firmware to run at a frequency | ||
188 | beyound it's nominal limit. | ||
189 | More details can be found in Documentation/cpu-freq/boost.txt | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-ppi b/Documentation/ABI/testing/sysfs-driver-ppi new file mode 100644 index 000000000000..97a003ee058b --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-ppi | |||
@@ -0,0 +1,70 @@ | |||
1 | What: /sys/devices/pnp0/<bus-num>/ppi/ | ||
2 | Date: August 2012 | ||
3 | Kernel Version: 3.6 | ||
4 | Contact: xiaoyan.zhang@intel.com | ||
5 | Description: | ||
6 | This folder includes the attributes related with PPI (Physical | ||
7 | Presence Interface). Only if TPM is supported by BIOS, this | ||
8 | folder makes sence. The folder path can be got by command | ||
9 | 'find /sys/ -name 'pcrs''. For the detail information of PPI, | ||
10 | please refer to the PPI specification from | ||
11 | http://www.trustedcomputinggroup.org/ | ||
12 | |||
13 | What: /sys/devices/pnp0/<bus-num>/ppi/version | ||
14 | Date: August 2012 | ||
15 | Contact: xiaoyan.zhang@intel.com | ||
16 | Description: | ||
17 | This attribute shows the version of the PPI supported by the | ||
18 | platform. | ||
19 | This file is readonly. | ||
20 | |||
21 | What: /sys/devices/pnp0/<bus-num>/ppi/request | ||
22 | Date: August 2012 | ||
23 | Contact: xiaoyan.zhang@intel.com | ||
24 | Description: | ||
25 | This attribute shows the request for an operation to be | ||
26 | executed in the pre-OS environment. It is the only input from | ||
27 | the OS to the pre-OS environment. The request should be an | ||
28 | integer value range from 1 to 160, and 0 means no request. | ||
29 | This file can be read and written. | ||
30 | |||
31 | What: /sys/devices/pnp0/00:<bus-num>/ppi/response | ||
32 | Date: August 2012 | ||
33 | Contact: xiaoyan.zhang@intel.com | ||
34 | Description: | ||
35 | This attribute shows the response to the most recent operation | ||
36 | request it acted upon. The format is "<request> <response num> | ||
37 | : <response description>". | ||
38 | This file is readonly. | ||
39 | |||
40 | What: /sys/devices/pnp0/<bus-num>/ppi/transition_action | ||
41 | Date: August 2012 | ||
42 | Contact: xiaoyan.zhang@intel.com | ||
43 | Description: | ||
44 | This attribute shows the platform-specific action that should | ||
45 | take place in order to transition to the BIOS for execution of | ||
46 | a requested operation. The format is "<action num>: <action | ||
47 | description>". | ||
48 | This file is readonly. | ||
49 | |||
50 | What: /sys/devices/pnp0/<bus-num>/ppi/tcg_operations | ||
51 | Date: August 2012 | ||
52 | Contact: xiaoyan.zhang@intel.com | ||
53 | Description: | ||
54 | This attribute shows whether it is allowed to request an | ||
55 | operation to be executed in the pre-OS environment by the BIOS | ||
56 | for the requests defined by TCG, i.e. requests from 1 to 22. | ||
57 | The format is "<request> <status num>: <status description>". | ||
58 | This attribute is only supported by PPI version 1.2+. | ||
59 | This file is readonly. | ||
60 | |||
61 | What: /sys/devices/pnp0/<bus-num>/ppi/vs_operations | ||
62 | Date: August 2012 | ||
63 | Contact: xiaoyan.zhang@intel.com | ||
64 | Description: | ||
65 | This attribute shows whether it is allowed to request an | ||
66 | operation to be executed in the pre-OS environment by the BIOS | ||
67 | for the verdor specific requests, i.e. requests from 128 to | ||
68 | 255. The format is same with tcg_operations. This attribute | ||
69 | is also only supported by PPI version 1.2+. | ||
70 | This file is readonly. | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-wacom b/Documentation/ABI/testing/sysfs-driver-wacom index 8d55a83d6921..7fc781048b79 100644 --- a/Documentation/ABI/testing/sysfs-driver-wacom +++ b/Documentation/ABI/testing/sysfs-driver-wacom | |||
@@ -1,3 +1,16 @@ | |||
1 | WWhat: /sys/class/hidraw/hidraw*/device/oled*_img | ||
2 | Date: June 2012 | ||
3 | Contact: linux-bluetooth@vger.kernel.org | ||
4 | Description: | ||
5 | The /sys/class/hidraw/hidraw*/device/oled*_img files control | ||
6 | OLED mocro displays on Intuos4 Wireless tablet. Accepted image | ||
7 | has to contain 256 bytes (64x32 px 1 bit colour). The format | ||
8 | is the same as PBM image 62x32px without header (64 bits per | ||
9 | horizontal line, 32 lines). An example of setting OLED No. 0: | ||
10 | dd bs=256 count=1 if=img_file of=[path to oled0_img]/oled0_img | ||
11 | The attribute is read only and no local copy of the image is | ||
12 | stored. | ||
13 | |||
1 | What: /sys/class/hidraw/hidraw*/device/speed | 14 | What: /sys/class/hidraw/hidraw*/device/speed |
2 | Date: April 2010 | 15 | Date: April 2010 |
3 | Kernel Version: 2.6.35 | 16 | Kernel Version: 2.6.35 |
diff --git a/Documentation/ABI/testing/sysfs-fs-ext4 b/Documentation/ABI/testing/sysfs-fs-ext4 index f22ac0872ae8..c631253cf85c 100644 --- a/Documentation/ABI/testing/sysfs-fs-ext4 +++ b/Documentation/ABI/testing/sysfs-fs-ext4 | |||
@@ -96,3 +96,16 @@ Contact: "Theodore Ts'o" <tytso@mit.edu> | |||
96 | Description: | 96 | Description: |
97 | The maximum number of megabytes the writeback code will | 97 | The maximum number of megabytes the writeback code will |
98 | try to write out before move on to another inode. | 98 | try to write out before move on to another inode. |
99 | |||
100 | What: /sys/fs/ext4/<disk>/extent_max_zeroout_kb | ||
101 | Date: August 2012 | ||
102 | Contact: "Theodore Ts'o" <tytso@mit.edu> | ||
103 | Description: | ||
104 | The maximum number of kilobytes which will be zeroed | ||
105 | out in preference to creating a new uninitialized | ||
106 | extent when manipulating an inode's extent tree. Note | ||
107 | that using a larger value will increase the | ||
108 | variability of time necessary to complete a random | ||
109 | write operation (since a 4k random write might turn | ||
110 | into a much larger write due to the zeroout | ||
111 | operation). | ||
diff --git a/Documentation/ABI/testing/sysfs-ptp b/Documentation/ABI/testing/sysfs-ptp index d40d2b550502..05aeedf17794 100644 --- a/Documentation/ABI/testing/sysfs-ptp +++ b/Documentation/ABI/testing/sysfs-ptp | |||
@@ -19,7 +19,11 @@ Date: September 2010 | |||
19 | Contact: Richard Cochran <richardcochran@gmail.com> | 19 | Contact: Richard Cochran <richardcochran@gmail.com> |
20 | Description: | 20 | Description: |
21 | This file contains the name of the PTP hardware clock | 21 | This file contains the name of the PTP hardware clock |
22 | as a human readable string. | 22 | as a human readable string. The purpose of this |
23 | attribute is to provide the user with a "friendly | ||
24 | name" and to help distinguish PHY based devices from | ||
25 | MAC based ones. The string does not necessarily have | ||
26 | to be any kind of unique id. | ||
23 | 27 | ||
24 | What: /sys/class/ptp/ptpN/max_adjustment | 28 | What: /sys/class/ptp/ptpN/max_adjustment |
25 | Date: September 2010 | 29 | Date: September 2010 |
diff --git a/Documentation/ABI/testing/sysfs-tty b/Documentation/ABI/testing/sysfs-tty index b138b663bf54..0c430150d929 100644 --- a/Documentation/ABI/testing/sysfs-tty +++ b/Documentation/ABI/testing/sysfs-tty | |||
@@ -17,3 +17,12 @@ Description: | |||
17 | device, like 'tty1'. | 17 | device, like 'tty1'. |
18 | The file supports poll() to detect virtual | 18 | The file supports poll() to detect virtual |
19 | console switches. | 19 | console switches. |
20 | |||
21 | What: /sys/class/tty/ttyS0/uartclk | ||
22 | Date: Sep 2012 | ||
23 | Contact: Tomas Hlavacek <tmshlvck@gmail.com> | ||
24 | Description: | ||
25 | Shows the current uartclk value associated with the | ||
26 | UART port in serial_core, that is bound to TTY like ttyS0. | ||
27 | uartclk = 16 * baud_base | ||
28 | |||