linux/kernel/power
Changwoo Min bd26631ccd PM: EM: Add em.yaml and autogen files
Add a generic netlink spec in YAML format and autogenerate boilerplate
code using ynl-regen.sh to introduce a generic netlink for the energy
model. It allows a userspace program to read the performance domain and
its energy model. It notifies the userspace program when a performance
domain is created or deleted or its energy model is updated through a
multicast interface.

Specifically, it supports two commands:
  - EM_CMD_GET_PDS: Get the list of information for all performance
    domains.
  - EM_CMD_GET_PD_TABLE: Get the energy model table of a performance
    domain.

Also, it supports three notification events:
  - EM_CMD_PD_CREATED: When a performance domain is created.
  - EM_CMD_PD_DELETED: When a performance domain is deleted.
  - EM_CMD_PD_UPDATED: When the energy model table of a performance domain
    is updated.

Finally, update MAINTAINERS to include new files.

Signed-off-by: Changwoo Min <changwoo@igalia.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/20251020220914.320832-4-changwoo@igalia.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2025-10-22 21:44:37 +02:00
..
autosleep.c PM: sleep: autosleep: don't include 'pm_wakeup.h' directly 2024-12-05 12:14:26 +01:00
console.c PM: sleep: console: Fix the black screen issue 2025-07-03 15:58:33 +02:00
em_netlink_autogen.c PM: EM: Add em.yaml and autogen files 2025-10-22 21:44:37 +02:00
em_netlink_autogen.h PM: EM: Add em.yaml and autogen files 2025-10-22 21:44:37 +02:00
energy_model.c PM: EM: Expose the ID of a performance domain via debugfs 2025-10-22 21:44:37 +02:00
hibernate.c PM: hibernate: Combine return paths in power_down() 2025-09-26 20:36:36 +02:00
Kconfig PM: EM: Rework the depends on for CONFIG_ENERGY_MODEL 2025-03-07 15:23:46 +01:00
main.c PM: sleep: add kernel parameter to disable asynchronous suspend/resume 2025-07-10 14:40:07 +02:00
Makefile PM: sleep: Narrow down -DDEBUG on kernel/power/ files 2022-04-13 16:34:01 +02:00
power.h PM: Restrict swap use to later in the suspend sequence 2025-06-26 20:39:34 +02:00
poweroff.c tty: sysrq: switch sysrq handlers from int to u8 2023-07-25 19:21:03 +02:00
process.c PM: sleep: Make pm_wakeup_clear() call more clear 2025-09-04 21:05:14 +02:00
qos.c PM: QoS: Add check to make sure CPU latency is non-negative 2023-08-22 21:37:29 +02:00
snapshot.c PM: hibernate: Fix typo in memory bitmaps description comment 2025-09-01 11:55:53 +02:00
suspend_test.c rtc: class: make rtc_class constant 2024-03-08 12:05:10 +01:00
suspend.c PM: sleep: Make pm_wakeup_clear() call more clear 2025-09-04 21:05:14 +02:00
swap.c PM: hibernate: Use vmalloc_array() and vcalloc() to improve code 2025-09-01 11:55:53 +02:00
user.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
wakelock.c PM: wakeup: Delete space in the end of string shown by pm_show_wakelocks() 2025-05-09 15:48:39 +02:00