-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into for-linus
Conflicts: fs/pipe.c Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
- Loading branch information
Showing
1,915 changed files
with
119,690 additions
and
34,144 deletions.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
What: /sys/class/power/ds2760-battery.*/charge_now | ||
Date: May 2010 | ||
KernelVersion: 2.6.35 | ||
Contact: Daniel Mack <daniel@caiaq.de> | ||
Description: | ||
This file is writeable and can be used to set the current | ||
coloumb counter value inside the battery monitor chip. This | ||
is needed for unavoidable corrections of aging batteries. | ||
A userspace daemon can monitor the battery charging logic | ||
and once the counter drops out of considerable bounds, take | ||
appropriate action. | ||
|
||
What: /sys/class/power/ds2760-battery.*/charge_full | ||
Date: May 2010 | ||
KernelVersion: 2.6.35 | ||
Contact: Daniel Mack <daniel@caiaq.de> | ||
Description: | ||
This file is writeable and can be used to set the assumed | ||
battery 'full level'. As batteries age, this value has to be | ||
amended over time. |
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,7 @@ | ||
What: /sys/devices/system/node/nodeX/compact | ||
Date: February 2010 | ||
Contact: Mel Gorman <mel@csn.ul.ie> | ||
Description: | ||
When this file is written to, all memory within that node | ||
will be compacted. When it completes, memory will be freed | ||
into blocks which have as many contiguous pages as possible |
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,15 @@ | ||
What: /sys/firmware/sfi/tables/ | ||
Date: May 2010 | ||
Contact: Len Brown <lenb@kernel.org> | ||
Description: | ||
SFI defines a number of small static memory tables | ||
so the kernel can get platform information from firmware. | ||
|
||
The tables are defined in the latest SFI specification: | ||
http://simplefirmware.org/documentation | ||
|
||
While the tables are used by the kernel, user-space | ||
can observe them this way: | ||
|
||
# cd /sys/firmware/sfi/tables | ||
# cat $TABLENAME > $TABLENAME.bin |
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
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
APEI Error INJection | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
EINJ provides a hardware error injection mechanism | ||
It is very useful for debugging and testing of other APEI and RAS features. | ||
|
||
To use EINJ, make sure the following are enabled in your kernel | ||
configuration: | ||
|
||
CONFIG_DEBUG_FS | ||
CONFIG_ACPI_APEI | ||
CONFIG_ACPI_APEI_EINJ | ||
|
||
The user interface of EINJ is debug file system, under the | ||
directory apei/einj. The following files are provided. | ||
|
||
- available_error_type | ||
Reading this file returns the error injection capability of the | ||
platform, that is, which error types are supported. The error type | ||
definition is as follow, the left field is the error type value, the | ||
right field is error description. | ||
|
||
0x00000001 Processor Correctable | ||
0x00000002 Processor Uncorrectable non-fatal | ||
0x00000004 Processor Uncorrectable fatal | ||
0x00000008 Memory Correctable | ||
0x00000010 Memory Uncorrectable non-fatal | ||
0x00000020 Memory Uncorrectable fatal | ||
0x00000040 PCI Express Correctable | ||
0x00000080 PCI Express Uncorrectable fatal | ||
0x00000100 PCI Express Uncorrectable non-fatal | ||
0x00000200 Platform Correctable | ||
0x00000400 Platform Uncorrectable non-fatal | ||
0x00000800 Platform Uncorrectable fatal | ||
|
||
The format of file contents are as above, except there are only the | ||
available error type lines. | ||
|
||
- error_type | ||
This file is used to set the error type value. The error type value | ||
is defined in "available_error_type" description. | ||
|
||
- error_inject | ||
Write any integer to this file to trigger the error | ||
injection. Before this, please specify all necessary error | ||
parameters. | ||
|
||
- param1 | ||
This file is used to set the first error parameter value. Effect of | ||
parameter depends on error_type specified. For memory error, this is | ||
physical memory address. | ||
|
||
- param2 | ||
This file is used to set the second error parameter value. Effect of | ||
parameter depends on error_type specified. For memory error, this is | ||
physical memory address mask. | ||
|
||
For more information about EINJ, please refer to ACPI specification | ||
version 4.0, section 17.5. |
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.