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-next>] [day] [month] [year] [list]
Message-Id: <20250113-feature_regulator_pw_budget-v1-0-01e1d95c2015@bootlin.com>
Date: Mon, 13 Jan 2025 14:07:44 +0100
From: Kory Maincent <kory.maincent@...tlin.com>
To: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>, 
 Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>
Cc: Thomas Petazzoni <thomas.petazzoni@...tlin.com>, 
 linux-kernel@...r.kernel.org, devicetree@...r.kernel.org, 
 Oleksij Rempel <o.rempel@...gutronix.de>, kernel@...gutronix.de, 
 Kory Maincent <kory.maincent@...tlin.com>
Subject: [PATCH 0/2] Add support for power budget

In preparation for future support of PSE budget evaluation strategy and
power management, we need the power budget value of the power supply.

This addition allows the regulator to track the available power
budget, which will be essential for prioritizing ports when
making power allocation decisions.

The related budget evaluation strategy patch series sent:
https://lore.kernel.org/netdev/20250104161622.7b82dfdf@kmaincent-XPS-13-7390/T/#t

Signed-off-by: Kory Maincent <kory.maincent@...tlin.com>
---
Kory Maincent (2):
      regulator: Add support for power budget
      regulator: dt-bindings: Add regulator-power-budget-milliwatt property

 .../devicetree/bindings/regulator/regulator.yaml   |  3 +
 drivers/regulator/core.c                           | 89 ++++++++++++++++++++++
 drivers/regulator/of_regulator.c                   |  3 +
 include/linux/regulator/consumer.h                 | 21 +++++
 include/linux/regulator/driver.h                   |  2 +
 include/linux/regulator/machine.h                  |  2 +
 6 files changed, 120 insertions(+)
---
base-commit: 36d9fc502ebc4dd56ea95de1e4f10a4ac5c1691c
change-id: 20250110-feature_regulator_pw_budget-f0e7396afa05

Best regards,
-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ