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.
Sync up with Linus' tree to be able to apply Cesar's patch against newer version of the code. Signed-off-by: Jiri Kosina <[email protected]>
- Loading branch information
Showing
13,374 changed files
with
701,046 additions
and
382,099 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
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -206,3 +206,17 @@ Description: | |
when a discarded area is read the discard_zeroes_data | ||
parameter will be set to one. Otherwise it will be 0 and | ||
the result of reading a discarded area is undefined. | ||
|
||
What: /sys/block/<disk>/queue/write_same_max_bytes | ||
Date: January 2012 | ||
Contact: Martin K. Petersen <[email protected]> | ||
Description: | ||
Some devices support a write same operation in which a | ||
single data block can be written to a range of several | ||
contiguous blocks on storage. This can be used to wipe | ||
areas on disk or to initialize drives in a RAID | ||
configuration. write_same_max_bytes indicates how many | ||
bytes can be written in a single write same command. If | ||
write_same_max_bytes is 0, write same is not supported | ||
by the 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
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 |
---|---|---|
|
@@ -220,3 +220,10 @@ Description: | |
If the device doesn't support LTM, the file will read "no". | ||
The file will be present for all speeds of USB devices, and will | ||
always read "no" for USB 1.1 and USB 2.0 devices. | ||
|
||
What: /sys/bus/usb/devices/.../(hub interface)/portX | ||
Date: August 2012 | ||
Contact: Lan Tianyu <[email protected]> | ||
Description: | ||
The /sys/bus/usb/devices/.../(hub interface)/portX | ||
is usb port device's sysfs directory. |
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ Description: | |
accessory cables have such capability. For example, | ||
the 30-pin port of Nuri board (/arch/arm/mach-exynos) | ||
may have both HDMI and Charger attached, or analog audio, | ||
video, and USB cables attached simulteneously. | ||
video, and USB cables attached simultaneously. | ||
|
||
If there are cables mutually exclusive with each other, | ||
such binary relations may be expressed with extcon_dev's | ||
|
@@ -35,7 +35,7 @@ Description: | |
The /sys/class/extcon/.../state shows and stores the cable | ||
attach/detach information of the corresponding extcon object. | ||
If the extcon object has an optional callback "show_state" | ||
defined, the showing function is overriden with the optional | ||
defined, the showing function is overridden with the optional | ||
callback. | ||
|
||
If the default callback for showing function is used, the | ||
|
@@ -46,19 +46,19 @@ Description: | |
TA=1 | ||
EAR_JACK=0 | ||
# | ||
In this example, the extcon device have USB_OTG and TA | ||
In this example, the extcon device has USB_OTG and TA | ||
cables attached and HDMI and EAR_JACK cables detached. | ||
|
||
In order to update the state of an extcon device, enter a hex | ||
state number starting with 0x. | ||
echo 0xHEX > state | ||
state number starting with 0x: | ||
# echo 0xHEX > state | ||
|
||
This updates the whole state of the extcon dev. | ||
This updates the whole state of the extcon device. | ||
Inputs of all the methods are required to meet the | ||
mutually_exclusive contidions if they exist. | ||
mutually_exclusive conditions if they exist. | ||
|
||
It is recommended to use this "global" state interface if | ||
you need to enter the value atomically. The later state | ||
you need to set the value atomically. The later state | ||
interface associated with each cable cannot update | ||
multiple cable states of an extcon device simultaneously. | ||
|
||
|
@@ -73,7 +73,7 @@ What: /sys/class/extcon/.../cable.x/state | |
Date: February 2012 | ||
Contact: MyungJoo Ham <[email protected]> | ||
Description: | ||
The /sys/class/extcon/.../cable.x/name shows and stores the | ||
The /sys/class/extcon/.../cable.x/state shows and stores the | ||
state of cable "x" (integer between 0 and 31) of an extcon | ||
device. The state value is either 0 (detached) or 1 | ||
(attached). | ||
|
@@ -83,8 +83,8 @@ Date: December 2011 | |
Contact: MyungJoo Ham <[email protected]> | ||
Description: | ||
Shows the relations of mutually exclusiveness. For example, | ||
if the mutually_exclusive array of extcon_dev is | ||
{0x3, 0x5, 0xC, 0x0}, the, the output is: | ||
if the mutually_exclusive array of extcon device is | ||
{0x3, 0x5, 0xC, 0x0}, then the output is: | ||
# ls mutually_exclusive/ | ||
0x3 | ||
0x5 | ||
|
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,17 @@ | ||
What: /sys/devices/.../firmware_node/ | ||
Date: September 2012 | ||
Contact: <> | ||
Description: | ||
The /sys/devices/.../firmware_node directory contains attributes | ||
allowing the user space to check and modify some firmware | ||
related properties of given device. | ||
|
||
What: /sys/devices/.../firmware_node/description | ||
Date: September 2012 | ||
Contact: Lance Ortiz <[email protected]> | ||
Description: | ||
The /sys/devices/.../firmware/description attribute contains a string | ||
that describes the device as provided by the _STR method in the ACPI | ||
namespace. This attribute is read-only. If the device does not have | ||
an _STR method associated with it in the ACPI namespace, this | ||
attribute is not present. |
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 |
---|---|---|
|
@@ -176,3 +176,14 @@ Description: Disable L3 cache indices | |
All AMD processors with L3 caches provide this functionality. | ||
For details, see BKDGs at | ||
http://developer.amd.com/documentation/guides/Pages/default.aspx | ||
|
||
|
||
What: /sys/devices/system/cpu/cpufreq/boost | ||
Date: August 2012 | ||
Contact: Linux kernel mailing list <[email protected]> | ||
Description: Processor frequency boosting control | ||
|
||
This switch controls the boost setting for the whole system. | ||
Boosting allows the CPU and the firmware to run at a frequency | ||
beyound it's nominal limit. | ||
More details can be found in Documentation/cpu-freq/boost.txt |
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,70 @@ | ||
What: /sys/devices/pnp0/<bus-num>/ppi/ | ||
Date: August 2012 | ||
Kernel Version: 3.6 | ||
Contact: [email protected] | ||
Description: | ||
This folder includes the attributes related with PPI (Physical | ||
Presence Interface). Only if TPM is supported by BIOS, this | ||
folder makes sence. The folder path can be got by command | ||
'find /sys/ -name 'pcrs''. For the detail information of PPI, | ||
please refer to the PPI specification from | ||
http://www.trustedcomputinggroup.org/ | ||
|
||
What: /sys/devices/pnp0/<bus-num>/ppi/version | ||
Date: August 2012 | ||
Contact: [email protected] | ||
Description: | ||
This attribute shows the version of the PPI supported by the | ||
platform. | ||
This file is readonly. | ||
|
||
What: /sys/devices/pnp0/<bus-num>/ppi/request | ||
Date: August 2012 | ||
Contact: [email protected] | ||
Description: | ||
This attribute shows the request for an operation to be | ||
executed in the pre-OS environment. It is the only input from | ||
the OS to the pre-OS environment. The request should be an | ||
integer value range from 1 to 160, and 0 means no request. | ||
This file can be read and written. | ||
|
||
What: /sys/devices/pnp0/00:<bus-num>/ppi/response | ||
Date: August 2012 | ||
Contact: [email protected] | ||
Description: | ||
This attribute shows the response to the most recent operation | ||
request it acted upon. The format is "<request> <response num> | ||
: <response description>". | ||
This file is readonly. | ||
|
||
What: /sys/devices/pnp0/<bus-num>/ppi/transition_action | ||
Date: August 2012 | ||
Contact: [email protected] | ||
Description: | ||
This attribute shows the platform-specific action that should | ||
take place in order to transition to the BIOS for execution of | ||
a requested operation. The format is "<action num>: <action | ||
description>". | ||
This file is readonly. | ||
|
||
What: /sys/devices/pnp0/<bus-num>/ppi/tcg_operations | ||
Date: August 2012 | ||
Contact: [email protected] | ||
Description: | ||
This attribute shows whether it is allowed to request an | ||
operation to be executed in the pre-OS environment by the BIOS | ||
for the requests defined by TCG, i.e. requests from 1 to 22. | ||
The format is "<request> <status num>: <status description>". | ||
This attribute is only supported by PPI version 1.2+. | ||
This file is readonly. | ||
|
||
What: /sys/devices/pnp0/<bus-num>/ppi/vs_operations | ||
Date: August 2012 | ||
Contact: [email protected] | ||
Description: | ||
This attribute shows whether it is allowed to request an | ||
operation to be executed in the pre-OS environment by the BIOS | ||
for the verdor specific requests, i.e. requests from 128 to | ||
255. The format is same with tcg_operations. This attribute | ||
is also only supported by PPI version 1.2+. | ||
This file is readonly. |
Oops, something went wrong.