lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250529001315.233492-2-changwoo@igalia.com>
Date: Thu, 29 May 2025 09:13:05 +0900
From: Changwoo Min <changwoo@...lia.com>
To: lukasz.luba@....com,
	rafael@...nel.org,
	len.brown@...el.com,
	pavel@...nel.org
Cc: christian.loehle@....com,
	tj@...nel.org,
	kernel-dev@...lia.com,
	linux-pm@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Changwoo Min <changwoo@...lia.com>
Subject: [PATCH 01/11] PM: EM: Add ENERGY_MODEL_NETLINK Kconfig.

Define a Kconfig, ENERGY_MODEL_NETLINK. That enables the netlink interface,
which allows a userspace program to read the energy model and receive
multicast events upon changes to the energy model.

Signed-off-by: Changwoo Min <changwoo@...lia.com>
---
 kernel/power/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 54a623680019..b45933370b4e 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -390,3 +390,13 @@ config ENERGY_MODEL
 	  The exact usage of the energy model is subsystem-dependent.
 
 	  If in doubt, say N.
+
+if ENERGY_MODEL
+
+config ENERGY_MODEL_NETLINK
+	bool "Energy Model netlink management"
+	depends on NET
+	help
+	  The energy model framework has a netlink interface to notify the
+	  changes in the energy model. It is recommended to enable the feature.
+endif
-- 
2.49.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ