From patchwork Mon Sep 14 07:50:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 11773185 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 6F65B14F6 for ; Mon, 14 Sep 2020 07:50:30 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 68D44206A5; Mon, 14 Sep 2020 07:50:30 +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 B8A61217BA; Mon, 14 Sep 2020 07:50:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8A61217BA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=tempfail 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 E63DCD6E; Mon, 14 Sep 2020 00:50:28 -0700 (PDT) Received: from bogus (unknown [10.57.52.41]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A69E83F718; Mon, 14 Sep 2020 00:50:27 -0700 (PDT) Date: Mon, 14 Sep 2020 08:50:18 +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.10 Message-ID: <20200914075018.2rvytvghxyutcbk4@bogus> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20171215 Hi ARM SoC Team, Please pull ! Sorry for the delayed PR, but patches have been in -next for few days now. Regards, Sudeep -->8 The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -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.10 for you to fetch changes up to 66d90f6ecee755e9c19a119c9255e80091165498: firmware: arm_scmi: Enable building as a single module (2020-09-14 07:31:03 +0100) ---------------------------------------------------------------- ARM SCMI updates for v5.10 Couple of main additions: SCMI system protocol support and ability to build SCMI driver as a single module which is needed by some transports like virtio as they may not be ready early during the boot. This also includes constification of scmi ops and related function pointers. ---------------------------------------------------------------- Cristian Marussi (2): firmware: arm_scmi: Add system power protocol support firmware: arm_scmi: Add SCMI device for system power protocol Rikard Falkeborn (3): cpufreq: arm_scmi: Constify scmi_perf_ops pointers firmware: arm_scmi: Constify ops pointers in scmi_handle firmware: arm_scmi: Constify static scmi-ops Sudeep Holla (5): firmware: arm_scmi: Fix NULL pointer dereference in mailbox_chan_free firmware: smccc: Export both smccc functions firmware: arm_scmi: Move scmi bus init and exit calls into the driver firmware: arm_scmi: Move scmi protocols registration into the driver firmware: arm_scmi: Enable building as a single module drivers/cpufreq/scmi-cpufreq.c | 6 +- drivers/firmware/Kconfig | 2 +- drivers/firmware/Makefile | 2 +- drivers/firmware/arm_scmi/Makefile | 6 +- drivers/firmware/arm_scmi/bus.c | 6 +- drivers/firmware/arm_scmi/clock.c | 9 +-- drivers/firmware/arm_scmi/common.h | 26 ++++++- drivers/firmware/arm_scmi/driver.c | 31 ++++++++- drivers/firmware/arm_scmi/mailbox.c | 4 +- drivers/firmware/arm_scmi/notify.c | 2 +- drivers/firmware/arm_scmi/perf.c | 9 +-- drivers/firmware/arm_scmi/power.c | 9 +-- drivers/firmware/arm_scmi/reset.c | 9 +-- drivers/firmware/arm_scmi/sensors.c | 9 +-- drivers/firmware/arm_scmi/smc.c | 2 +- drivers/firmware/arm_scmi/system.c | 131 ++++++++++++++++++++++++++++++++++++ drivers/firmware/smccc/smccc.c | 2 + include/linux/scmi_protocol.h | 32 +++++++-- 18 files changed, 238 insertions(+), 59 deletions(-) create mode 100644 drivers/firmware/arm_scmi/system.c