[GIT PULL v2] firmware: arm_scmi: updates for v5.9

Sudeep Holla sudeep.holla at arm.com
Mon Jul 13 12:14:10 EDT 2020


Hi ARM SoC Team,

Please pull !
The clk and the cpufreq changes are acked/reviewed by maintainers and
agreed to get this merged via ARM SoC tree.

Regards,
Sudeep

v1[1]->v2:
	- Remove unneeded __packed and fixed size fields as suggested by
	  Arnd[2]
	- Add a fix for clk registration of discrete rate clocks that
	  was reported last week.

[1] https://lore.kernel.org/r/20200706165336.40800-1-sudeep.holla@arm.com
[2] https://lore.kernel.org/r/CAK8P3a2QicGAfNnykBFDkbCX4TEZ+=AwWHYSQLOvKK14exN6_Q@mail.gmail.com/

-->8

The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:

  Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 72a5eb9d9c319c99c11cfd9cfb486380dd136840:

  firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header (2020-07-13 09:40:21 +0100)

----------------------------------------------------------------
ARM SCMI/SCPI updates for v5.9

The main addition for this time is the support for platform notifications.
SCMI protocol specification allows the platform to signal events to the
interested agents via notification messages. We are adding support for
the dispatch and delivery of such notifications to the interested users
inside the kernel.

Other than that, there are minor changes like checking and using the
fast_switch capability quering the firmware instead of doing it
unconditionally(using polling mode transfer), cosmetic trace update,
use of HAVE_ARM_SMCCC_DISCOVERY instead of ARM_PSCI_FW and a fix in
scmi clock registration logic for all the clocks with discrete rates.

----------------------------------------------------------------
Cristian Marussi (13):
      firmware: arm_scmi: Fix SCMI genpd domain probing
      firmware: arm_scmi: Add notification protocol-registration
      firmware: arm_scmi: Add notification callbacks-registration
      firmware: arm_scmi: Add notification dispatch and delivery
      firmware: arm_scmi: Enable notification core
      firmware: arm_scmi: Add power notifications support
      firmware: arm_scmi: Add perf notifications support
      firmware: arm_scmi: Add sensor notifications support
      firmware: arm_scmi: Add reset notifications support
      firmware: arm_scmi: Add base notifications support
      firmware: arm_scmi: Remove zero-length array in SCMI notifications
      firmware: arm_scmi: Remove unneeded __packed attribute
      firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header

Nicola Mazzucato (2):
      firmware: arm_scmi: Add fast_switch_possible() interface
      cpufreq: arm_scmi: Set fast_switch_possible conditionally

Sudeep Holla (5):
      firmware: arm_scmi: Use signed integer to report transfer status
      firmware: arm_scmi: Use HAVE_ARM_SMCCC_DISCOVERY instead of ARM_PSCI_FW
      firmware: arm_scmi: Keep the discrete clock rates sorted
      clk: scmi: Fix min and max rate when registering clocks with discrete rates
      firmware: arm_scmi: Provide a missing function param description

 drivers/clk/clk-scmi.c                     |   22 +-
 drivers/cpufreq/scmi-cpufreq.c             |    3 +-
 drivers/firmware/arm_scmi/Makefile         |    4 +-
 drivers/firmware/arm_scmi/base.c           |  108 +-
 drivers/firmware/arm_scmi/clock.c          |   20 +-
 drivers/firmware/arm_scmi/common.h         |    4 +
 drivers/firmware/arm_scmi/driver.c         |   15 +-
 drivers/firmware/arm_scmi/notify.c         | 1526 ++++++++++++++++++++++++++++
 drivers/firmware/arm_scmi/notify.h         |   68 ++
 drivers/firmware/arm_scmi/perf.c           |  151 ++-
 drivers/firmware/arm_scmi/power.c          |   92 +-
 drivers/firmware/arm_scmi/reset.c          |   96 +-
 drivers/firmware/arm_scmi/scmi_pm_domain.c |   12 +-
 drivers/firmware/arm_scmi/sensors.c        |   69 +-
 drivers/firmware/arm_scmi/smc.c            |    1 +
 include/linux/scmi_protocol.h              |  110 +-
 include/trace/events/scmi.h                |    6 +-
 17 files changed, 2258 insertions(+), 49 deletions(-)
 create mode 100644 drivers/firmware/arm_scmi/notify.c
 create mode 100644 drivers/firmware/arm_scmi/notify.h



More information about the linux-arm-kernel mailing list