Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1565664ybt; Thu, 2 Jul 2020 08:26:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2V4HsKTIBUw61ABvi6ZnB6B2rRnAh/ftOFVSeOgbqw/BkXAFCAEge96Mj+gWo25a8OcFn X-Received: by 2002:a05:6402:234b:: with SMTP id r11mr7575455eda.5.1593703582090; Thu, 02 Jul 2020 08:26:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593703582; cv=none; d=google.com; s=arc-20160816; b=cZGotP/9WG7fpNUJA8ug3r4ua0UjMrruQ8B3aEez0JGcWKr8nyz4FlkiA7ErA1ehLR T4kkEvC7WtKajdzHWyfztt8nrLy1rc9jpUDtNioUzxhOGkZk3nnwS1KWhXFMenFRVZLS E5qomx/UqCzFmq4Gp7foJ37ialaVCG9+0HjPsyr7Gi24eu9zSBkF4n/uFfbuzeEs3Sjl OZ5+4umRgdjGSYIRDx7gpxMLEd9aY4Wr7qAYvBrCDry2XZwQkbL8ufRTIN6ltwKGZdCm 1YfioDeVYsQ+kOYl6HF2eDsivgWTJbOKo3O1tHXvM/X/xkeY5R38ENsmz21+udAbB/7H cxBA== 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:ironport-sdr :dkim-signature; bh=IlEE+mwY2EeET+viiChdK1i+ylGRuwctUmYhriiqkXI=; b=MpZgPiEXs6xJST0p3+HZCVqn1YEbMG4Zgp7tpDsMacBliyhkZD1nOUi6q5LPCQOqdo WbufFKLzGL/xzzCifbZJijkDxX0pV2dsv75XqoA6wBv5mm+d64ePmsxfudmZte+L0pyG FLkvVWJHRE+FEPVV3BhzS+sPPLhayRS1zg8BA2fQ8Xk/E74mFswlMrDRXVum8hS8R2DF jF8QlKaUVXB6UfuAKuuc0UtbEIrdkcyOCHyIqPAUcMdbesZXuBNjZ5UuvdcLmoTMOA00 ysy8oKiUdDxTJ996YeUazvi96Yj9cC00SCtYps81gFvCDdDbtu425h86vl/WzaCh7JWn rjSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=IM+poplq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a28si6568002edj.27.2020.07.02.08.25.59; Thu, 02 Jul 2020 08:26:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=IM+poplq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730350AbgGBPYf (ORCPT + 99 others); Thu, 2 Jul 2020 11:24:35 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:28765 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730090AbgGBPYc (ORCPT ); Thu, 2 Jul 2020 11:24:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1593703472; x=1625239472; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=IlEE+mwY2EeET+viiChdK1i+ylGRuwctUmYhriiqkXI=; b=IM+poplqmHoSyRuA8fSwGRrdIaYLb9Hatsurd8Tu+JbYX39X8xbesmiX M+pq8NJgJyHimxS1xqMb74A5CVvTcQvLxErRsdyPAzy2/ZWiT+/VuclBD TEMIUP/aoq05ccbPDgV/FUV8eOmb1Y+MoSUcbkFdWBAucizw/vKLMRSNJ I=; IronPort-SDR: WLisDY8317emsysH4WhGm+ZObGNeudhV3GsL7ETo2aiZC1i5JxiF2bIGMoFVRdYpE7CuZGZA/r /SXi9NnHVa/Q== X-IronPort-AV: E=Sophos;i="5.75,304,1589241600"; d="scan'208";a="55643964" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2a-e7be2041.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 02 Jul 2020 15:24:31 +0000 Received: from EX13MTAUWC001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2a-e7be2041.us-west-2.amazon.com (Postfix) with ESMTPS id D98B2A2818; Thu, 2 Jul 2020 15:24:29 +0000 (UTC) Received: from EX13D20UWC001.ant.amazon.com (10.43.162.244) by EX13MTAUWC001.ant.amazon.com (10.43.162.135) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 2 Jul 2020 15:24:29 +0000 Received: from 38f9d3867b82.ant.amazon.com (10.43.160.65) by EX13D20UWC001.ant.amazon.com (10.43.162.244) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 2 Jul 2020 15:24:24 +0000 Subject: Re: [PATCH v4 01/18] nitro_enclaves: Add ioctl interface definition To: Andra Paraschiv , CC: Anthony Liguori , Benjamin Herrenschmidt , Colm MacCarthaigh , "Bjoern Doebel" , David Woodhouse , "Frank van der Linden" , Greg KH , Martin Pohlack , Matt Wilson , "Paolo Bonzini" , Balbir Singh , "Stefano Garzarella" , Stefan Hajnoczi , Stewart Smith , Uwe Dannowski , , References: <20200622200329.52996-1-andraprs@amazon.com> <20200622200329.52996-2-andraprs@amazon.com> From: Alexander Graf Message-ID: <402dca8b-8650-777a-5b34-95057d4a42c4@amazon.de> Date: Thu, 2 Jul 2020 17:24:22 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200622200329.52996-2-andraprs@amazon.com> Content-Language: en-US X-Originating-IP: [10.43.160.65] X-ClientProxiedBy: EX13D16UWB004.ant.amazon.com (10.43.161.170) To EX13D20UWC001.ant.amazon.com (10.43.162.244) Content-Type: text/plain; charset="windows-1252"; format="flowed" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22.06.20 22:03, Andra Paraschiv wrote: > The Nitro Enclaves driver handles the enclave lifetime management. This > includes enclave creation, termination and setting up its resources such > as memory and CPU. > = > An enclave runs alongside the VM that spawned it. It is abstracted as a > process running in the VM that launched it. The process interacts with > the NE driver, that exposes an ioctl interface for creating an enclave > and setting up its resources. > = > Signed-off-by: Alexandru Vasile > Signed-off-by: Andra Paraschiv Reviewed-by: Alexander Graf Alex Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879