From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF80EC3F2CD for ; Fri, 28 Feb 2020 16:18:42 +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 ABAC92467B for ; Fri, 28 Feb 2020 16:18:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gMo9NFCK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ABAC92467B 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+infradead-linux-arm-kernel=archiver.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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: 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: List-Owner; bh=Wg/IVHhKR5jw2yBEdPaPxE3osixgYcMstABdVpInquE=; b=gMo9NFCKJWmFYv LdG0lYPPEzJ5UWYqGu3cpWHP3X9c/9gjq4GxoptH508FoBlY66QUyVwd2Sq+Tm2yRceJkQgsYb1io g+6n4oWC2N21JnnVz5jkNVMojrdxSvxyfO2+1+BWaG/REwWPwMgkY7krYJfl7lPGPUD3mdJEiUWpT b1i3sPP6/vES0Ajj1Dywr63vpvxx9Da6GXEOqe2byX+61lwS4x2/ONohvl2vDrRKCUcWDtHglAepj xE3L0qrTqds5GnEeYwJU01YkhBwyzG9cB98NkIJHlr5oU9ZqI6HnM7SR3MFUi+w/FVO5NvMCme2Ub HKp3+ap2wXxoSanXVRhQ==; 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 1j7iLT-0005yy-FA; Fri, 28 Feb 2020 16:18:35 +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 1j7iLR-0005xx-64 for linux-arm-kernel@lists.infradead.org; Fri, 28 Feb 2020 16:18:34 +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 8F4BA31B; Fri, 28 Feb 2020 08:18:30 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0B08E3F73B; Fri, 28 Feb 2020 08:18:28 -0800 (PST) Date: Fri, 28 Feb 2020 16:18:20 +0000 From: Sudeep Holla To: peng.fan@nxp.com Subject: Re: [PATCH V3 2/2] firmware: arm_scmi: add smc/hvc transport Message-ID: <20200228161820.GA17229@bogus> References: <1582701171-26842-1-git-send-email-peng.fan@nxp.com> <1582701171-26842-3-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1582701171-26842-3-git-send-email-peng.fan@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200228_081833_274176_EA0931FC X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. 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: mark.rutland@arm.com, robh@kernel.org, f.fainelli@gmail.com, devicetree@vger.kernel.org, viresh.kumar@linaro.org, Sudeep Holla , linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-imx@nxp.com, andre.przywara@arm.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Feb 26, 2020 at 03:12:51PM +0800, peng.fan@nxp.com wrote: > From: Peng Fan > > Take arm,smc-id as the 1st arg, and protocol id as the 2nd arg when > issuing SMC/HVC. Since we need protocol id, so add this parameter And why do we need protocol id here ? I couldn't find it out myself. I would like to know why/what/how is it used in the firmware(smc/hvc handler). I hope you are not mixing the need for multiple channel with protocol id ? One can find out id from the command itself, no need to pass it and hence asking here for more details. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel