forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix/misc' into topic/misc
- Loading branch information
Showing
8,192 changed files
with
599,401 additions
and
304,173 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ Andreas Herrmann <[email protected]> | |
Andrew Morton <[email protected]> | ||
Andrew Vasquez <[email protected]> | ||
Andy Adamson <[email protected]> | ||
Archit Taneja <[email protected]> | ||
Arnaud Patard <[email protected]> | ||
Arnd Bergmann <[email protected]> | ||
Axel Dyks <[email protected]> | ||
|
@@ -70,6 +71,7 @@ Leonid I Ananiev <[email protected]> | |
Linas Vepstas <[email protected]> | ||
Mark Brown <[email protected]> | ||
Matthieu CASTET <[email protected]> | ||
Mayuresh Janorkar <[email protected]> | ||
Michael Buesch <[email protected]> | ||
Michael Buesch <[email protected]> | ||
Michel Dänzer <[email protected]> | ||
|
@@ -78,6 +80,7 @@ Morten Welinder <[email protected]> | |
Morten Welinder <[email protected]> | ||
Morten Welinder <[email protected]> | ||
Morten Welinder <[email protected]> | ||
Mythri P K <[email protected]> | ||
Nguyen Anh Quynh <[email protected]> | ||
Paolo 'Blaisorblade' Giarrusso <[email protected]> | ||
Patrick Mochel <[email protected]> | ||
|
@@ -98,6 +101,7 @@ S.Çağlar Onur <[email protected]> | |
Simon Kelley <[email protected]> | ||
Stéphane Witzmann <[email protected]> | ||
Stephen Hemminger <[email protected]> | ||
Sumit Semwal <[email protected]> | ||
Tejun Heo <[email protected]> | ||
Thomas Graf <[email protected]> | ||
Tony Luck <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,23 @@ Contact: Richard Purdie <[email protected]> | |
Description: | ||
Maximum brightness for <backlight>. | ||
Users: HAL | ||
|
||
What: /sys/class/backlight/<backlight>/type | ||
Date: September 2010 | ||
KernelVersion: 2.6.37 | ||
Contact: Matthew Garrett <[email protected]> | ||
Description: | ||
The type of interface controlled by <backlight>. | ||
"firmware": The driver uses a standard firmware interface | ||
"platform": The driver uses a platform-specific interface | ||
"raw": The driver controls hardware registers directly | ||
|
||
In the general case, when multiple backlight | ||
interfaces are available for a single device, firmware | ||
control should be preferred to platform control should | ||
be preferred to raw control. Using a firmware | ||
interface reduces the probability of confusion with | ||
the hardware and the OS independently updating the | ||
backlight state. Platform interfaces are mostly a | ||
holdover from pre-standardisation of firmware | ||
interfaces. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
What: /sys/firmware/efi/vars | ||
Date: April 2004 | ||
Contact: Matt Domsch <[email protected]> | ||
Description: | ||
This directory exposes interfaces for interactive with | ||
EFI variables. For more information on EFI variables, | ||
see 'Variable Services' in the UEFI specification | ||
(section 7.2 in specification version 2.3 Errata D). | ||
|
||
In summary, EFI variables are named, and are classified | ||
into separate namespaces through the use of a vendor | ||
GUID. They also have an arbitrary binary value | ||
associated with them. | ||
|
||
The efivars module enumerates these variables and | ||
creates a separate directory for each one found. Each | ||
directory has a name of the form "<key>-<vendor guid>" | ||
and contains the following files: | ||
|
||
attributes: A read-only text file enumerating the | ||
EFI variable flags. Potential values | ||
include: | ||
|
||
EFI_VARIABLE_NON_VOLATILE | ||
EFI_VARIABLE_BOOTSERVICE_ACCESS | ||
EFI_VARIABLE_RUNTIME_ACCESS | ||
EFI_VARIABLE_HARDWARE_ERROR_RECORD | ||
EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS | ||
|
||
See the EFI documentation for an | ||
explanation of each of these variables. | ||
|
||
data: A read-only binary file that can be read | ||
to attain the value of the EFI variable | ||
|
||
guid: The vendor GUID of the variable. This | ||
should always match the GUID in the | ||
variable's name. | ||
|
||
raw_var: A binary file that can be read to obtain | ||
a structure that contains everything | ||
there is to know about the variable. | ||
For structure definition see "struct | ||
efi_variable" in the kernel sources. | ||
|
||
This file can also be written to in | ||
order to update the value of a variable. | ||
For this to work however, all fields of | ||
the "struct efi_variable" passed must | ||
match byte for byte with the structure | ||
read out of the file, save for the value | ||
portion. | ||
|
||
**Note** the efi_variable structure | ||
read/written with this file contains a | ||
'long' type that may change widths | ||
depending on your underlying | ||
architecture. | ||
|
||
size: As ASCII representation of the size of | ||
the variable's value. | ||
|
||
|
||
In addition, two other magic binary files are provided | ||
in the top-level directory and are used for adding and | ||
removing variables: | ||
|
||
new_var: Takes a "struct efi_variable" and | ||
instructs the EFI firmware to create a | ||
new variable. | ||
|
||
del_var: Takes a "struct efi_variable" and | ||
instructs the EFI firmware to remove any | ||
variable that has a matching vendor GUID | ||
and variable key name. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
What: /config/pcie-gadget | ||
Date: Feb 2011 | ||
KernelVersion: 2.6.37 | ||
Contact: Pratyush Anand <[email protected]> | ||
Description: | ||
|
||
Interface is used to configure selected dual mode PCIe controller | ||
as device and then program its various registers to configure it | ||
as a particular device type. | ||
This interfaces can be used to show spear's PCIe device capability. | ||
|
||
Nodes are only visible when configfs is mounted. To mount configfs | ||
in /config directory use: | ||
# mount -t configfs none /config/ | ||
|
||
For nth PCIe Device Controller | ||
/config/pcie-gadget.n/ | ||
link ... used to enable ltssm and read its status. | ||
int_type ...used to configure and read type of supported | ||
interrupt | ||
no_of_msi ... used to configure number of MSI vector needed and | ||
to read no of MSI granted. | ||
inta ... write 1 to assert INTA and 0 to de-assert. | ||
send_msi ... write MSI vector to be sent. | ||
vendor_id ... used to write and read vendor id (hex) | ||
device_id ... used to write and read device id (hex) | ||
bar0_size ... used to write and read bar0_size | ||
bar0_address ... used to write and read bar0 mapped area in hex. | ||
bar0_rw_offset ... used to write and read offset of bar0 where | ||
bar0_data will be written or read. | ||
bar0_data ... used to write and read data at bar0_rw_offset. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Where: /dev/pstore/... | ||
Date: March 2011 | ||
Kernel Version: 2.6.39 | ||
Contact: [email protected] | ||
Description: Generic interface to platform dependent persistent storage. | ||
|
||
Platforms that provide a mechanism to preserve some data | ||
across system reboots can register with this driver to | ||
provide a generic interface to show records captured in | ||
the dying moments. In the case of a panic the last part | ||
of the console log is captured, but other interesting | ||
data can also be saved. | ||
|
||
# mount -t pstore -o kmsg_bytes=8000 - /dev/pstore | ||
|
||
$ ls -l /dev/pstore | ||
total 0 | ||
-r--r--r-- 1 root root 7896 Nov 30 15:38 dmesg-erst-1 | ||
|
||
Different users of this interface will result in different | ||
filename prefixes. Currently two are defined: | ||
|
||
"dmesg" - saved console log | ||
"mce" - architecture dependent data from fatal h/w error | ||
|
||
Once the information in a file has been read, removing | ||
the file will signal to the underlying persistent storage | ||
device that it can reclaim the space for later re-use. | ||
|
||
$ rm /dev/pstore/dmesg-erst-1 | ||
|
||
The expectation is that all files in /dev/pstore | ||
will be saved elsewhere and erased from persistent store | ||
soon after boot to free up space ready for the next | ||
catastrophe. | ||
|
||
The 'kmsg_bytes' mount option changes the target amount of | ||
data saved on each oops/panic. Pstore saves (possibly | ||
multiple) files based on the record size of the underlying | ||
persistent storage until at least this amount is reached. | ||
Default is 10 Kbytes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
What: /sys/bus/media/devices/.../model | ||
Date: January 2011 | ||
Contact: Laurent Pinchart <[email protected]> | ||
[email protected] | ||
Description: Contains the device model name in UTF-8. The device version is | ||
is not be appended to the model name. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,9 +145,11 @@ Date: July 2010 | |
Contact: Narendra K <[email protected]>, [email protected] | ||
Description: | ||
Reading this attribute will provide the firmware | ||
given name(SMBIOS type 41 string) of the PCI device. | ||
The attribute will be created only if the firmware | ||
has given a name to the PCI device. | ||
given name (SMBIOS type 41 string or ACPI _DSM string) of | ||
the PCI device. The attribute will be created only | ||
if the firmware has given a name to the PCI device. | ||
ACPI _DSM string name will be given priority if the | ||
system firmware provides SMBIOS type 41 string also. | ||
Users: | ||
Userspace applications interested in knowing the | ||
firmware assigned name of the PCI device. | ||
|
@@ -157,12 +159,27 @@ Date: July 2010 | |
Contact: Narendra K <[email protected]>, [email protected] | ||
Description: | ||
Reading this attribute will provide the firmware | ||
given instance(SMBIOS type 41 device type instance) | ||
of the PCI device. The attribute will be created | ||
only if the firmware has given a device type instance | ||
to the PCI device. | ||
given instance (SMBIOS type 41 device type instance) of the | ||
PCI device. The attribute will be created only if the firmware | ||
has given an instance number to the PCI device. | ||
Users: | ||
Userspace applications interested in knowing the | ||
firmware assigned device type instance of the PCI | ||
device that can help in understanding the firmware | ||
intended order of the PCI device. | ||
|
||
What: /sys/bus/pci/devices/.../acpi_index | ||
Date: July 2010 | ||
Contact: Narendra K <[email protected]>, [email protected] | ||
Description: | ||
Reading this attribute will provide the firmware | ||
given instance (ACPI _DSM instance number) of the PCI device. | ||
The attribute will be created only if the firmware has given | ||
an instance number to the PCI device. ACPI _DSM instance number | ||
will be given priority if the system firmware provides SMBIOS | ||
type 41 device type instance also. | ||
Users: | ||
Userspace applications interested in knowing the | ||
firmware assigned instance number of the PCI | ||
device that can help in understanding the firmware | ||
intended order of the PCI device. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,3 +59,15 @@ Kernel Version: 2.6.31 | |
Contact: [email protected] | ||
Description: Displays the usage count (number of opens) of logical drive Y | ||
of controller X. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/resettable | ||
Date: February 2011 | ||
Kernel Version: 2.6.38 | ||
Contact: [email protected] | ||
Description: Value of 1 indicates the controller can honor the reset_devices | ||
kernel parameter. Value of 0 indicates reset_devices cannot be | ||
honored. This is to allow, for example, kexec tools to be able | ||
to warn the user if they designate an unresettable device as | ||
a dump device, as kdump requires resetting the device in order | ||
to work reliably. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
What: /sys/bus/rbd/ | ||
Date: November 2010 | ||
Contact: Yehuda Sadeh <yehuda@hq.newdream.net>, | ||
Contact: Yehuda Sadeh <[email protected]>, | ||
Sage Weil <[email protected]> | ||
Description: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
What: /sys/devices/.../mmc_host/mmcX/mmcX:XXXX/enhanced_area_offset | ||
Date: January 2011 | ||
Contact: Chuanxiao Dong <[email protected]> | ||
Description: | ||
Enhanced area is a new feature defined in eMMC4.4 standard. | ||
eMMC4.4 or later card can support such feature. This kind of | ||
area can help to improve the card performance. If the feature | ||
is enabled, this attribute will indicate the start address of | ||
enhanced data area. If not, this attribute will be -EINVAL. | ||
Unit Byte. Format decimal. | ||
|
||
What: /sys/devices/.../mmc_host/mmcX/mmcX:XXXX/enhanced_area_size | ||
Date: January 2011 | ||
Contact: Chuanxiao Dong <[email protected]> | ||
Description: | ||
Enhanced area is a new feature defined in eMMC4.4 standard. | ||
eMMC4.4 or later card can support such feature. This kind of | ||
area can help to improve the card performance. If the feature | ||
is enabled, this attribute will indicate the size of enhanced | ||
data area. If not, this attribute will be -EINVAL. | ||
Unit KByte. Format decimal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.