diff options
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/configfs-usb-gadget-ffs | 9 | ||||
-rw-r--r-- | Documentation/ABI/testing/configfs-usb-gadget-loopback | 8 | ||||
-rw-r--r-- | Documentation/ABI/testing/configfs-usb-gadget-sourcesink | 12 | ||||
-rw-r--r-- | Documentation/ABI/testing/debugfs-driver-genwqe | 91 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-iio | 13 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-pci | 11 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-usb | 10 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-devices-system-cpu | 24 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-genwqe | 62 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-firmware-efi | 20 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-firmware-efi-runtime-map | 34 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-fs-f2fs | 31 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-kernel-boot_params | 38 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-kernel-vmcoreinfo | 14 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-platform-tahvo-usb | 16 |
15 files changed, 384 insertions, 9 deletions
diff --git a/Documentation/ABI/testing/configfs-usb-gadget-ffs b/Documentation/ABI/testing/configfs-usb-gadget-ffs new file mode 100644 index 000000000000..14343e237e83 --- /dev/null +++ b/Documentation/ABI/testing/configfs-usb-gadget-ffs | |||
@@ -0,0 +1,9 @@ | |||
1 | What: /config/usb-gadget/gadget/functions/ffs.name | ||
2 | Date: Nov 2013 | ||
3 | KenelVersion: 3.13 | ||
4 | Description: The purpose of this directory is to create and remove it. | ||
5 | |||
6 | A corresponding USB function instance is created/removed. | ||
7 | There are no attributes here. | ||
8 | |||
9 | All parameters are set through FunctionFS. | ||
diff --git a/Documentation/ABI/testing/configfs-usb-gadget-loopback b/Documentation/ABI/testing/configfs-usb-gadget-loopback new file mode 100644 index 000000000000..852b2365a5b5 --- /dev/null +++ b/Documentation/ABI/testing/configfs-usb-gadget-loopback | |||
@@ -0,0 +1,8 @@ | |||
1 | What: /config/usb-gadget/gadget/functions/Loopback.name | ||
2 | Date: Nov 2013 | ||
3 | KenelVersion: 3.13 | ||
4 | Description: | ||
5 | The attributes: | ||
6 | |||
7 | qlen - depth of loopback queue | ||
8 | bulk_buflen - buffer length | ||
diff --git a/Documentation/ABI/testing/configfs-usb-gadget-sourcesink b/Documentation/ABI/testing/configfs-usb-gadget-sourcesink new file mode 100644 index 000000000000..a30f3093ef6c --- /dev/null +++ b/Documentation/ABI/testing/configfs-usb-gadget-sourcesink | |||
@@ -0,0 +1,12 @@ | |||
1 | What: /config/usb-gadget/gadget/functions/SourceSink.name | ||
2 | Date: Nov 2013 | ||
3 | KenelVersion: 3.13 | ||
4 | Description: | ||
5 | The attributes: | ||
6 | |||
7 | pattern - 0 (all zeros), 1 (mod63), 2 (none) | ||
8 | isoc_interval - 1..16 | ||
9 | isoc_maxpacket - 0 - 1023 (fs), 0 - 1024 (hs/ss) | ||
10 | isoc_mult - 0..2 (hs/ss only) | ||
11 | isoc_maxburst - 0..15 (ss only) | ||
12 | qlen - buffer length | ||
diff --git a/Documentation/ABI/testing/debugfs-driver-genwqe b/Documentation/ABI/testing/debugfs-driver-genwqe new file mode 100644 index 000000000000..1c2f25674e8c --- /dev/null +++ b/Documentation/ABI/testing/debugfs-driver-genwqe | |||
@@ -0,0 +1,91 @@ | |||
1 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/ddcb_info | ||
2 | Date: Oct 2013 | ||
3 | Contact: haver@linux.vnet.ibm.com | ||
4 | Description: DDCB queue dump used for debugging queueing problems. | ||
5 | |||
6 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_regs | ||
7 | Date: Oct 2013 | ||
8 | Contact: haver@linux.vnet.ibm.com | ||
9 | Description: Dump of the current error registers. | ||
10 | Only available for PF. | ||
11 | |||
12 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid0 | ||
13 | Date: Oct 2013 | ||
14 | Contact: haver@linux.vnet.ibm.com | ||
15 | Description: Internal chip state of UID0 (unit id 0). | ||
16 | Only available for PF. | ||
17 | |||
18 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid1 | ||
19 | Date: Oct 2013 | ||
20 | Contact: haver@linux.vnet.ibm.com | ||
21 | Description: Internal chip state of UID1. | ||
22 | Only available for PF. | ||
23 | |||
24 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid2 | ||
25 | Date: Oct 2013 | ||
26 | Contact: haver@linux.vnet.ibm.com | ||
27 | Description: Internal chip state of UID2. | ||
28 | Only available for PF. | ||
29 | |||
30 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_regs | ||
31 | Date: Oct 2013 | ||
32 | Contact: haver@linux.vnet.ibm.com | ||
33 | Description: Dump of the error registers before the last reset of | ||
34 | the card occured. | ||
35 | Only available for PF. | ||
36 | |||
37 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid0 | ||
38 | Date: Oct 2013 | ||
39 | Contact: haver@linux.vnet.ibm.com | ||
40 | Description: Internal chip state of UID0 before card was reset. | ||
41 | Only available for PF. | ||
42 | |||
43 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid1 | ||
44 | Date: Oct 2013 | ||
45 | Contact: haver@linux.vnet.ibm.com | ||
46 | Description: Internal chip state of UID1 before card was reset. | ||
47 | Only available for PF. | ||
48 | |||
49 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid2 | ||
50 | Date: Oct 2013 | ||
51 | Contact: haver@linux.vnet.ibm.com | ||
52 | Description: Internal chip state of UID2 before card was reset. | ||
53 | Only available for PF. | ||
54 | |||
55 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/info | ||
56 | Date: Oct 2013 | ||
57 | Contact: haver@linux.vnet.ibm.com | ||
58 | Description: Comprehensive summary of bitstream version and software | ||
59 | version. Used bitstream and bitstream clocking information. | ||
60 | |||
61 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/err_inject | ||
62 | Date: Oct 2013 | ||
63 | Contact: haver@linux.vnet.ibm.com | ||
64 | Description: Possibility to inject error cases to ensure that the drivers | ||
65 | error handling code works well. | ||
66 | |||
67 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/vf<0..14>_jobtimeout_msec | ||
68 | Date: Oct 2013 | ||
69 | Contact: haver@linux.vnet.ibm.com | ||
70 | Description: Default VF timeout 250ms. Testing might require 1000ms. | ||
71 | Using 0 will use the cards default value (whatever that is). | ||
72 | |||
73 | The timeout depends on the max number of available cards | ||
74 | in the system and the maximum allowed queue size. | ||
75 | |||
76 | The driver ensures that the settings are done just before | ||
77 | the VFs get enabled. Changing the timeouts in flight is not | ||
78 | possible. | ||
79 | Only available for PF. | ||
80 | |||
81 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/jobtimer | ||
82 | Date: Oct 2013 | ||
83 | Contact: haver@linux.vnet.ibm.com | ||
84 | Description: Dump job timeout register values for PF and VFs. | ||
85 | Only available for PF. | ||
86 | |||
87 | What: /sys/kernel/debug/genwqe/genwqe<n>_card/queue_working_time | ||
88 | Date: Dec 2013 | ||
89 | Contact: haver@linux.vnet.ibm.com | ||
90 | Description: Dump queue working time register values for PF and VFs. | ||
91 | Only available for PF. | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index b20e829d350f..6e02c5029152 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio | |||
@@ -197,6 +197,19 @@ Description: | |||
197 | Raw pressure measurement from channel Y. Units after | 197 | Raw pressure measurement from channel Y. Units after |
198 | application of scale and offset are kilopascal. | 198 | application of scale and offset are kilopascal. |
199 | 199 | ||
200 | What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw | ||
201 | KernelVersion: 3.14 | ||
202 | Contact: linux-iio@vger.kernel.org | ||
203 | Description: | ||
204 | Raw humidity measurement of air. Units after application of | ||
205 | scale and offset are milli percent. | ||
206 | |||
207 | What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input | ||
208 | KernelVersion: 3.14 | ||
209 | Contact: linux-iio@vger.kernel.org | ||
210 | Description: | ||
211 | Scaled humidity measurement in milli percent. | ||
212 | |||
200 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset | 213 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset |
201 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset | 214 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset |
202 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset | 215 | What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset |
diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index 5210a51c90fd..a3c5a6685036 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci +++ b/Documentation/ABI/testing/sysfs-bus-pci | |||
@@ -70,18 +70,15 @@ Date: September, 2011 | |||
70 | Contact: Neil Horman <nhorman@tuxdriver.com> | 70 | Contact: Neil Horman <nhorman@tuxdriver.com> |
71 | Description: | 71 | Description: |
72 | The /sys/devices/.../msi_irqs directory contains a variable set | 72 | The /sys/devices/.../msi_irqs directory contains a variable set |
73 | of sub-directories, with each sub-directory being named after a | 73 | of files, with each file being named after a corresponding msi |
74 | corresponding msi irq vector allocated to that device. Each | 74 | irq vector allocated to that device. |
75 | numbered sub-directory N contains attributes of that irq. | ||
76 | Note that this directory is not created for device drivers which | ||
77 | do not support msi irqs | ||
78 | 75 | ||
79 | What: /sys/bus/pci/devices/.../msi_irqs/<N>/mode | 76 | What: /sys/bus/pci/devices/.../msi_irqs/<N> |
80 | Date: September 2011 | 77 | Date: September 2011 |
81 | Contact: Neil Horman <nhorman@tuxdriver.com> | 78 | Contact: Neil Horman <nhorman@tuxdriver.com> |
82 | Description: | 79 | Description: |
83 | This attribute indicates the mode that the irq vector named by | 80 | This attribute indicates the mode that the irq vector named by |
84 | the parent directory is in (msi vs. msix) | 81 | the file is in (msi vs. msix) |
85 | 82 | ||
86 | What: /sys/bus/pci/devices/.../remove | 83 | What: /sys/bus/pci/devices/.../remove |
87 | Date: January 2009 | 84 | Date: January 2009 |
diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb index 1430f584b266..614d451cee41 100644 --- a/Documentation/ABI/testing/sysfs-bus-usb +++ b/Documentation/ABI/testing/sysfs-bus-usb | |||
@@ -50,13 +50,19 @@ Description: | |||
50 | This may allow the driver to support more hardware than | 50 | This may allow the driver to support more hardware than |
51 | was included in the driver's static device ID support | 51 | was included in the driver's static device ID support |
52 | table at compile time. The format for the device ID is: | 52 | table at compile time. The format for the device ID is: |
53 | idVendor idProduct bInterfaceClass. | 53 | idVendor idProduct bInterfaceClass RefIdVendor RefIdProduct |
54 | The vendor ID and device ID fields are required, the | 54 | The vendor ID and device ID fields are required, the |
55 | interface class is optional. | 55 | rest is optional. The Ref* tuple can be used to tell the |
56 | driver to use the same driver_data for the new device as | ||
57 | it is used for the reference device. | ||
56 | Upon successfully adding an ID, the driver will probe | 58 | Upon successfully adding an ID, the driver will probe |
57 | for the device and attempt to bind to it. For example: | 59 | for the device and attempt to bind to it. For example: |
58 | # echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id | 60 | # echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id |
59 | 61 | ||
62 | Here add a new device (0458:7045) using driver_data from | ||
63 | an already supported device (0458:704c): | ||
64 | # echo "0458 7045 0 0458 704c" > /sys/bus/usb/drivers/foo/new_id | ||
65 | |||
60 | Reading from this file will list all dynamically added | 66 | Reading from this file will list all dynamically added |
61 | device IDs in the same format, with one entry per | 67 | device IDs in the same format, with one entry per |
62 | line. For example: | 68 | line. For example: |
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index 468e4d48f884..d5a0d33c571f 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu | |||
@@ -200,3 +200,27 @@ Description: address and size of the percpu note. | |||
200 | note of cpu#. | 200 | note of cpu#. |
201 | 201 | ||
202 | crash_notes_size: size of the note of cpu#. | 202 | crash_notes_size: size of the note of cpu#. |
203 | |||
204 | |||
205 | What: /sys/devices/system/cpu/intel_pstate/max_perf_pct | ||
206 | /sys/devices/system/cpu/intel_pstate/min_perf_pct | ||
207 | /sys/devices/system/cpu/intel_pstate/no_turbo | ||
208 | Date: February 2013 | ||
209 | Contact: linux-pm@vger.kernel.org | ||
210 | Description: Parameters for the Intel P-state driver | ||
211 | |||
212 | Logic for selecting the current P-state in Intel | ||
213 | Sandybridge+ processors. The three knobs control | ||
214 | limits for the P-state that will be requested by the | ||
215 | driver. | ||
216 | |||
217 | max_perf_pct: limits the maximum P state that will be requested by | ||
218 | the driver stated as a percentage of the available performance. | ||
219 | |||
220 | min_perf_pct: limits the minimum P state that will be requested by | ||
221 | the driver stated as a percentage of the available performance. | ||
222 | |||
223 | no_turbo: limits the driver to selecting P states below the turbo | ||
224 | frequency range. | ||
225 | |||
226 | More details can be found in Documentation/cpu-freq/intel-pstate.txt | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-genwqe b/Documentation/ABI/testing/sysfs-driver-genwqe new file mode 100644 index 000000000000..1870737a1f5e --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-genwqe | |||
@@ -0,0 +1,62 @@ | |||
1 | What: /sys/class/genwqe/genwqe<n>_card/version | ||
2 | Date: Oct 2013 | ||
3 | Contact: haver@linux.vnet.ibm.com | ||
4 | Description: Unique bitstream identification e.g. | ||
5 | '0000000330336283.00000000475a4950'. | ||
6 | |||
7 | What: /sys/class/genwqe/genwqe<n>_card/appid | ||
8 | Date: Oct 2013 | ||
9 | Contact: haver@linux.vnet.ibm.com | ||
10 | Description: Identifies the currently active card application e.g. 'GZIP' | ||
11 | for compression/decompression. | ||
12 | |||
13 | What: /sys/class/genwqe/genwqe<n>_card/type | ||
14 | Date: Oct 2013 | ||
15 | Contact: haver@linux.vnet.ibm.com | ||
16 | Description: Type of the card e.g. 'GenWQE5-A7'. | ||
17 | |||
18 | What: /sys/class/genwqe/genwqe<n>_card/curr_bitstream | ||
19 | Date: Oct 2013 | ||
20 | Contact: haver@linux.vnet.ibm.com | ||
21 | Description: Currently active bitstream. 1 is default, 0 is backup. | ||
22 | |||
23 | What: /sys/class/genwqe/genwqe<n>_card/next_bitstream | ||
24 | Date: Oct 2013 | ||
25 | Contact: haver@linux.vnet.ibm.com | ||
26 | Description: Interface to set the next bitstream to be used. | ||
27 | |||
28 | What: /sys/class/genwqe/genwqe<n>_card/tempsens | ||
29 | Date: Oct 2013 | ||
30 | Contact: haver@linux.vnet.ibm.com | ||
31 | Description: Interface to read the cards temperature sense register. | ||
32 | |||
33 | What: /sys/class/genwqe/genwqe<n>_card/freerunning_timer | ||
34 | Date: Oct 2013 | ||
35 | Contact: haver@linux.vnet.ibm.com | ||
36 | Description: Interface to read the cards free running timer. | ||
37 | Used for performance and utilization measurements. | ||
38 | |||
39 | What: /sys/class/genwqe/genwqe<n>_card/queue_working_time | ||
40 | Date: Oct 2013 | ||
41 | Contact: haver@linux.vnet.ibm.com | ||
42 | Description: Interface to read queue working time. | ||
43 | Used for performance and utilization measurements. | ||
44 | |||
45 | What: /sys/class/genwqe/genwqe<n>_card/state | ||
46 | Date: Oct 2013 | ||
47 | Contact: haver@linux.vnet.ibm.com | ||
48 | Description: State of the card: "unused", "used", "error". | ||
49 | |||
50 | What: /sys/class/genwqe/genwqe<n>_card/base_clock | ||
51 | Date: Oct 2013 | ||
52 | Contact: haver@linux.vnet.ibm.com | ||
53 | Description: Base clock frequency of the card. | ||
54 | |||
55 | What: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs | ||
56 | Date: Oct 2013 | ||
57 | Contact: haver@linux.vnet.ibm.com | ||
58 | Description: Enable VFs (1..15): | ||
59 | sudo sh -c 'echo 15 > \ | ||
60 | /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs' | ||
61 | Disable VFs: | ||
62 | Write a 0 into the same sysfs entry. | ||
diff --git a/Documentation/ABI/testing/sysfs-firmware-efi b/Documentation/ABI/testing/sysfs-firmware-efi new file mode 100644 index 000000000000..05874da7ce80 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-firmware-efi | |||
@@ -0,0 +1,20 @@ | |||
1 | What: /sys/firmware/efi/fw_vendor | ||
2 | Date: December 2013 | ||
3 | Contact: Dave Young <dyoung@redhat.com> | ||
4 | Description: It shows the physical address of firmware vendor field in the | ||
5 | EFI system table. | ||
6 | Users: Kexec | ||
7 | |||
8 | What: /sys/firmware/efi/runtime | ||
9 | Date: December 2013 | ||
10 | Contact: Dave Young <dyoung@redhat.com> | ||
11 | Description: It shows the physical address of runtime service table entry in | ||
12 | the EFI system table. | ||
13 | Users: Kexec | ||
14 | |||
15 | What: /sys/firmware/efi/config_table | ||
16 | Date: December 2013 | ||
17 | Contact: Dave Young <dyoung@redhat.com> | ||
18 | Description: It shows the physical address of config table entry in the EFI | ||
19 | system table. | ||
20 | Users: Kexec | ||
diff --git a/Documentation/ABI/testing/sysfs-firmware-efi-runtime-map b/Documentation/ABI/testing/sysfs-firmware-efi-runtime-map new file mode 100644 index 000000000000..c61b9b348e99 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-firmware-efi-runtime-map | |||
@@ -0,0 +1,34 @@ | |||
1 | What: /sys/firmware/efi/runtime-map/ | ||
2 | Date: December 2013 | ||
3 | Contact: Dave Young <dyoung@redhat.com> | ||
4 | Description: Switching efi runtime services to virtual mode requires | ||
5 | that all efi memory ranges which have the runtime attribute | ||
6 | bit set to be mapped to virtual addresses. | ||
7 | |||
8 | The efi runtime services can only be switched to virtual | ||
9 | mode once without rebooting. The kexec kernel must maintain | ||
10 | the same physical to virtual address mappings as the first | ||
11 | kernel. The mappings are exported to sysfs so userspace tools | ||
12 | can reassemble them and pass them into the kexec kernel. | ||
13 | |||
14 | /sys/firmware/efi/runtime-map/ is the directory the kernel | ||
15 | exports that information in. | ||
16 | |||
17 | subdirectories are named with the number of the memory range: | ||
18 | |||
19 | /sys/firmware/efi/runtime-map/0 | ||
20 | /sys/firmware/efi/runtime-map/1 | ||
21 | /sys/firmware/efi/runtime-map/2 | ||
22 | /sys/firmware/efi/runtime-map/3 | ||
23 | ... | ||
24 | |||
25 | Each subdirectory contains five files: | ||
26 | |||
27 | attribute : The attributes of the memory range. | ||
28 | num_pages : The size of the memory range in pages. | ||
29 | phys_addr : The physical address of the memory range. | ||
30 | type : The type of the memory range. | ||
31 | virt_addr : The virtual address of the memory range. | ||
32 | |||
33 | Above values are all hexadecimal numbers with the '0x' prefix. | ||
34 | Users: Kexec | ||
diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs index 31942efcaf0e..32b0809203dd 100644 --- a/Documentation/ABI/testing/sysfs-fs-f2fs +++ b/Documentation/ABI/testing/sysfs-fs-f2fs | |||
@@ -24,3 +24,34 @@ Date: July 2013 | |||
24 | Contact: "Namjae Jeon" <namjae.jeon@samsung.com> | 24 | Contact: "Namjae Jeon" <namjae.jeon@samsung.com> |
25 | Description: | 25 | Description: |
26 | Controls the victim selection policy for garbage collection. | 26 | Controls the victim selection policy for garbage collection. |
27 | |||
28 | What: /sys/fs/f2fs/<disk>/reclaim_segments | ||
29 | Date: October 2013 | ||
30 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | ||
31 | Description: | ||
32 | Controls the issue rate of segment discard commands. | ||
33 | |||
34 | What: /sys/fs/f2fs/<disk>/ipu_policy | ||
35 | Date: November 2013 | ||
36 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | ||
37 | Description: | ||
38 | Controls the in-place-update policy. | ||
39 | |||
40 | What: /sys/fs/f2fs/<disk>/min_ipu_util | ||
41 | Date: November 2013 | ||
42 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | ||
43 | Description: | ||
44 | Controls the FS utilization condition for the in-place-update | ||
45 | policies. | ||
46 | |||
47 | What: /sys/fs/f2fs/<disk>/max_small_discards | ||
48 | Date: November 2013 | ||
49 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | ||
50 | Description: | ||
51 | Controls the issue rate of small discard commands. | ||
52 | |||
53 | What: /sys/fs/f2fs/<disk>/max_victim_search | ||
54 | Date: January 2014 | ||
55 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | ||
56 | Description: | ||
57 | Controls the number of trials to find a victim segment. | ||
diff --git a/Documentation/ABI/testing/sysfs-kernel-boot_params b/Documentation/ABI/testing/sysfs-kernel-boot_params new file mode 100644 index 000000000000..eca38ce2852d --- /dev/null +++ b/Documentation/ABI/testing/sysfs-kernel-boot_params | |||
@@ -0,0 +1,38 @@ | |||
1 | What: /sys/kernel/boot_params | ||
2 | Date: December 2013 | ||
3 | Contact: Dave Young <dyoung@redhat.com> | ||
4 | Description: The /sys/kernel/boot_params directory contains two | ||
5 | files: "data" and "version" and one subdirectory "setup_data". | ||
6 | It is used to export the kernel boot parameters of an x86 | ||
7 | platform to userspace for kexec and debugging purpose. | ||
8 | |||
9 | If there's no setup_data in boot_params the subdirectory will | ||
10 | not be created. | ||
11 | |||
12 | "data" file is the binary representation of struct boot_params. | ||
13 | |||
14 | "version" file is the string representation of boot | ||
15 | protocol version. | ||
16 | |||
17 | "setup_data" subdirectory contains the setup_data data | ||
18 | structure in boot_params. setup_data is maintained in kernel | ||
19 | as a link list. In "setup_data" subdirectory there's one | ||
20 | subdirectory for each link list node named with the number | ||
21 | of the list nodes. The list node subdirectory contains two | ||
22 | files "type" and "data". "type" file is the string | ||
23 | representation of setup_data type. "data" file is the binary | ||
24 | representation of setup_data payload. | ||
25 | |||
26 | The whole boot_params directory structure is like below: | ||
27 | /sys/kernel/boot_params | ||
28 | |__ data | ||
29 | |__ setup_data | ||
30 | | |__ 0 | ||
31 | | | |__ data | ||
32 | | | |__ type | ||
33 | | |__ 1 | ||
34 | | |__ data | ||
35 | | |__ type | ||
36 | |__ version | ||
37 | |||
38 | Users: Kexec | ||
diff --git a/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo b/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo new file mode 100644 index 000000000000..7bd81168e063 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo | |||
@@ -0,0 +1,14 @@ | |||
1 | What: /sys/kernel/vmcoreinfo | ||
2 | Date: October 2007 | ||
3 | KernelVersion: 2.6.24 | ||
4 | Contact: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> | ||
5 | Kexec Mailing List <kexec@lists.infradead.org> | ||
6 | Vivek Goyal <vgoyal@redhat.com> | ||
7 | Description | ||
8 | Shows physical address and size of vmcoreinfo ELF note. | ||
9 | First value contains physical address of note in hex and | ||
10 | second value contains the size of note in hex. This ELF | ||
11 | note info is parsed by second kernel and exported to user | ||
12 | space as part of ELF note in /proc/vmcore file. This note | ||
13 | contains various information like struct size, symbol | ||
14 | values, page size etc. | ||
diff --git a/Documentation/ABI/testing/sysfs-platform-tahvo-usb b/Documentation/ABI/testing/sysfs-platform-tahvo-usb new file mode 100644 index 000000000000..f6e20ce4b538 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-platform-tahvo-usb | |||
@@ -0,0 +1,16 @@ | |||
1 | What: /sys/bus/platform/devices/tahvo-usb/otg_mode | ||
2 | Date: December 2013 | ||
3 | Contact: Aaro Koskinen <aaro.koskinen@iki.fi> | ||
4 | Description: | ||
5 | Set or read the current OTG mode. Valid values are "host" and | ||
6 | "peripheral". | ||
7 | |||
8 | Reading: returns the current mode. | ||
9 | |||
10 | What: /sys/bus/platform/devices/tahvo-usb/vbus | ||
11 | Date: December 2013 | ||
12 | Contact: Aaro Koskinen <aaro.koskinen@iki.fi> | ||
13 | Description: | ||
14 | Read the current VBUS state. | ||
15 | |||
16 | Reading: returns "on" or "off". | ||