-
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 'sched/urgent' into sched/core, to avoid conflicts
Signed-off-by: Ingo Molnar <mingo@kernel.org>
- Loading branch information
Showing
7,124 changed files
with
438,977 additions
and
144,779 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 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 @@ | ||
What: /sys/firmware/opal/dump | ||
Date: Feb 2014 | ||
Contact: Stewart Smith <stewart@linux.vnet.ibm.com> | ||
Description: | ||
This directory exposes interfaces for interacting with | ||
the FSP and platform dumps through OPAL firmware interface. | ||
|
||
This is only for the powerpc/powernv platform. | ||
|
||
initiate_dump: When '1' is written to it, | ||
we will initiate a dump. | ||
Read this file for supported commands. | ||
|
||
0xXX-0xYYYY: A directory for dump of type 0xXX and | ||
id 0xYYYY (in hex). The name of this | ||
directory should not be relied upon to | ||
be in this format, only that it's unique | ||
among all dumps. For determining the type | ||
and ID of the dump, use the id and type files. | ||
Do not rely on any particular size of dump | ||
type or dump id. | ||
|
||
Each dump has the following files: | ||
id: An ASCII representation of the dump ID | ||
in hex (e.g. '0x01') | ||
type: An ASCII representation of the type of | ||
dump in the format "0x%x %s" with the ID | ||
in hex and a description of the dump type | ||
(or 'unknown'). | ||
Type '0xffffffff unknown' is used when | ||
we could not get the type from firmware. | ||
e.g. '0x02 System/Platform Dump' | ||
dump: A binary file containing the dump. | ||
The size of the dump is the size of this file. | ||
acknowledge: When 'ack' is written to this, we will | ||
acknowledge that we've retrieved the | ||
dump to the service processor. It will | ||
then remove it, making the dump | ||
inaccessible. | ||
Reading this file will get a list of | ||
supported actions. |
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,60 @@ | ||
What: /sys/firmware/opal/elog | ||
Date: Feb 2014 | ||
Contact: Stewart Smith <stewart@linux.vnet.ibm.com> | ||
Description: | ||
This directory exposes error log entries retrieved | ||
through the OPAL firmware interface. | ||
|
||
Each error log is identified by a unique ID and will | ||
exist until explicitly acknowledged to firmware. | ||
|
||
Each log entry has a directory in /sys/firmware/opal/elog. | ||
|
||
Log entries may be purged by the service processor | ||
before retrieved by firmware or retrieved/acknowledged by | ||
Linux if there is no room for more log entries. | ||
|
||
In the event that Linux has retrieved the log entries | ||
but not explicitly acknowledged them to firmware and | ||
the service processor needs more room for log entries, | ||
the only remaining copy of a log message may be in | ||
Linux. | ||
|
||
Typically, a user space daemon will monitor for new | ||
entries, read them out and acknowledge them. | ||
|
||
The service processor may be able to store more log | ||
entries than firmware can, so after you acknowledge | ||
an event from Linux you may instantly get another one | ||
from the queue that was generated some time in the past. | ||
|
||
The raw log format is a binary format. We currently | ||
do not parse this at all in kernel, leaving it up to | ||
user space to solve the problem. In future, we may | ||
do more parsing in kernel and add more files to make | ||
it easier for simple user space processes to extract | ||
more information. | ||
|
||
For each log entry (directory), there are the following | ||
files: | ||
|
||
id: An ASCII representation of the ID of the | ||
error log, in hex - e.g. "0x01". | ||
|
||
type: An ASCII representation of the type id and | ||
description of the type of error log. | ||
Currently just "0x00 PEL" - platform error log. | ||
In the future there may be additional types. | ||
|
||
raw: A read-only binary file that can be read | ||
to get the raw log entry. These are | ||
<16kb, often just hundreds of bytes and | ||
"average" 2kb. | ||
|
||
acknowledge: Writing 'ack' to this file will acknowledge | ||
the error log to firmware (and in turn | ||
the service processor, if applicable). | ||
Shortly after acknowledging it, the log | ||
entry will be removed from sysfs. | ||
Reading this file will list the supported | ||
operations (curently just acknowledge). |
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.