Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp824975ybf; Fri, 28 Feb 2020 08:20:03 -0800 (PST) X-Google-Smtp-Source: APXvYqz7YT/qCLx3dXVFYeifBbqtwEOcBZ8HrvxL+F5/+DviYrrsJ/0q5aOg2/AXNS+L/sVuVasi X-Received: by 2002:a9d:6e98:: with SMTP id a24mr3871314otr.53.1582906803539; Fri, 28 Feb 2020 08:20:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582906803; cv=none; d=google.com; s=arc-20160816; b=xsXaSk03nQf+h6b30Lof83eEshyZZ0qIc+Ex5xPYgsPkTfggUqT1oRJM8zAJtNqbyo EE8FvfVhfz5MXXPJLubLYo5lRdqiRaajVhvfBqrxyzMdK1h8v9g6JTp+kaCstm6Mw6m5 twaCb3WN8dJrcm70n+XkhCk0ROW7qMRnA1d2TB2OVeyjpBc3ftf8vNxKVA1Sq45zslPY KkT6sJpgZCKWhhNd70hZM0hwvGhBTNb9Y6AdNRx5mlIxHx2hT1j3KYe7ACEckQlPKjwa +wEXxKm5VlN0qk6nlbE091c8GCpnVXzBzV6ywKvd2GFPDRk61XhzFG4cis9bYZ3L5QEe u/tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Pgo4pMRHYVa9dI07QDoxNRq5GdX6XhAY7ZtO+DuzQfE=; b=VDo5hzHj4N6F+/hC/sElSByvcvE+TK9o1q00svez7oa088jSGfEx47O1r1siQclxfi IXWZ9nNd3BcAWSZsGJVvHZqJnqiGuLb/5Qep6Sx2yqfzDzvFw8XIeLfAypuuXZUjBkPY QpHZz8KHc3uHdauElSbAJYyEPL8L+fQQokmTnZiCTO28wjQKbtx8eaja9p/iIzEyxnC9 IYgTtQoNBULAf8gH+Nl/wZOeoKCe/3PTwcCJNHwOivyFQlG3YMm0Ma3i0WRDhTU/+y4y OGCqxe08BnlDdlnNeAJVqOvYpzIKeMNiSiTvIGYKiRQMHc91thCTB2i4vYJpN+ga7pZT 83XA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si1848072otq.217.2020.02.28.08.19.52; Fri, 28 Feb 2020 08:20:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726490AbgB1QSb (ORCPT + 99 others); Fri, 28 Feb 2020 11:18:31 -0500 Received: from foss.arm.com ([217.140.110.172]:40880 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgB1QSb (ORCPT ); Fri, 28 Feb 2020 11:18:31 -0500 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 Cc: robh+dt@kernel.org, mark.rutland@arm.com, robh@kernel.org, viresh.kumar@linaro.org, f.fainelli@gmail.com, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, andre.przywara@arm.com, Sudeep Holla 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-Type: text/plain; charset=us-ascii 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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