Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2872328ybn; Thu, 26 Sep 2019 19:41:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwS5B5CgVZRXOuvPFCvInfpPbq0y6UwW4jGsSEKGCBSUXerUhisWBv3yS3iuyegAjN2A81B X-Received: by 2002:aa7:cdd6:: with SMTP id h22mr2161242edw.132.1569552106009; Thu, 26 Sep 2019 19:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569552106; cv=none; d=google.com; s=arc-20160816; b=WpZaryMVL28h6zcSFzTaLg/vZpotdX3pzuAxWxN/h+d4NUPN40EhlxRWIc1E7Gfih/ 2xJKqEwMOloatk9T9VtNWWGWVu7VVmB7dkdq3lixXuRqcDKXs+aaDS81bGONUNpBiDh1 Z6xfYNOe0jCfFGzALtJQw1HdFtlKKx//WkbIusJBqYlCdAwzoo90Owoq4EqAd7t2x89a vLUAuayIMpiJEkmaXJNWWBNitytiqQo7RWLTBBMl1Ktl5mHn0Ij7njGqVzu71+xWP7RG X3e833lalyMCqhbkxiPO2GoNH2q/DLjc+hrcGwhw41ESsK2kmrhGEW3F5dWHF2uf7FqJ bzXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=sXqrW7yAo32sElBZR5xyrbNlxSROErm0IRlzCqPpItk=; b=ZEaZQ94E6005HqyygWTWy2DZoyhht8okfHCvv4eRTR7/aisVcbyy08XWIRl2N7ON2K 1pyeKPd/4DuBdYWAcZpFc+aXK7vQMp0yyKshwOYR2geSDZDH47W5B9FtccDbBkpvfSt0 +CMbPQ/xZVXxZuniymzm+a3P+PLbxn4A6fY9hAJZldrdvFQc6mHpGYH67CMPyWWFKL1q d1WSRsrJ86M06srVmTZI66erIQsv8zSXAQRbO+Hx07Vyw70awrRSQKUBWI+nBYf/soV2 v8OWaRft1i2Wtvl5mlEDH00tHF57fUK9uxCIrX/Q7KYn+1HKCY+iPeY9Ky5gfS3FiZ4u ZNSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="kd/IfVGY"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l23si691094eds.310.2019.09.26.19.41.22; Thu, 26 Sep 2019 19:41:45 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="kd/IfVGY"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728643AbfI0Cj3 (ORCPT + 99 others); Thu, 26 Sep 2019 22:39:29 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44505 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728407AbfI0Cj3 (ORCPT ); Thu, 26 Sep 2019 22:39:29 -0400 Received: by mail-pg1-f195.google.com with SMTP id i14so2588292pgt.11; Thu, 26 Sep 2019 19:39:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=sXqrW7yAo32sElBZR5xyrbNlxSROErm0IRlzCqPpItk=; b=kd/IfVGYmMQNbQcDDOCSY55fwhH56/Y6UCJzE30CmzH3SGhBwitZue+fzuNuJUyUud kTiLuo05tHAmYhcOBYX2GGrbfYkifOyTGWbuCrBaK6zYdJ/N1utzoN0QpOFj6DPLtlXy 8UuhuEU9LcRBRr5A5B56tMngTaPZLRIytqXaeK/khvr0+l2Y2gGO2z3nlkGbYDQT3upD Ub9czauyLNoYKQWbvlnuh+4QhVcpT9w+ObXYNACW2uyQuCtRTGxRZGBD5Mz1Hlf6xSPm w/onnvel587eomsUQXPQmKOnrmB74R1MPSoofeoEL36yFaiK7Q+H7ySup4B+GLi4O/UZ X3eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=sXqrW7yAo32sElBZR5xyrbNlxSROErm0IRlzCqPpItk=; b=dw9WLEnzQDGTu0Y1bANTHhZK+Xs7a94jGKCw6eBLA9/ZkrLv7TIebBoTIYBIOzOu36 bvSDtotN3skOZGzy/sPJfg7crtUAOasbdg6dgdgifXJ7yxdIv2+J6q5k6YXRQYQFGusZ E4CIH5uByD4XNhvfsYunmnvxltYnP57pRGQCEhms19pq6gpo70/HL8rqSbQRcVgl5vPu aV2oSbqAbuRQOexeOoY8kJWm0UxI98OjL3q4AwyfcYGlMk8rctGIBH3iJ3tozlTJv6Ms sENlv5ZUvDG1W5m+cC9zR3uP4TtXILa94KxL0ZwrEVYvGlhqgjIVnmTXIUrdQqNEC7C6 FNQQ== X-Gm-Message-State: APjAAAWTz66pZDtrJwsYSujH1TQr5MYW1DEgvm2E82EJj6EC1eqxiPm7 2lZaurVCPOVi4r+CKRC7f2U= X-Received: by 2002:a65:530c:: with SMTP id m12mr6826662pgq.309.1569551968268; Thu, 26 Sep 2019 19:39:28 -0700 (PDT) Received: from [10.230.28.130] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id m4sm2813746pjs.8.2019.09.26.19.39.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Sep 2019 19:39:27 -0700 (PDT) Subject: Re: [PATCH V9 2/2] mailbox: introduce ARM SMC based mailbox To: Peng Fan , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "jassisinghbrar@gmail.com" , "sudeep.holla@arm.com" , "andre.przywara@arm.com" Cc: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx References: <1569377224-5755-1-git-send-email-peng.fan@nxp.com> <1569377224-5755-3-git-send-email-peng.fan@nxp.com> From: Florian Fainelli Message-ID: <9dff720e-2e81-a7b8-ff52-1f2c3d257368@gmail.com> Date: Thu, 26 Sep 2019 19:39:26 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <1569377224-5755-3-git-send-email-peng.fan@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/24/2019 7:09 PM, Peng Fan wrote: > From: Peng Fan > > This mailbox driver implements a mailbox which signals transmitted data > via an ARM smc (secure monitor call) instruction. The mailbox receiver > is implemented in firmware and can synchronously return data when it > returns execution to the non-secure world again. > An asynchronous receive path is not implemented. > This allows the usage of a mailbox to trigger firmware actions on SoCs > which either don't have a separate management processor or on which such > a core is not available. A user of this mailbox could be the SCP > interface. > > Modified from Andre Przywara's v2 patch > https://lore.kernel.org/patchwork/patch/812999/ > > Cc: Andre Przywara > Signed-off-by: Peng Fan Reviewed-by: Florian Fainelli Thanks for your persistence working on this! -- Florian