mbox series

[GIT,PULL] firmware: arm_scmi: Fixes for v5.19(Round 2)

Message ID 20220628133315.699803-1-sudeep.holla@arm.com
State New
Headers show
Series [GIT,PULL] firmware: arm_scmi: Fixes for v5.19(Round 2) | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-fixes-5.19-2

Message

Sudeep Holla June 28, 2022, 1:33 p.m. UTC
Hi ARM SoC Team,

Please pull !

We pushed several extra conformance checks in the SCMI driver and quite a few
firmware bugs have been discovered with that. Due to absence of formal
conformace test suite for SCMI, we have to workaround them in the kernel for
now :(.

Regards,
Sudeep

-->8

The following changes since commit 44dbdf3bb3f44bf08897ed5f22eb262edcf3d926:

  firmware: arm_scmi: Fix incorrect error propagation in scmi_voltage_descriptors_get (2022-06-12 19:59:55 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-fixes-5.19-2

for you to fetch changes up to 4ce7e51dc712f8a006ce6abcc49f788c79287c03:

  firmware: arm_scmi: Remove usage of the deprecated ida_simple_xxx API (2022-06-27 16:58:14 +0100)

----------------------------------------------------------------
Arm SCMI firmware driver fixes for v5.19

Few more fixes to address:
1. Issue reported on Juno with HDLCD clock which turned out to be yet
   another firmware issue. The firmware is not conformant to the spec and
   we now have to workaround as this may be copied to other platforms as
   well. The spec expects to return size of 3 for a range clock rate
   description while the firmware returns 1. We have other ways to validate
   all the 3 entries the driver reads are polpulated and we use the same
   to workaround this firmware bug.

2. Optee transport not setting the correct reponse length which is similar
   to the one reported earlier on Rockchip platform.

3. Drop the usage of the deprecated ida_simple_{get,remove} and migrate to the
   ida_{alloc,free}

----------------------------------------------------------------
Bo Liu (1):
      firmware: arm_scmi: Remove usage of the deprecated ida_simple_xxx API

Cristian Marussi (1):
      firmware: arm_scmi: Relax CLOCK_DESCRIBE_RATES out-of-spec checks

Vincent Guittot (1):
      firmware: arm_scmi: Fix response size warning for OPTEE transport

 drivers/firmware/arm_scmi/bus.c       |  6 +++---
 drivers/firmware/arm_scmi/clock.c     | 26 +++++++++++++++++++++++++-
 drivers/firmware/arm_scmi/driver.c    |  1 +
 drivers/firmware/arm_scmi/optee.c     |  7 ++++++-
 drivers/firmware/arm_scmi/protocols.h |  3 +++
 5 files changed, 38 insertions(+), 5 deletions(-)