From patchwork Fri Mar 27 16:36:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 11462603 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 4318381 for ; Fri, 27 Mar 2020 16:37:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 007EE206E6 for ; Fri, 27 Mar 2020 16:37:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="a8zc/+c3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 007EE206E6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=3XCU3ASoIPlASHCL9ynGv2c1eRxW3FOjgRVMtK++/Y4=; b=a8z c/+c3TlZxESHDbenFFpIX/OoMfjwQzWp8eJCLYHuumgeBODZQMvbj62V4HeN2hNE84X4QFuGgWtXi 9G966i50UaH4WupNHYcX3EMu29hS9jMaqfErw3eLYy4FB2iU1esTJ1VCTVUOLofp6KLDE/dYRhpEK /IMlBqiDoozRuGkxLDKIH1XB3/3XtqhIaw7eHY9ujcyfpABV+FEX9sQFrpLxcNlWIRjEotcRhFjYS gT3ebdxbSXy3JiqMsQV/nLwViPy3JTAIG5w/xg7J8cCkc7keW9tIJNnt2BmCrtFWUPdB2JB/E0cIA uHAG1sMFM5m2S8SDCCY4CAGcV3LHNZw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jHryp-0005wN-79; Fri, 27 Mar 2020 16:37:11 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jHrym-0005vS-F3 for linux-arm-kernel@lists.infradead.org; Fri, 27 Mar 2020 16:37:10 +0000 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 566091FB; Fri, 27 Mar 2020 09:37:07 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 67FE13F71F; Fri, 27 Mar 2020 09:37:06 -0700 (PDT) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Peng Fan Subject: [PATCH 0/4] firmware: arm_scmi: Extend SMC/HVC to support multiple channels Date: Fri, 27 Mar 2020 16:36:50 +0000 Message-Id: <20200327163654.13389-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200327_093708_541590_CF7C708A X-CRM114-Status: UNSURE ( 6.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [217.140.110.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: f.fainelli@gmail.com, linux-imx@nxp.com, Sudeep Holla MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, While merging SMC/HVC transport to SCMI, I did a quick hack to extend it to support multiple channels. I may be missing something obvious, if not the changes required look simple. Some of them could be merged into original patch, but since I am unable to test, I preferred to keep them separate, easy to revert if things break. Regards, Sudeep Tested-by: Peng Fan --- Sudeep Holla (4): 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 drivers/firmware/arm_scmi/smc.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) -- 2.17.1