Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp469742ybl; Fri, 30 Aug 2019 02:32:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKFqU1s511gC+wqxJ14r3LH/u4UJCxEraMyy1sg2PLHscKJXfS0shRsd+fza6sn3wnJ9LH X-Received: by 2002:a62:5501:: with SMTP id j1mr16663634pfb.166.1567157552852; Fri, 30 Aug 2019 02:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567157552; cv=none; d=google.com; s=arc-20160816; b=FIwIfEl1n0Lw5pYN687J2z+VBkFSzmn0qBhxLNXNvY7e46R0WoYllnEaL8pneZdFXh yeldUZtRnAJk1VcJs+S5f/1nfeQmi60Nic/fu5FOfGvvDPK9n1c8f83zas+xZ+G/W8Lk OrX+0rsgkZDxopDSye7OEeUilAAkIF3Js8Ajqy3lKm5KbQVSPOrd6xarHQvEyfqEu5w+ ppRsUuYlCEE3YWrLptVObFpHiu2qUU4Ox4xu1wG+dxunMJekc57w/Scws9nkwuM5z+7T gTpxVf11PYkfdsSRoh83L2EDqZI0xyb6dLKBSqICcRZuoS1L3ZF+XOWhJqd47GIaZ4b/ QCkw== 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=LXC1VHgbZ0E1cqy7JkckOgnT83z8gRnsz0NplEvI/AI=; b=nsWDedDbCFRWWOAsePAy3WhNQlZ7/CbS3FPcw5PvCh33B+9a0//lL2odb8+9wwUKhC WcIUc3i9mPB/tw8bKJJ8MwkuWV88RJ1SDq6OUTStaWI4sKHlYyjqYpvoMlL2pH0A/+Si NMRJtxagetIYE2Yi4KUU7pTfo86HeaVhX2S4DgCIWtL68gu2W+zLiY/lsgCqQT0nfRgb B5bFNx2uOSDo6bB6xz00sGwuiAwbroOPBv/ccXq0vWwb++5wv0rNtjD2RTIEDWGJH1xE o1ZW/QaGgm+9GVW+LZaPyAFUIli4RxipypA/ihfmb3fYUDnRKr7EtecRYmsnPOM4S54H Gy4Q== 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 o21si4315549pll.169.2019.08.30.02.32.16; Fri, 30 Aug 2019 02:32:32 -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; 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 S1727901AbfH3JaN (ORCPT + 99 others); Fri, 30 Aug 2019 05:30:13 -0400 Received: from foss.arm.com ([217.140.110.172]:57042 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727242AbfH3JaM (ORCPT ); Fri, 30 Aug 2019 05:30:12 -0400 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 D1382344; Fri, 30 Aug 2019 02:30:11 -0700 (PDT) Received: from bogus (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 60AAF3F718; Fri, 30 Aug 2019 02:30:10 -0700 (PDT) Date: Fri, 30 Aug 2019 10:30:05 +0100 From: Sudeep Holla To: Peng Fan Cc: Jassi Brar , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "andre.przywara@arm.com" , "f.fainelli@gmail.com" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx , Sudeep Holla Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox Message-ID: <20190830093005.GA31297@bogus> References: <1567004515-3567-1-git-send-email-peng.fan@nxp.com> <1567004515-3567-2-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Fri, Aug 30, 2019 at 07:37:41AM +0000, Peng Fan wrote: > Hi Jassi, > > > I think there could be channel for TEE, and channel for Linux. > > > For virtualization case, there could be dedicated channel for each VM. > > > > > I am talking from Linux pov. Functions 0xfe and 0xff above, can't both be > > active at the same time, right? > > If I get your point correctly, > On UP, both could not be active. On SMP, tx/rx could be both active, anyway > this depends on secure firmware and Linux firmware design. > Just to confirm, we can't have SMC/HVC based Rx channel as there's no *architectural* way to achieve it. So it can be based on some interrupt from secure side and hence will be a *different* type of channel/controller. Sorry to make this point repeatedly, but juts to be absolutely clear: as it stands, SMC/HVC can be used only for Tx today. -- Regards, Sudeep