From patchwork Tue Jun 27 14:41:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9811985 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8867A603D7 for ; Tue, 27 Jun 2017 14:43:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 774AA20007 for ; Tue, 27 Jun 2017 14:43:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BD3D2861B; Tue, 27 Jun 2017 14:43:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9FE2520007 for ; Tue, 27 Jun 2017 14:43:49 +0000 (UTC) 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:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=56W7XlNEjoZaOAlIhZPtGTgAdGSNqQvwNNH2XnlHKkM=; b=GKzx+r/aVZWuaL OjtlzkbjcVhFu73ZZSGgZvDjaUMeftvOFuqX5t67dRTeEM1JtdW2kn1dyghRKUF6Lk9fUvjG+74Yz UaKapAcxX9D8CXabiUpr+sX/P4A1XGt/6oXc9rzCX1kEE2Y5fNLwju1eB5YD30milNYSAxKnh0f0P EwmKanvJmjAoqq3giLSrGvLHsF+GjeOny3JSOzSaom6eYYrTliUwdXGV7Q0U8CJleZLeQ9Jmb3lXt qrHiKVXQOWxU4IfCpSDHQWbDep/AS0xV0S8SGLdxdZz+w5xgCZ5vQmfhU0Z3Rc6fP0EpFwyl1AUtQ n9vhfNb/dL8vKHMvTLOg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dPriS-0001eH-M7; Tue, 27 Jun 2017 14:43:44 +0000 Received: from mail-by2nam03on0629.outbound.protection.outlook.com ([2a01:111:f400:fe4a::629] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPrhW-0000Qb-Fq for linux-arm-kernel@lists.infradead.org; Tue, 27 Jun 2017 14:42:48 +0000 Received: from CY4PR03CA0106.namprd03.prod.outlook.com (10.171.242.175) by MWHPR03MB2576.namprd03.prod.outlook.com (10.168.206.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Tue, 27 Jun 2017 14:42:38 +0000 Received: from BN1AFFO11OLC002.protection.gbl (2a01:111:f400:7c10::190) by CY4PR03CA0106.outlook.office365.com (2603:10b6:910:4d::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11 via Frontend Transport; Tue, 27 Jun 2017 14:42:38 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11OLC002.mail.protection.outlook.com (10.58.53.73) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Tue, 27 Jun 2017 14:42:37 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.86]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5REfmnn032306; Tue, 27 Jun 2017 07:42:33 -0700 From: To: , Subject: [PATCH v2 11/15] staging: fsl-mc: remove dpmng API files Date: Tue, 27 Jun 2017 17:41:31 +0300 Message-ID: <20170627144135.15599-12-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170627144135.15599-1-laurentiu.tudor@nxp.com> References: <20170627144135.15599-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131430481580737617; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(336005)(39450400003)(39840400002)(39850400002)(39400400002)(39410400002)(39860400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(4326008)(85426001)(38730400002)(53936002)(2906002)(8676002)(5660300001)(33646002)(8936002)(86362001)(36756003)(50466002)(54906002)(106466001)(2950100002)(2876002)(356003)(5003940100001)(77096006)(76176999)(86152003)(189998001)(39060400002)(1076002)(50226002)(104016004)(7416002)(498600001)(48376002)(81166006)(47776003)(105606002)(8656002)(50986999)(305945005)(2004002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2576; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1AFFO11OLC002; 1:UvtzqMrvIrvFxQuYgf2QVJif5yFdkH3qsnQoc/P5?= =?us-ascii?Q?SRKIDfQrLXdZC4maG0p2rYe6gwQI6/Yl6B0BchFXVExV/ifX/F5Kx4R4zucE?= =?us-ascii?Q?Hw6Kf5UvECUy9nAsAVYMdslhpyPyHaZxKuH1JOVkwi27olZ0wlT79hvrOm+x?= =?us-ascii?Q?FEfe9rVoEhQuNDOs+yale+HKcjzLHJEim/XIs4m4YyFwAthVMaxwWsoPRZ+q?= =?us-ascii?Q?Gku+hvFJPU9WUMJiKqCdq5f75Ax1M0YaUjv27u7CURfSuu22MhAkQwd/A9Kn?= =?us-ascii?Q?pa5S+8E/mxPCuXmeABFf2AMqBB29tuU0xj4EVRuemhPwh/7aIPXiUjsK9447?= =?us-ascii?Q?Rl+K7DzNMZ3gUi43BjlR4bE06leAN8JIuVuTK/H+WmaP31MDf7ZHPXnqqEv1?= =?us-ascii?Q?36qe1s6SpyrMmJZVLV7Wfvs1GsOuBV8YTIgKaSuurMNSbBqe3PpaS+tCmKFb?= =?us-ascii?Q?NyZIHQM6srl1sXdCjzKjfODFIetPitkBRBwJ35eHPVXL9AdopSzzctrD8S4x?= =?us-ascii?Q?Z/FaND06UG9T1vaPoSuQGFWZB5SIsM5guaUM63mg8q2eYpRLO+uCFi52txji?= =?us-ascii?Q?I+92EQXliCHHNyiHpgJcrGAH31DABWxUaPSUp9WbK66pkSY3vt3Ck/PGA/2Z?= =?us-ascii?Q?mtqO0So5gUbzqCo9r+eIyyNKybcTvUfh5EQlAo5WewcD8L0l5A8uygf+Ul44?= =?us-ascii?Q?NlX+Xgs70azzmm2hs4bmCtrlyiz8ae0aI1+JNFRM3sZs5b+KXEEAUEOb6PS8?= =?us-ascii?Q?TVB2cMKkOI0G2aOAqch0ongu/wirwVFDGDEMJx9HvsNGn22rlePQ77HRGqNN?= =?us-ascii?Q?BZvnvRtXaaHcWFXADOkCW6WWN6vKal+tLKvOmE3BDFtfrC6Z7HiCmJ4lZDcL?= =?us-ascii?Q?9wedJoDd4IKo4Ntdc21G1cn95KNZSyDT1P/TGK4ZPVfwVdKrxu1g7ZEumUNU?= =?us-ascii?Q?m93S0Mvajnk4/pGw3FhusIj1SSg1OPXA7p2QOLZOvkydTon/68N/17426i1s?= =?us-ascii?Q?VGl2y4FOwaxV6PbOUPy2vCfElRumGFlwuhppIB1o5wnRa3SsNrqRRrgmv2hw?= =?us-ascii?Q?lDf6GhkQG91/s0mQ3O5hAEqoSkig?= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 51bdf789-ecc0-49f6-4451-08d4bd6ac1be X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095); SRVR:MWHPR03MB2576; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2576; 3:cVTCczU5pkiFPiDCPFvgNLxnugZXZSa/Pa5qHuIh0Choql/5MYEKDR0xNhM/qh9b9BNjRRHJ2fS+EHSit3qrbCiFDqfxSlgUr2I99ldpXXGfkBSLje/Ry39KmYnno5YbsIzylX516vG01idjyx6tup6qEj34vpw32wJr4cHjUReSTSTr+ipTl/xyRRTyegbE7fR/e75vOj2KhC+SBPJE7ygiav2PZUt57INbN8s73HERZJIjoSOcBU83aKKgpVViklzkqx4EdbyNBKzJX/HF+IEvJEpd7buV/gtybyKHXRXGF4ahZ+hWcAay4qjtcIF5EPbMcQSlks3zTbuMxp3G1+eG5pMsNqq9Z9s55SQ09bfsy9LdIq9f5vXGH25SqRJNDhUVOQPpI7M31URMBJLQUEXeRTLVCAYCMZYu7RDXEKUOm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Antispam-Report-Test: UriScan:(236129657087228)(185117386973197)(48057245064654)(158140799945019)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(13016025)(8121501046)(13018025)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123556025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123559100)(20161123563025)(20161123565025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR03MB2576; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR03MB2576; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2576; 4:FDjWOYwbY1dAwtBrep+o+1l4Uh73AIm4KnjNx64ZWE?= =?us-ascii?Q?SteUQWdaTkqjn+NBgpq1Mc1D7uGG4eUTkiE+AI59tKKEGwuHKZruMFbble+o?= =?us-ascii?Q?t3hr3AZPG3DUSWrBWsopcmfO0EqfdCJo6bkRq97/xXJXGaPOMWFllH6RkqWQ?= =?us-ascii?Q?iLPbhcXu3EOs7ScTYwBSstbd89og3NucDbhhfAG22EVrxGhir0e+pkoMXaDT?= =?us-ascii?Q?PZf8AZ7ukPMn0lhjlmBfgyVSBBTvaZc5HYEkhXb1+V5yep+RkeajRT1rDysH?= =?us-ascii?Q?poAafptuIdwUbjNNlIZm/eHk9ZbOM1osvTt/dr7d+0/zrkGXkwuR/EIsTKGR?= =?us-ascii?Q?k4y9Ark3O4VUo3KqP0shOcqA5wHyo8NvuRbJjumYbWtO9SRRViaf1DVnlSK8?= =?us-ascii?Q?4eHyccJHLsawgDYWEpuy/8DnDHggmOa45f3t3Sw+jOpztAQNm/AMzjKHxcAt?= =?us-ascii?Q?udm4RfsECO7q4x5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oPWDWOQuXF?= =?us-ascii?Q?XC8Dx6aEGR+E9AH8bs42BK2U5cq3TUkEe2y5+ZbMDVGG/8?= X-Forefront-PRVS: 0351D213B3 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2576; 23:Vjl00KfEsXRCKLHLlLiSFeD283d8nit4e+Z9q0NYq?= =?us-ascii?Q?PXnn6WRwRVvvJwlw60QHKdnnXGgNPm7eakDrJw+mQnOhNrGkcVPcVr5mr5WQ?= =?us-ascii?Q?z48s2k/d0/gGdRZm3xf4ujs9zc6TYqMZ19+M+iu4I55EyDrCw0mdNiODFxm2?= =?us-ascii?Q?+zown4GPmUYgAeXBsjs3b0nRoy9sU2nkHit0o9PIaVzLaBMuCYwC7i21b33U?= =?us-ascii?Q?TPkF484ltWOAHRWQd9aABT2jA5KYpr84lKTzhcRtTUAhvgac6vaN/Q0TmBuz?= =?us-ascii?Q?RwMWzmH5kCEzl1qmr+vbeI8hy/czySc6x07u/WKLidDptzNBLvFfU5fn5qR9?= =?us-ascii?Q?pGBFnUjFT7XFnrCUfsOnPlCX8crOo+Ny+U+RamHgGyw4leD7H9Twv5Kw93S+?= =?us-ascii?Q?gKK91SU9ui4RdaqjunoZw2Cege1jjMirdNf72KGGp0HWPpuDK9peiGbsQj2e?= =?us-ascii?Q?/mx3e0az3+VFXKaAdecDrqbPpw+iCDMZu15pStgcvG7Gt6O0ARw1paKGov/N?= =?us-ascii?Q?Xz52YEE9/SLM1EqsSr86NULx6xPkPuYLMgNTwpOkFzheWgY4mrhwyyoeePBv?= =?us-ascii?Q?tt2fsB/FrtUKh0geddA8vLubyI0eVofSiEt1BsOPg31vyRjZ+WcZY6M9RZOI?= =?us-ascii?Q?DtlBhXtTeQxIHfFYiHWYqNPvIYubCoUnFqNqgDM7DIXZt4G1SSU91tMwJ9Y+?= =?us-ascii?Q?1cHNmcdSZry7hGGCJhUjUoh4yCFj2zxEQdj98DTCjasyEcGmsXGKSiuTC8M9?= =?us-ascii?Q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HZfngUQXgZ59HQ6zPohdNg50U6xv0nRBPgYK58TZh6WqZ50DnWG48nfLxQaElR4KFdCd8kXu9pi5OJX4uINXGuZH4+BO+FifYCPYHeWgvAu7Z8b2pbkU4Iq0g1hgtc2gF/KV3DEkpKWfmNBEuBjSwvx29cxGwljeD/7yNnks7q1oJhmK+QPxvTDDv5jyH5jKExcLI/45Hncj10GZx8bXB+Ocyp8xJyb7WKnEFCfwqgHqcTLCM6g1eeO3NXXlsIcjdurABRytVZvifSuQ/nDTopLgQ2K+pSzaInojNwmgrTwGvcbt23S7Ajpk/DxWyDYlgGRyUsWTQxxMXqCVhW2WWnptfLmVDxcHWfVlzLkhgokHaV7JQjPdwtwmq+L0tOGLtA1BI= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 14:42:37.8865 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2576 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170627_074246_628217_25FC62AC X-CRM114-Status: UNSURE ( 6.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, ruxandra.radulescu@nxp.com, arnd@arndb.de, marc.zyngier@arm.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, agraf@suse.de, catalin.horghidan@nxp.com, ioana.ciornei@nxp.com, leoyang.li@nxp.com, bharat.bhushan@nxp.com, linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurentiu Tudor dpmng.h & dpmng.c files expose an API of just one function which is only used by the bus driver. Move that single API in the bus source as static and remove the two files. Signed-off-by: Laurentiu Tudor --- v2: - fix compile error by removing dpmng.c from Makefile drivers/staging/fsl-mc/bus/Makefile | 1 - drivers/staging/fsl-mc/bus/dpmng.c | 74 --------------------------------- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 53 ++++++++++++++++++++++- drivers/staging/fsl-mc/include/dpmng.h | 67 ----------------------------- 4 files changed, 52 insertions(+), 143 deletions(-) delete mode 100644 drivers/staging/fsl-mc/bus/dpmng.c delete mode 100644 drivers/staging/fsl-mc/include/dpmng.h diff --git a/drivers/staging/fsl-mc/bus/Makefile b/drivers/staging/fsl-mc/bus/Makefile index 659eccf..6df407e 100644 --- a/drivers/staging/fsl-mc/bus/Makefile +++ b/drivers/staging/fsl-mc/bus/Makefile @@ -11,7 +11,6 @@ mc-bus-driver-objs := fsl-mc-bus.o \ mc-sys.o \ mc-io.o \ dprc.o \ - dpmng.o \ dprc-driver.o \ fsl-mc-allocator.o \ fsl-mc-msi.o \ diff --git a/drivers/staging/fsl-mc/bus/dpmng.c b/drivers/staging/fsl-mc/bus/dpmng.c deleted file mode 100644 index ad5d5bb..0000000 --- a/drivers/staging/fsl-mc/bus/dpmng.c +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2013-2016 Freescale Semiconductor Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the above-listed copyright holders nor the - * names of any contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * ALTERNATIVELY, this software may be distributed under the terms of the - * GNU General Public License ("GPL") as published by the Free Software - * Foundation, either version 2 of that License or (at your option) any - * later version. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" -#include "../include/dpmng.h" - -#include "dpmng-cmd.h" - -/** - * mc_get_version() - Retrieves the Management Complex firmware - * version information - * @mc_io: Pointer to opaque I/O object - * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' - * @mc_ver_info: Returned version information structure - * - * Return: '0' on Success; Error code otherwise. - */ -int mc_get_version(struct fsl_mc_io *mc_io, - u32 cmd_flags, - struct mc_version *mc_ver_info) -{ - struct mc_command cmd = { 0 }; - struct dpmng_rsp_get_version *rsp_params; - int err; - - /* prepare command */ - cmd.header = mc_encode_cmd_header(DPMNG_CMDID_GET_VERSION, - cmd_flags, - 0); - - /* send command to mc*/ - err = mc_send_command(mc_io, &cmd); - if (err) - return err; - - /* retrieve response parameters */ - rsp_params = (struct dpmng_rsp_get_version *)cmd.params; - mc_ver_info->revision = le32_to_cpu(rsp_params->revision); - mc_ver_info->major = le32_to_cpu(rsp_params->version_major); - mc_ver_info->minor = le32_to_cpu(rsp_params->version_minor); - - return 0; -} -EXPORT_SYMBOL(mc_get_version); - diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index 3dec3e9..75f8dc3 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c @@ -20,11 +20,12 @@ #include #include #include -#include "../include/dpmng.h" #include "../include/mc-sys.h" +#include "../include/mc-cmd.h" #include "fsl-mc-private.h" #include "dprc-cmd.h" +#include "dpmng-cmd.h" /** * Default DMA mask for devices on a fsl-mc bus @@ -60,6 +61,20 @@ struct fsl_mc_addr_translation_range { }; /** + * struct mc_version + * @major: Major version number: incremented on API compatibility changes + * @minor: Minor version number: incremented on API additions (that are + * backward compatible); reset when major version is incremented + * @revision: Internal revision number: incremented on implementation changes + * and/or bug fixes that have no impact on API + */ +struct mc_version { + u32 major; + u32 minor; + u32 revision; +}; + +/** * fsl_mc_bus_match - device to driver matching callback * @dev: the fsl-mc device to match against * @drv: the device driver to search for matching fsl-mc object type @@ -238,6 +253,42 @@ void fsl_mc_driver_unregister(struct fsl_mc_driver *mc_driver) EXPORT_SYMBOL_GPL(fsl_mc_driver_unregister); /** + * mc_get_version() - Retrieves the Management Complex firmware + * version information + * @mc_io: Pointer to opaque I/O object + * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' + * @mc_ver_info: Returned version information structure + * + * Return: '0' on Success; Error code otherwise. + */ +static int mc_get_version(struct fsl_mc_io *mc_io, + u32 cmd_flags, + struct mc_version *mc_ver_info) +{ + struct mc_command cmd = { 0 }; + struct dpmng_rsp_get_version *rsp_params; + int err; + + /* prepare command */ + cmd.header = mc_encode_cmd_header(DPMNG_CMDID_GET_VERSION, + cmd_flags, + 0); + + /* send command to mc*/ + err = mc_send_command(mc_io, &cmd); + if (err) + return err; + + /* retrieve response parameters */ + rsp_params = (struct dpmng_rsp_get_version *)cmd.params; + mc_ver_info->revision = le32_to_cpu(rsp_params->revision); + mc_ver_info->major = le32_to_cpu(rsp_params->version_major); + mc_ver_info->minor = le32_to_cpu(rsp_params->version_minor); + + return 0; +} + +/** * fsl_mc_get_root_dprc - function to traverse to the root dprc */ static void fsl_mc_get_root_dprc(struct device *dev, diff --git a/drivers/staging/fsl-mc/include/dpmng.h b/drivers/staging/fsl-mc/include/dpmng.h deleted file mode 100644 index 170c07d..0000000 --- a/drivers/staging/fsl-mc/include/dpmng.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2013-2016 Freescale Semiconductor Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the above-listed copyright holders nor the - * names of any contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * - * ALTERNATIVELY, this software may be distributed under the terms of the - * GNU General Public License ("GPL") as published by the Free Software - * Foundation, either version 2 of that License or (at your option) any - * later version. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -#ifndef __FSL_DPMNG_H -#define __FSL_DPMNG_H - -/* - * Management Complex General API - * Contains general API for the Management Complex firmware - */ - -struct fsl_mc_io; - -/** - * Management Complex firmware version information - */ -#define MC_VER_MAJOR 8 -#define MC_VER_MINOR 0 - -/** - * struct mc_version - * @major: Major version number: incremented on API compatibility changes - * @minor: Minor version number: incremented on API additions (that are - * backward compatible); reset when major version is incremented - * @revision: Internal revision number: incremented on implementation changes - * and/or bug fixes that have no impact on API - */ -struct mc_version { - u32 major; - u32 minor; - u32 revision; -}; - -int mc_get_version(struct fsl_mc_io *mc_io, - u32 cmd_flags, - struct mc_version *mc_ver_info); - -#endif /* __FSL_DPMNG_H */