From patchwork Mon May 14 16:26:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 913092 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fZY3ksWm"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="Wk6XUjld"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40l5h970Xyz9rxs for ; Tue, 15 May 2018 02:27:21 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3Ca0v0ValVeilHWIEE9XpXRmVogaSAIucBnIEwbXxVI=; b=fZY3ksWmBVlNJn LievFqi7LpXD1XgOymDvo4nHn3WVUawziVYaifxvcfK7G6ElTaJ8tSleCHqfgGePJIjOgCz4uJ1Io bVQNlfxZa+bodIPMQ02HZZ4QBLDp3AhvadGmBfJ+fOZTVdZn3mt8I46WDKoskioztE98SvMzUmuIY UYSVpoN+EgV85GYvHWyFuOAt01PfFuoC1zD2CC7ekEB8b4rv9V+WMHQjm0LDV8/GIfRob62oAlPRE N0AP3+xGyUBH8hg0q3xnclDgwHRQWVe+UbxIYSxyfiIEssm/7+sOC/huMhWElUKdh/DfzjNwUw+R0 LNKq1B5IctLxPZkB8eQA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIGJh-0007uQ-B8; Mon, 14 May 2018 16:27:17 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIGIs-0007XL-UN for linux-arm-kernel@bombadil.infradead.org; Mon, 14 May 2018 16:26:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Da1+bSRVGTuKwmU2BHOgc+ZPytq+vIRPcc7q7QWO4zU=; b=Wk6XUjldi58Vor6t1elMfBJ1+7 GEc2B/eqGbJDjhApA1k6VHbK8BRXqaQIS5ZqZyJI+XXUodgdOsfJLtcCr7CoChQ6OfBab1F2EiGVP djpGQQ5Tjj1fWrwnKw2xZVRlFrfO/PixmTkrtCenOCl+KcBhkuVhQ62jPywI8ar9BTjlIYid+crS5 SxIe6abUAo/8hH9S+zJcoXSM1DsWW1RtPy9e50beBTyLEUiPx6z9OM1C/H7YRe+qA9lFa8DjsIf5H Xk50EJWzjZ3mSL0uiZMMj2Dvk0o2SPz79opvFatAEm/rM+S3q/fYHb4Cs6FO1FhMUNxCX6Uyrch9U M1uqoEcw==; Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIGIp-0003pg-Qt for linux-arm-kernel@lists.infradead.org; Mon, 14 May 2018 16:26:24 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 828A71596; Mon, 14 May 2018 09:26:11 -0700 (PDT) Received: from e107155-lin (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 514053F23C; Mon, 14 May 2018 09:26:10 -0700 (PDT) Date: Mon, 14 May 2018 17:26:07 +0100 From: Sudeep Holla To: ARM SoC Team , ALKML , Arnd Bergmann , Kevin Hilman , Olof Johansson Subject: [GIT PULL] firmware: scmi: updates for v4.18 Message-ID: <20180514162607.GC8409@e107155-lin> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180514_122623_944689_D2CEF4A1 X-CRM114-Status: GOOD ( 13.25 ) X-Spam-Score: -5.0 (-----) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-5.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [217.140.101.70 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sudeep Holla Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi ARM-SoC team, Please pull ! Regards, Sudeep --- The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-updates-4.18 for you to fetch changes up to 632de8f542bcd44c756637da0e7d824e7129e496: firmware: arm_scmi: simplify exit path by returning on error (2018-05-10 10:52:00 +0100) ---------------------------------------------------------------- SCMI cleanups for v4.18 This contains all of the trivial review comments that were not addressed as the series was already queued up for v4.17 and were not critical to go as fixes. They generally just improve code readability, fix kernel-docs, remove unused/unnecessary code, follow standard function naming and simplifies certain exit paths. ---------------------------------------------------------------- Sudeep Holla (8): firmware: arm_scmi: improve code readability using bitfield accessor macros firmware: arm_scmi: fix kernel-docs documentation firmware: arm_scmi: rename get_transition_latency and add_opps_to_device firmware: arm_scmi: rename scmi_xfer_{init,get,put} firmware: arm_scmi: drop unused `con_priv` structure member firmware: arm_scmi: remove unnecessary bitmap_zero firmware: arm_scmi: improve exit paths and code readability firmware: arm_scmi: simplify exit path by returning on error drivers/cpufreq/scmi-cpufreq.c | 4 +- drivers/firmware/arm_scmi/base.c | 43 +++++++------- drivers/firmware/arm_scmi/bus.c | 22 ++++---- drivers/firmware/arm_scmi/clock.c | 24 ++++---- drivers/firmware/arm_scmi/common.h | 22 ++++---- drivers/firmware/arm_scmi/driver.c | 109 ++++++++++++++++++------------------ drivers/firmware/arm_scmi/perf.c | 38 ++++++------- drivers/firmware/arm_scmi/power.c | 16 +++--- drivers/firmware/arm_scmi/sensors.c | 20 +++---- include/linux/scmi_protocol.h | 18 ++++-- 10 files changed, 166 insertions(+), 150 deletions(-)