Skip to content

RFC ACPI / PM: Export power resources information to user space

Rafael J. Wysocki linux-acpi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchGreg Kroah-Hartman
SeriesA-b A-b A-b A-b A-b A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][Update][PATCH 0/3] ACPI / PM: Export power resources information to user space
Quoted 16 lines · Rafael J. Wysocki

Hi Greg,

The following patch series is about exporting ACPI power resources to user space that will be necessary for PM diagnostics on new platforms (powertop is the target). Still, existing systems can also benefit from that, like my oldish HP nx6325 on which the patches have been tested.

Patch [1/3] shouldn't be really controverisal, as it only makes it possible to read power resources' reference counters from user space in a quite straightforward way.

Patch [3/3], however, exposes lists of power resources associated with different power states of devices using ACPI PM as sysfs subdirectories containing symbolic links and that requires some sysfs changes made by patch [2/3].

Quoted 6 lines

Admittedly, my sysfs skills are limited so please let me know if those changes make sense and are acceptable from your perspective. If not, then please kindly advise what I can do instead of them.

The patches apply on top of the current linux-next branch of the linux-pm.git tree.

Refreshed with Documentation/ABI files as requested.

Thanks,
Rafael

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.