mbox series

[GIT,PULL] firmware: arm_scmi: Fixes for v6.2

Message ID 20230106093909.652657-1-sudeep.holla@arm.com (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] firmware: arm_scmi: Fixes for v6.2 | expand

Pull-request

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

Message

Sudeep Holla Jan. 6, 2023, 9:39 a.m. UTC
Hi ARM SoC Team,

Please pull !

Regards,
Sudeep

-->8

The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

  Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

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

for you to fetch changes up to e325285de2cd82fbdcc4df8898e4c6a597674816:

  firmware: arm_scmi: Fix virtio channels cleanup on shutdown (2023-01-03 16:50:44 +0000)

----------------------------------------------------------------
Arm SCMI fixes for v6.2

Few fixes addressing:
1. Possible compromise with the shorter message size from a misbheaving
   SCMI platform firmware. The shmem accesses are now hardened to handle
   the same in fetch_notification and fetch_response.

2. Possible unsafe locking scenario which is solved by calling
   virtio_break_device() before getting hold of vioch->lock.

3. Possible stale error status reported from a previous message being
   used again as it is not cleared.

----------------------------------------------------------------
Cristian Marussi (4):
      firmware: arm_scmi: Clear stale xfer->hdr.status
      firmware: arm_scmi: Harden shared memory access in fetch_response
      firmware: arm_scmi: Harden shared memory access in fetch_notification
      firmware: arm_scmi: Fix virtio channels cleanup on shutdown

 drivers/firmware/arm_scmi/driver.c | 2 ++
 drivers/firmware/arm_scmi/shmem.c  | 9 ++++++---
 drivers/firmware/arm_scmi/virtio.c | 7 ++++++-
 3 files changed, 14 insertions(+), 4 deletions(-)