diff options
| author | Ido Yariv <[email protected]> | 2014-01-16 21:00:11 -0500 |
|---|---|---|
| committer | Emmanuel Grumbach <[email protected]> | 2014-02-03 22:23:38 +0200 |
| commit | bcb079a14d75b6e1ed762b194fe04dc5d3f96d7e (patch) | |
| tree | 2d0b7634b195fbc301666bc59fd97f141cd5cebf /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 7b4fe06c25a1a37ba393e791012f3b01c70e674a (diff) | |
iwlwifi: pcie: retrieve and parse ACPI power limitations
Some platforms may have power limitations on PCIe cards connected to
specific root ports.
This information is encoded as part of the ACPI tables, for instance:
<snip>
Name (SPLX, Package (0x02)
{
Zero,
Package (0x03)
{
0x07,
0x00000500,
0x80000000
}
})
Method (SPLC, 0, Serialized)
{
Return (SPLX)
}
</snip>
The structure returned contains the domain type, the default power
limitation and the default time window (reserved for future use).
Upon PCI probing, call the relevant ACPI method, parse the returned
structure, and save the power limitation.
Signed-off-by: Ido Yariv <[email protected]>
Reviewed-by: Johannes Berg <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions