diff options
| author | Patrick McHardy <kaber@trash.net> | 2011-04-13 07:32:28 -0400 |
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2011-04-13 07:32:28 -0400 |
| commit | b32e3dc7860d00124fa432dba09667e647cb9bcc (patch) | |
| tree | 2fa6e56f389431dfb84609d3d7572cad76e88e71 /Documentation/ABI | |
| parent | 6604271c5bc658a6067ed0c3deba4d89e0e50382 (diff) | |
| parent | 96120d86fe302c006259baee9061eea9e1b9e486 (diff) | |
Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
Diffstat (limited to 'Documentation/ABI')
| -rw-r--r-- | Documentation/ABI/stable/sysfs-class-backlight | 20 | ||||
| -rw-r--r-- | Documentation/ABI/testing/configfs-spear-pcie-gadget | 31 | ||||
| -rw-r--r-- | Documentation/ABI/testing/pstore | 12 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-bus-media | 6 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-bus-pci-devices-cciss | 12 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-bus-rbd | 2 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-devices-mmc | 21 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-driver-samsung-laptop | 19 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-fs-ext4 | 13 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-fs-pstore | 7 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-platform-asus-wmi | 31 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-platform-eeepc-wmi | 10 |
12 files changed, 160 insertions, 24 deletions
diff --git a/Documentation/ABI/stable/sysfs-class-backlight b/Documentation/ABI/stable/sysfs-class-backlight index 4d637e1c4ff7..70302f370e7e 100644 --- a/Documentation/ABI/stable/sysfs-class-backlight +++ b/Documentation/ABI/stable/sysfs-class-backlight | |||
| @@ -34,3 +34,23 @@ Contact: Richard Purdie <rpurdie@rpsys.net> | |||
| 34 | Description: | 34 | Description: |
| 35 | Maximum brightness for <backlight>. | 35 | Maximum brightness for <backlight>. |
| 36 | Users: HAL | 36 | Users: HAL |
| 37 | |||
| 38 | What: /sys/class/backlight/<backlight>/type | ||
| 39 | Date: September 2010 | ||
| 40 | KernelVersion: 2.6.37 | ||
| 41 | Contact: Matthew Garrett <mjg@redhat.com> | ||
| 42 | Description: | ||
| 43 | The type of interface controlled by <backlight>. | ||
| 44 | "firmware": The driver uses a standard firmware interface | ||
| 45 | "platform": The driver uses a platform-specific interface | ||
| 46 | "raw": The driver controls hardware registers directly | ||
| 47 | |||
| 48 | In the general case, when multiple backlight | ||
| 49 | interfaces are available for a single device, firmware | ||
| 50 | control should be preferred to platform control should | ||
| 51 | be preferred to raw control. Using a firmware | ||
| 52 | interface reduces the probability of confusion with | ||
| 53 | the hardware and the OS independently updating the | ||
| 54 | backlight state. Platform interfaces are mostly a | ||
| 55 | holdover from pre-standardisation of firmware | ||
| 56 | interfaces. | ||
diff --git a/Documentation/ABI/testing/configfs-spear-pcie-gadget b/Documentation/ABI/testing/configfs-spear-pcie-gadget new file mode 100644 index 000000000000..875988146a63 --- /dev/null +++ b/Documentation/ABI/testing/configfs-spear-pcie-gadget | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | What: /config/pcie-gadget | ||
| 2 | Date: Feb 2011 | ||
| 3 | KernelVersion: 2.6.37 | ||
| 4 | Contact: Pratyush Anand <pratyush.anand@st.com> | ||
| 5 | Description: | ||
| 6 | |||
| 7 | Interface is used to configure selected dual mode PCIe controller | ||
| 8 | as device and then program its various registers to configure it | ||
| 9 | as a particular device type. | ||
| 10 | This interfaces can be used to show spear's PCIe device capability. | ||
| 11 | |||
| 12 | Nodes are only visible when configfs is mounted. To mount configfs | ||
| 13 | in /config directory use: | ||
| 14 | # mount -t configfs none /config/ | ||
| 15 | |||
| 16 | For nth PCIe Device Controller | ||
| 17 | /config/pcie-gadget.n/ | ||
| 18 | link ... used to enable ltssm and read its status. | ||
| 19 | int_type ...used to configure and read type of supported | ||
| 20 | interrupt | ||
| 21 | no_of_msi ... used to configure number of MSI vector needed and | ||
| 22 | to read no of MSI granted. | ||
| 23 | inta ... write 1 to assert INTA and 0 to de-assert. | ||
| 24 | send_msi ... write MSI vector to be sent. | ||
| 25 | vendor_id ... used to write and read vendor id (hex) | ||
| 26 | device_id ... used to write and read device id (hex) | ||
| 27 | bar0_size ... used to write and read bar0_size | ||
| 28 | bar0_address ... used to write and read bar0 mapped area in hex. | ||
| 29 | bar0_rw_offset ... used to write and read offset of bar0 where | ||
| 30 | bar0_data will be written or read. | ||
| 31 | bar0_data ... used to write and read data at bar0_rw_offset. | ||
diff --git a/Documentation/ABI/testing/pstore b/Documentation/ABI/testing/pstore index f1fb2a004264..ddf451ee2a08 100644 --- a/Documentation/ABI/testing/pstore +++ b/Documentation/ABI/testing/pstore | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | Where: /dev/pstore/... | 1 | Where: /dev/pstore/... |
| 2 | Date: January 2011 | 2 | Date: March 2011 |
| 3 | Kernel Version: 2.6.38 | 3 | Kernel Version: 2.6.39 |
| 4 | Contact: tony.luck@intel.com | 4 | Contact: tony.luck@intel.com |
| 5 | Description: Generic interface to platform dependent persistent storage. | 5 | Description: Generic interface to platform dependent persistent storage. |
| 6 | 6 | ||
| @@ -11,7 +11,7 @@ Description: Generic interface to platform dependent persistent storage. | |||
| 11 | of the console log is captured, but other interesting | 11 | of the console log is captured, but other interesting |
| 12 | data can also be saved. | 12 | data can also be saved. |
| 13 | 13 | ||
| 14 | # mount -t pstore - /dev/pstore | 14 | # mount -t pstore -o kmsg_bytes=8000 - /dev/pstore |
| 15 | 15 | ||
| 16 | $ ls -l /dev/pstore | 16 | $ ls -l /dev/pstore |
| 17 | total 0 | 17 | total 0 |
| @@ -33,3 +33,9 @@ Description: Generic interface to platform dependent persistent storage. | |||
| 33 | will be saved elsewhere and erased from persistent store | 33 | will be saved elsewhere and erased from persistent store |
| 34 | soon after boot to free up space ready for the next | 34 | soon after boot to free up space ready for the next |
| 35 | catastrophe. | 35 | catastrophe. |
| 36 | |||
| 37 | The 'kmsg_bytes' mount option changes the target amount of | ||
| 38 | data saved on each oops/panic. Pstore saves (possibly | ||
| 39 | multiple) files based on the record size of the underlying | ||
| 40 | persistent storage until at least this amount is reached. | ||
| 41 | Default is 10 Kbytes. | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-media b/Documentation/ABI/testing/sysfs-bus-media new file mode 100644 index 000000000000..7057e574154a --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-media | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | What: /sys/bus/media/devices/.../model | ||
| 2 | Date: January 2011 | ||
| 3 | Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com> | ||
| 4 | linux-media@vger.kernel.org | ||
| 5 | Description: Contains the device model name in UTF-8. The device version is | ||
| 6 | is not be appended to the model name. | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss b/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss index 4f29e5f1ebfa..f5bb0a3bb8c0 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss +++ b/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss | |||
| @@ -59,3 +59,15 @@ Kernel Version: 2.6.31 | |||
| 59 | Contact: iss_storagedev@hp.com | 59 | Contact: iss_storagedev@hp.com |
| 60 | Description: Displays the usage count (number of opens) of logical drive Y | 60 | Description: Displays the usage count (number of opens) of logical drive Y |
| 61 | of controller X. | 61 | of controller X. |
| 62 | |||
| 63 | Where: /sys/bus/pci/devices/<dev>/ccissX/resettable | ||
| 64 | Date: February 2011 | ||
| 65 | Kernel Version: 2.6.38 | ||
| 66 | Contact: iss_storagedev@hp.com | ||
| 67 | Description: Value of 1 indicates the controller can honor the reset_devices | ||
| 68 | kernel parameter. Value of 0 indicates reset_devices cannot be | ||
| 69 | honored. This is to allow, for example, kexec tools to be able | ||
| 70 | to warn the user if they designate an unresettable device as | ||
| 71 | a dump device, as kdump requires resetting the device in order | ||
| 72 | to work reliably. | ||
| 73 | |||
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd index 90a87e2a572b..fa72ccb2282e 100644 --- a/Documentation/ABI/testing/sysfs-bus-rbd +++ b/Documentation/ABI/testing/sysfs-bus-rbd | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | What: /sys/bus/rbd/ | 1 | What: /sys/bus/rbd/ |
| 2 | Date: November 2010 | 2 | Date: November 2010 |
| 3 | Contact: Yehuda Sadeh <yehuda@hq.newdream.net>, | 3 | Contact: Yehuda Sadeh <yehuda@newdream.net>, |
| 4 | Sage Weil <sage@newdream.net> | 4 | Sage Weil <sage@newdream.net> |
| 5 | Description: | 5 | Description: |
| 6 | 6 | ||
diff --git a/Documentation/ABI/testing/sysfs-devices-mmc b/Documentation/ABI/testing/sysfs-devices-mmc new file mode 100644 index 000000000000..5a50ab655843 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-devices-mmc | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | What: /sys/devices/.../mmc_host/mmcX/mmcX:XXXX/enhanced_area_offset | ||
| 2 | Date: January 2011 | ||
| 3 | Contact: Chuanxiao Dong <chuanxiao.dong@intel.com> | ||
| 4 | Description: | ||
| 5 | Enhanced area is a new feature defined in eMMC4.4 standard. | ||
| 6 | eMMC4.4 or later card can support such feature. This kind of | ||
| 7 | area can help to improve the card performance. If the feature | ||
| 8 | is enabled, this attribute will indicate the start address of | ||
| 9 | enhanced data area. If not, this attribute will be -EINVAL. | ||
| 10 | Unit Byte. Format decimal. | ||
| 11 | |||
| 12 | What: /sys/devices/.../mmc_host/mmcX/mmcX:XXXX/enhanced_area_size | ||
| 13 | Date: January 2011 | ||
| 14 | Contact: Chuanxiao Dong <chuanxiao.dong@intel.com> | ||
| 15 | Description: | ||
| 16 | Enhanced area is a new feature defined in eMMC4.4 standard. | ||
| 17 | eMMC4.4 or later card can support such feature. This kind of | ||
| 18 | area can help to improve the card performance. If the feature | ||
| 19 | is enabled, this attribute will indicate the size of enhanced | ||
| 20 | data area. If not, this attribute will be -EINVAL. | ||
| 21 | Unit KByte. Format decimal. | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-samsung-laptop b/Documentation/ABI/testing/sysfs-driver-samsung-laptop new file mode 100644 index 000000000000..0a810231aad4 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-samsung-laptop | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | What: /sys/devices/platform/samsung/performance_level | ||
| 2 | Date: January 1, 2010 | ||
| 3 | KernelVersion: 2.6.33 | ||
| 4 | Contact: Greg Kroah-Hartman <gregkh@suse.de> | ||
| 5 | Description: Some Samsung laptops have different "performance levels" | ||
| 6 | that are can be modified by a function key, and by this | ||
| 7 | sysfs file. These values don't always make a whole lot | ||
| 8 | of sense, but some users like to modify them to keep | ||
| 9 | their fans quiet at all costs. Reading from this file | ||
| 10 | will show the current performance level. Writing to the | ||
| 11 | file can change this value. | ||
| 12 | Valid options: | ||
| 13 | "silent" | ||
| 14 | "normal" | ||
| 15 | "overclock" | ||
| 16 | Note that not all laptops support all of these options. | ||
| 17 | Specifically, not all support the "overclock" option, | ||
| 18 | and it's still unknown if this value even changes | ||
| 19 | anything, other than making the user feel a bit better. | ||
diff --git a/Documentation/ABI/testing/sysfs-fs-ext4 b/Documentation/ABI/testing/sysfs-fs-ext4 index 5fb709997d96..f22ac0872ae8 100644 --- a/Documentation/ABI/testing/sysfs-fs-ext4 +++ b/Documentation/ABI/testing/sysfs-fs-ext4 | |||
| @@ -48,7 +48,7 @@ Description: | |||
| 48 | will have its blocks allocated out of its own unique | 48 | will have its blocks allocated out of its own unique |
| 49 | preallocation pool. | 49 | preallocation pool. |
| 50 | 50 | ||
| 51 | What: /sys/fs/ext4/<disk>/inode_readahead | 51 | What: /sys/fs/ext4/<disk>/inode_readahead_blks |
| 52 | Date: March 2008 | 52 | Date: March 2008 |
| 53 | Contact: "Theodore Ts'o" <tytso@mit.edu> | 53 | Contact: "Theodore Ts'o" <tytso@mit.edu> |
| 54 | Description: | 54 | Description: |
| @@ -85,7 +85,14 @@ Date: June 2008 | |||
| 85 | Contact: "Theodore Ts'o" <tytso@mit.edu> | 85 | Contact: "Theodore Ts'o" <tytso@mit.edu> |
| 86 | Description: | 86 | Description: |
| 87 | Tuning parameter which (if non-zero) controls the goal | 87 | Tuning parameter which (if non-zero) controls the goal |
| 88 | inode used by the inode allocator in p0reference to | 88 | inode used by the inode allocator in preference to |
| 89 | all other allocation hueristics. This is intended for | 89 | all other allocation heuristics. This is intended for |
| 90 | debugging use only, and should be 0 on production | 90 | debugging use only, and should be 0 on production |
| 91 | systems. | 91 | systems. |
| 92 | |||
| 93 | What: /sys/fs/ext4/<disk>/max_writeback_mb_bump | ||
| 94 | Date: September 2009 | ||
| 95 | Contact: "Theodore Ts'o" <tytso@mit.edu> | ||
| 96 | Description: | ||
| 97 | The maximum number of megabytes the writeback code will | ||
| 98 | try to write out before move on to another inode. | ||
diff --git a/Documentation/ABI/testing/sysfs-fs-pstore b/Documentation/ABI/testing/sysfs-fs-pstore deleted file mode 100644 index 8e659d854805..000000000000 --- a/Documentation/ABI/testing/sysfs-fs-pstore +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | What: /sys/fs/pstore/kmsg_bytes | ||
| 2 | Date: January 2011 | ||
| 3 | Kernel Version: 2.6.38 | ||
| 4 | Contact: "Tony Luck" <tony.luck@intel.com> | ||
| 5 | Description: | ||
| 6 | Controls amount of console log that will be saved | ||
| 7 | to persistent store on oops/panic. | ||
diff --git a/Documentation/ABI/testing/sysfs-platform-asus-wmi b/Documentation/ABI/testing/sysfs-platform-asus-wmi new file mode 100644 index 000000000000..2e7df91620de --- /dev/null +++ b/Documentation/ABI/testing/sysfs-platform-asus-wmi | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | What: /sys/devices/platform/<platform>/cpufv | ||
| 2 | Date: Oct 2010 | ||
| 3 | KernelVersion: 2.6.37 | ||
| 4 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 5 | Description: | ||
| 6 | Change CPU clock configuration (write-only). | ||
| 7 | There are three available clock configuration: | ||
| 8 | * 0 -> Super Performance Mode | ||
| 9 | * 1 -> High Performance Mode | ||
| 10 | * 2 -> Power Saving Mode | ||
| 11 | |||
| 12 | What: /sys/devices/platform/<platform>/camera | ||
| 13 | Date: Jan 2010 | ||
| 14 | KernelVersion: 2.6.39 | ||
| 15 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 16 | Description: | ||
| 17 | Control the camera. 1 means on, 0 means off. | ||
| 18 | |||
| 19 | What: /sys/devices/platform/<platform>/cardr | ||
| 20 | Date: Jan 2010 | ||
| 21 | KernelVersion: 2.6.39 | ||
| 22 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 23 | Description: | ||
| 24 | Control the card reader. 1 means on, 0 means off. | ||
| 25 | |||
| 26 | What: /sys/devices/platform/<platform>/touchpad | ||
| 27 | Date: Jan 2010 | ||
| 28 | KernelVersion: 2.6.39 | ||
| 29 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 30 | Description: | ||
| 31 | Control the card touchpad. 1 means on, 0 means off. | ||
diff --git a/Documentation/ABI/testing/sysfs-platform-eeepc-wmi b/Documentation/ABI/testing/sysfs-platform-eeepc-wmi deleted file mode 100644 index e4b5fef5fadd..000000000000 --- a/Documentation/ABI/testing/sysfs-platform-eeepc-wmi +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | What: /sys/devices/platform/eeepc-wmi/cpufv | ||
| 2 | Date: Oct 2010 | ||
| 3 | KernelVersion: 2.6.37 | ||
| 4 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 5 | Description: | ||
| 6 | Change CPU clock configuration (write-only). | ||
| 7 | There are three available clock configuration: | ||
| 8 | * 0 -> Super Performance Mode | ||
| 9 | * 1 -> High Performance Mode | ||
| 10 | * 2 -> Power Saving Mode | ||
