Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1158495

Re: [PATCH V3 2/2] tee: add OP-TEE driver

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH V3 2/2] tee: add OP-TEE driver
Date Thu, 04 Jun 2015 14:10:01 +0200
Message-ID <pxC89-lr-1@gated-at.bofh.it> (permalink)
References <pqhrP-8cw-3@gated-at.bofh.it> <pqhrP-8cw-1@gated-at.bofh.it> <prt7A-7H7-17@gated-at.bofh.it> <psb8B-6a0-5@gated-at.bofh.it>
X-Original-To Jens Wiklander <jens.wiklander@linaro.org>
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP"
Content-Disposition inline
X-Cookie Don't vote -- it only encourages them!
User-Agent Mutt/1.5.23 (2014-03-12)
X-Sa-Exim-Connect-IP 94.175.94.161
X-Sa-Exim-Mail-From broonie@sirena.org.uk
X-Sa-Exim-Version 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-Sa-Exim-Scanned Yes (on mezzanine.sirena.org.uk)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 50
Organization linux.* mail to news gateway
X-Original-Cc Mark Rutland <mark.rutland@arm.com>, "valentin.manea@huawei.com" <valentin.manea@huawei.com>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "javier@javigon.com" <javier@javigon.com>, "emmanuel.michel@st.com" <emmanuel.michel@st.com>, Herbert Xu <herbert@gondor.apana.org.au>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "jean-michel.delorme@st.com" <jean-michel.delorme@st.com>, Jason Gunthorpe <jgunthorpe@obsidianresearch.com>, "tpmdd-devel@lists.sourceforge.net" <tpmdd-devel@lists.sourceforge.net>, Rob Herring <robh+dt@kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>
X-Original-Date Thu, 4 Jun 2015 13:00:05 +0100
X-Original-Message-ID <20150604120005.GA10283@sirena.org.uk>
X-Original-References <1431671667-11219-1-git-send-email-jens.wiklander@linaro.org> <1431671667-11219-3-git-send-email-jens.wiklander@linaro.org> <20150518131850.GA7064@leverpostej> <20150520121648.GA9819@ermac>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1158495

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, May 20, 2015 at 02:16:48PM +0200, Jens Wiklander wrote:

> > > +#define OPTEE_SMC_SHM_NONCACHED                0ULL
> > > +#define OPTEE_SMC_SHM_CACHED           1ULL

> > What precise set of memory attributes do these imply?

...

> OP-TEE is more or less always compiled for a specific platform so if the
> kernel uses some other mapping for a particular platform we'll change the
> OP-TEE settings to be compatible with the kernel on that platform.

I'm not convinced that's a realistic assumption going forwards - I
certainly hope it isn't.  Currently TEE code tends to be only built for
verticial systems because of this lack of standardiation (and the fact
that so much is proprietary at the minute) but hopefully one of the
results of having a reusable solution in the standard kernel with an
open platform for the secure side will be that people will be more able
to use this, perhaps in applications where things like single kernel
support are much more important than they are for the environments where
TEEs are currently deployed.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH V3 2/2] tee: add OP-TEE driver Mark Brown <broonie@kernel.org> - 2015-06-04 14:10 +0200

csiph-web