From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751942AbcEAJkk (ORCPT ); Sun, 1 May 2016 05:40:40 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:40607 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbcEAJki (ORCPT ); Sun, 1 May 2016 05:40:38 -0400 Date: Sun, 1 May 2016 11:40:36 +0200 From: Pavel Machek To: Jarkko Sakkinen Cc: gregkh@linuxfoundation.org, Andy Lutomirski , Borislav Petkov , Boris Ostrovsky , "open list:STAGING SUBSYSTEM" , Ingo Molnar , Kristen Carlson Accardi , "open list:DOCUMENTATION" , open list , Mathias Krause , Thomas Gleixner , Wan Zongshun Subject: Re: [PATCH 0/6] Intel Secure Guard Extensions Message-ID: <20160501094036.GC14243@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160429220806.GA3766@intel.com> <20160429201744.GD27821@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! On Fri 2016-04-29 23:17:44, Jarkko Sakkinen wrote: > On Tue, Apr 26, 2016 at 09:00:10PM +0200, Pavel Machek wrote: > > On Mon 2016-04-25 20:34:07, Jarkko Sakkinen wrote: > > > The firmware uses PRMRR registers to reserve an area of physical memory > > > called Enclave Page Cache (EPC). There is a hardware unit in the > > > processor called Memory Encryption Engine. The MEE encrypts and decrypts > > > the EPC pages as they enter and leave the processor package. > > > > What are non-evil use cases for this? > > I'm not sure what you mean by non-evil. Well, that's kind of hard to explain. > > What are non-evil use cases for this? > > Virtual TPMs for containers/guests would be one such use case. ..but as long as Intel has to sign each piece of software so that it can use SGX, it is unsuitable for Linux kernel. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html