From patchwork Tue May 12 11:03:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 11542989 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6590014B4 for ; Tue, 12 May 2020 11:04:05 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 5F1AC20731; Tue, 12 May 2020 11:04:05 +0000 (UTC) Delivered-To: soc@kernel.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mail.kernel.org (Postfix) with ESMTP id 06109206A3; Tue, 12 May 2020 11:04:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06109206A3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=sudeep.holla@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6EF4B30E; Tue, 12 May 2020 04:04:04 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6F5E83F71E; Tue, 12 May 2020 04:04:03 -0700 (PDT) Date: Tue, 12 May 2020 12:03:57 +0100 From: Sudeep Holla List-Id: To: ARM SoC Team , SoC Team , ALKML Cc: Arnd Bergmann , Kevin Hilman , Sudeep Holla , Olof Johansson Subject: [GIT PULL] firmware: arm_scmi: updates for v5.8 Message-ID: <20200512110357.GA26454@bogus> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Hi ARM SoC Team, Please pull ! Regards, Sudeep -->8 The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -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.8 for you to fetch changes up to 5a897e3ab42942e0fff51738357b1e0f91690dcf: firmware: arm_scmi: fix psci dependency (2020-05-07 16:28:56 +0100) ---------------------------------------------------------------- ARM SCMI/SCPI updates for v5.8 1. Addition of ARM SMC/HVC as SCMI transport type with required abstraction already in place 2. Initial infrastructure support to add SCMI notifications from platform to agents 3. Miscellaneous fix adding header include guards ---------------------------------------------------------------- Cristian Marussi (5): firmware: arm_scmi: Add notifications support in transport layer firmware: arm_scmi: Rename .clear_notification() transport_ops firmware: arm_scmi: Clear channel on reception of unexpected responses firmware: arm_scmi: Clear channel for delayed responses firmware: arm_scmi: Fix handling of unexpected delayed responses Peng Fan (2): dt-bindings: arm: Add smc/hvc transport for SCMI firmware: arm_scmi: Add smc/hvc transport Sudeep Holla (11): firmware: arm_scmi: Make mutex channel specific firmware: arm_scmi: Drop empty stub for smc_mark_txdone firmware: arm_scmi: Check shmem property for channel availablity firmware: arm_scmi: Drop checking for shmem property in parent node firmware: arm_scmi: Add include guard to linux/scmi_protocol.h firmware: arm_scpi: Add include guard to linux/scpi_protocol.h firmware: arm_scmi: Add receive buffer support for notifications firmware: arm_scmi: Update protocol commands and notification list firmware: arm_scmi: Add support for notifications message processing firmware: arm_scmi: Fix return error code in smc_send_message firmware: arm_scmi: fix psci dependency Documentation/devicetree/bindings/arm/arm,scmi.txt | 3 +- drivers/firmware/arm_scmi/Makefile | 4 +- drivers/firmware/arm_scmi/base.c | 7 + drivers/firmware/arm_scmi/common.h | 11 ++ drivers/firmware/arm_scmi/driver.c | 133 ++++++++++++++---- drivers/firmware/arm_scmi/mailbox.c | 17 +++ drivers/firmware/arm_scmi/perf.c | 5 + drivers/firmware/arm_scmi/power.c | 6 + drivers/firmware/arm_scmi/sensors.c | 4 + drivers/firmware/arm_scmi/shmem.c | 15 ++ drivers/firmware/arm_scmi/smc.c | 153 +++++++++++++++++++++ include/linux/scmi_protocol.h | 6 + include/linux/scpi_protocol.h | 6 + 13 files changed, 340 insertions(+), 30 deletions(-) create mode 100644 drivers/firmware/arm_scmi/smc.c