diff options
| -rw-r--r-- | Documentation/ABI/testing/sysfs-bus-acpi | 58 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-devices-sun | 2 | ||||
| -rw-r--r-- | Documentation/acpi/namespace.txt | 395 | ||||
| -rw-r--r-- | Documentation/acpi/video_extension.txt | 106 | ||||
| -rw-r--r-- | Documentation/cpu-hotplug.txt | 6 | ||||
| -rw-r--r-- | Documentation/kernel-parameters.txt | 9 | ||||
| -rw-r--r-- | Documentation/power/video_extension.txt | 37 | ||||
| -rw-r--r-- | MAINTAINERS | 2 |
8 files changed, 575 insertions, 40 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-acpi b/Documentation/ABI/testing/sysfs-bus-acpi new file mode 100644 index 000000000000..7fa9cbc75344 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-acpi | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | What: /sys/bus/acpi/devices/.../path | ||
| 2 | Date: December 2006 | ||
| 3 | Contact: Rafael J. Wysocki <rjw@rjwysocki.net> | ||
| 4 | Description: | ||
| 5 | This attribute indicates the full path of ACPI namespace | ||
| 6 | object associated with the device object. For example, | ||
| 7 | \_SB_.PCI0. | ||
| 8 | This file is not present for device objects representing | ||
| 9 | fixed ACPI hardware features (like power and sleep | ||
| 10 | buttons). | ||
| 11 | |||
| 12 | What: /sys/bus/acpi/devices/.../modalias | ||
| 13 | Date: July 2007 | ||
| 14 | Contact: Rafael J. Wysocki <rjw@rjwysocki.net> | ||
| 15 | Description: | ||
| 16 | This attribute indicates the PNP IDs of the device object. | ||
| 17 | That is acpi:HHHHHHHH:[CCCCCCC:]. Where each HHHHHHHH or | ||
| 18 | CCCCCCCC contains device object's PNPID (_HID or _CID). | ||
| 19 | |||
| 20 | What: /sys/bus/acpi/devices/.../hid | ||
| 21 | Date: April 2005 | ||
| 22 | Contact: Rafael J. Wysocki <rjw@rjwysocki.net> | ||
| 23 | Description: | ||
| 24 | This attribute indicates the hardware ID (_HID) of the | ||
| 25 | device object. For example, PNP0103. | ||
| 26 | This file is present for device objects having the _HID | ||
| 27 | control method. | ||
| 28 | |||
| 29 | What: /sys/bus/acpi/devices/.../description | ||
| 30 | Date: October 2012 | ||
| 31 | Contact: Rafael J. Wysocki <rjw@rjwysocki.net> | ||
| 32 | Description: | ||
| 33 | This attribute contains the output of the device object's | ||
| 34 | _STR control method, if present. | ||
| 35 | |||
| 36 | What: /sys/bus/acpi/devices/.../adr | ||
| 37 | Date: October 2012 | ||
| 38 | Contact: Rafael J. Wysocki <rjw@rjwysocki.net> | ||
| 39 | Description: | ||
| 40 | This attribute contains the output of the device object's | ||
| 41 | _ADR control method, which is present for ACPI device | ||
| 42 | objects representing devices having standard enumeration | ||
| 43 | algorithms, such as PCI. | ||
| 44 | |||
| 45 | What: /sys/bus/acpi/devices/.../uid | ||
| 46 | Date: October 2012 | ||
| 47 | Contact: Rafael J. Wysocki <rjw@rjwysocki.net> | ||
| 48 | Description: | ||
| 49 | This attribute contains the output of the device object's | ||
| 50 | _UID control method, if present. | ||
| 51 | |||
| 52 | What: /sys/bus/acpi/devices/.../eject | ||
| 53 | Date: December 2006 | ||
| 54 | Contact: Rafael J. Wysocki <rjw@rjwysocki.net> | ||
| 55 | Description: | ||
| 56 | Writing 1 to this attribute will trigger hot removal of | ||
| 57 | this device object. This file exists for every device | ||
| 58 | object that has _EJ0 method. | ||
diff --git a/Documentation/ABI/testing/sysfs-devices-sun b/Documentation/ABI/testing/sysfs-devices-sun index 86be9848a77e..625ce4b63758 100644 --- a/Documentation/ABI/testing/sysfs-devices-sun +++ b/Documentation/ABI/testing/sysfs-devices-sun | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | Whatt: /sys/devices/.../sun | 1 | What: /sys/devices/.../sun |
| 2 | Date: October 2012 | 2 | Date: October 2012 |
| 3 | Contact: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> | 3 | Contact: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> |
| 4 | Description: | 4 | Description: |
diff --git a/Documentation/acpi/namespace.txt b/Documentation/acpi/namespace.txt new file mode 100644 index 000000000000..260f6a3661fa --- /dev/null +++ b/Documentation/acpi/namespace.txt | |||
| @@ -0,0 +1,395 @@ | |||
| 1 | ACPI Device Tree - Representation of ACPI Namespace | ||
| 2 | |||
| 3 | Copyright (C) 2013, Intel Corporation | ||
| 4 | Author: Lv Zheng <lv.zheng@intel.com> | ||
| 5 | |||
| 6 | |||
| 7 | Abstract: | ||
| 8 | |||
| 9 | The Linux ACPI subsystem converts ACPI namespace objects into a Linux | ||
| 10 | device tree under the /sys/devices/LNXSYSTEM:00 and updates it upon | ||
| 11 | receiving ACPI hotplug notification events. For each device object in this | ||
| 12 | hierarchy there is a corresponding symbolic link in the | ||
| 13 | /sys/bus/acpi/devices. | ||
| 14 | This document illustrates the structure of the ACPI device tree. | ||
| 15 | |||
| 16 | |||
| 17 | Credit: | ||
| 18 | |||
| 19 | Thanks for the help from Zhang Rui <rui.zhang@intel.com> and Rafael J. | ||
| 20 | Wysocki <rafael.j.wysocki@intel.com>. | ||
| 21 | |||
| 22 | |||
| 23 | 1. ACPI Definition Blocks | ||
| 24 | |||
| 25 | The ACPI firmware sets up RSDP (Root System Description Pointer) in the | ||
| 26 | system memory address space pointing to the XSDT (Extended System | ||
| 27 | Description Table). The XSDT always points to the FADT (Fixed ACPI | ||
| 28 | Description Table) using its first entry, the data within the FADT | ||
| 29 | includes various fixed-length entries that describe fixed ACPI features | ||
| 30 | of the hardware. The FADT contains a pointer to the DSDT | ||
| 31 | (Differentiated System Descripition Table). The XSDT also contains | ||
| 32 | entries pointing to possibly multiple SSDTs (Secondary System | ||
| 33 | Description Table). | ||
| 34 | |||
| 35 | The DSDT and SSDT data is organized in data structures called definition | ||
| 36 | blocks that contain definitions of various objects, including ACPI | ||
| 37 | control methods, encoded in AML (ACPI Machine Language). The data block | ||
| 38 | of the DSDT along with the contents of SSDTs represents a hierarchical | ||
| 39 | data structure called the ACPI namespace whose topology reflects the | ||
| 40 | structure of the underlying hardware platform. | ||
| 41 | |||
| 42 | The relationships between ACPI System Definition Tables described above | ||
| 43 | are illustrated in the following diagram. | ||
| 44 | |||
| 45 | +---------+ +-------+ +--------+ +------------------------+ | ||
| 46 | | RSDP | +->| XSDT | +->| FADT | | +-------------------+ | | ||
| 47 | +---------+ | +-------+ | +--------+ +-|->| DSDT | | | ||
| 48 | | Pointer | | | Entry |-+ | ...... | | | +-------------------+ | | ||
| 49 | +---------+ | +-------+ | X_DSDT |--+ | | Definition Blocks | | | ||
| 50 | | Pointer |-+ | ..... | | ...... | | +-------------------+ | | ||
| 51 | +---------+ +-------+ +--------+ | +-------------------+ | | ||
| 52 | | Entry |------------------|->| SSDT | | | ||
| 53 | +- - - -+ | +-------------------| | | ||
| 54 | | Entry | - - - - - - - -+ | | Definition Blocks | | | ||
| 55 | +- - - -+ | | +-------------------+ | | ||
| 56 | | | +- - - - - - - - - -+ | | ||
| 57 | +-|->| SSDT | | | ||
| 58 | | +-------------------+ | | ||
| 59 | | | Definition Blocks | | | ||
| 60 | | +- - - - - - - - - -+ | | ||
| 61 | +------------------------+ | ||
| 62 | | | ||
| 63 | OSPM Loading | | ||
| 64 | \|/ | ||
| 65 | +----------------+ | ||
| 66 | | ACPI Namespace | | ||
| 67 | +----------------+ | ||
| 68 | |||
| 69 | Figure 1. ACPI Definition Blocks | ||
| 70 | |||
| 71 | NOTE: RSDP can also contain a pointer to the RSDT (Root System | ||
| 72 | Description Table). Platforms provide RSDT to enable | ||
| 73 | compatibility with ACPI 1.0 operating systems. The OS is expected | ||
| 74 | to use XSDT, if present. | ||
| 75 | |||
| 76 | |||
| 77 | 2. Example ACPI Namespace | ||
| 78 | |||
| 79 | All definition blocks are loaded into a single namespace. The namespace | ||
| 80 | is a hierarchy of objects identified by names and paths. | ||
| 81 | The following naming conventions apply to object names in the ACPI | ||
| 82 | namespace: | ||
| 83 | 1. All names are 32 bits long. | ||
| 84 | 2. The first byte of a name must be one of 'A' - 'Z', '_'. | ||
| 85 | 3. Each of the remaining bytes of a name must be one of 'A' - 'Z', '0' | ||
| 86 | - '9', '_'. | ||
| 87 | 4. Names starting with '_' are reserved by the ACPI specification. | ||
| 88 | 5. The '\' symbol represents the root of the namespace (i.e. names | ||
| 89 | prepended with '\' are relative to the namespace root). | ||
| 90 | 6. The '^' symbol represents the parent of the current namespace node | ||
| 91 | (i.e. names prepended with '^' are relative to the parent of the | ||
| 92 | current namespace node). | ||
| 93 | |||
| 94 | The figure below shows an example ACPI namespace. | ||
| 95 | |||
| 96 | +------+ | ||
| 97 | | \ | Root | ||
| 98 | +------+ | ||
| 99 | | | ||
| 100 | | +------+ | ||
| 101 | +-| _PR | Scope(_PR): the processor namespace | ||
| 102 | | +------+ | ||
| 103 | | | | ||
| 104 | | | +------+ | ||
| 105 | | +-| CPU0 | Processor(CPU0): the first processor | ||
| 106 | | +------+ | ||
| 107 | | | ||
| 108 | | +------+ | ||
| 109 | +-| _SB | Scope(_SB): the system bus namespace | ||
| 110 | | +------+ | ||
