[GIT PULL] firmware: arm_scmi: Updates for v6.5

Sudeep Holla sudeep.holla at arm.com
Mon Jun 12 05:10:17 PDT 2023


Hi ARM SoC Team,

Please pull ! The powercap driver related changes that have dependency
on the firmware driver part are acked-by Rafael and agreed to merge the
changes via SoC tree. All the changes are in -next for a while now.

Regards,
Sudeep

-->8

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

  Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-updates-6.5

for you to fetch changes up to aaffb4cacd4c5546778a6e3b4bb2deef2dde4bd1:

  powercap: arm_scmi: Add support for disabling powercaps on a zone (2023-06-06 14:05:10 +0100)

----------------------------------------------------------------
Arm SCMI updates for v6.5

Couple of main additions :-

1. Support for multiple SMC/HVC transports for SCMI:

   Some platforms need to support multiple SCMI instances within
   a platform(more commonly in a VM). The same SMC/HVC FID is used with
   all the instances. The platform or the hypervisor needs a way to
   distinguish among SMC/HVC calls made from different instances.

   This change adds support for passing shmem channel address as the
   parameters in the SMC/HVC call. The address is split into 4KB-page
   and offset for simiplicity.

2. Addition od SCMI v3.2 explicit powercap enable/disable support:

   SCMI v3.2 specification introduces support to disable powercapping
   as a whole on the desired zones.

   This change adds the needed support to the core SCMI powercap protocol,
   exposing enable/disable protocol operations and then wiring up the new
   operartions in the related powercap framework helpers.

----------------------------------------------------------------
Cristian Marussi (3):
      firmware: arm_scmi: Refactor the internal powercap get/set helpers
      firmware: arm_scmi: Add Powercap protocol enable support
      powercap: arm_scmi: Add support for disabling powercaps on a zone

Nikunj Kela (2):
      dt-bindings: firmware: arm,scmi: support for parameter in smc/hvc call
      firmware: arm_scmi: Augment SMC/HVC to allow optional parameters

 .../devicetree/bindings/firmware/arm,scmi.yaml     |   8 +-
 drivers/firmware/arm_scmi/driver.c                 |   1 +
 drivers/firmware/arm_scmi/powercap.c               | 173 ++++++++++++++++++---
 drivers/firmware/arm_scmi/smc.c                    |  30 +++-
 drivers/powercap/arm_scmi_powercap.c               |  16 ++
 include/linux/scmi_protocol.h                      |  18 +++
 6 files changed, 219 insertions(+), 27 deletions(-)



More information about the linux-arm-kernel mailing list