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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221013174612.393830-1-cristian.marussi@arm.com>
Date:   Thu, 13 Oct 2022 18:46:11 +0100
From:   Cristian Marussi <cristian.marussi@....com>
To:     linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-pm@...r.kernel.org
Cc:     sudeep.holla@....com, james.quinlan@...adcom.com,
        Jonathan.Cameron@...wei.com, f.fainelli@...il.com,
        etienne.carriere@...aro.org, vincent.guittot@...aro.org,
        daniel.lezcano@...aro.org, tarek.el-sherbiny@....com,
        adrian.slatineanu@....com, souvik.chakravarty@....com,
        wleavitt@...vell.com, wbartczak@...vell.com, wzmuda@...vell.com,
        dan.carpenter@...cle.com,
        Cristian Marussi <cristian.marussi@....com>
Subject: [PATCH v3 0/1] Add ARM SCMI Powercap driver

Hi all,

this patch builts on top of recently introduced SCMI v3.1 Powercap protocol
to implement an ARM SCMI Powercap driver which takes care to expose via the
Powercap framework all the SCMI Powercap zones that have been discovered
asking the SCMI platform firmware.

Basic testing has been performed against an emulated SCMI platform
supporting SCMIv3.1 Powercap protocol using powercap-utils.

A couple of fixes spotted with Smatch by Dan have been squashed into this
patch in V3.

Based on v6.0.

Thanks,
Cristian

---
v2 --> v3
 - rebased on v6.0
 - added review tag
 - squashed Dan Carpenter fixes into this powercap patch:
    https://lore.kernel.org/linux-arm-kernel/20220906142337.1697569-3-cristian.marussi@arm.com/
    https://lore.kernel.org/linux-arm-kernel/20220906142337.1697569-4-cristian.marussi@arm.com/

v1 --> v2
  - using clamp_t() to simplify normalizations
  - cleanup style in block of var declarations
  - refactor scale conversions code
  - add MAINTAINER entry
  - refactored normalizations and added dev_dbg

Cristian Marussi (1):
  powercap: arm_scmi: Add SCMI Powercap based driver

 MAINTAINERS                          |   1 +
 drivers/powercap/Kconfig             |  13 +
 drivers/powercap/Makefile            |   1 +
 drivers/powercap/arm_scmi_powercap.c | 509 +++++++++++++++++++++++++++
 4 files changed, 524 insertions(+)
 create mode 100644 drivers/powercap/arm_scmi_powercap.c

-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ