Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1566994ybt; Thu, 2 Jul 2020 08:28:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMtCNPgZRAEh/1uKz2KiDTN6RLyhT76zCoSv6B8CPYx1tvCn73kdwb8zEFdUDLONn4Yde5 X-Received: by 2002:a17:906:12cd:: with SMTP id l13mr28750806ejb.96.1593703694507; Thu, 02 Jul 2020 08:28:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593703694; cv=none; d=google.com; s=arc-20160816; b=ywe1bB2GQn4YsDjp4QlJqSzSbt2TVY/uhcMfroocBvbE43urTIpc79Mcp9vSauSMJc cv/eH/Sm7/jhhPoc3u9QoSH0l0LB4gKqoAVjt5ADSp93/2VXwf1ocQrUbVnBUa5LX/6Z 92Z7XLh04tDAw8kalqddPV7dyBEQWIm3nXUkoA5zw4elejIwkHb12qh7OaIS2s1AJDch 8pOSFv3ITpxhunIL+U2gW3nCge6Iu3KlYKRWkrXqo1P9qvfbDqXIBmqhl3DWk/AArjMB jx2oxHRAz+UDVpoYce2zNdtUBH2rv+MarH+1vrEBkp9OSjkXp7ksa2pajPHlM4wDzqxv vmtQ== 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=nkmDXtaePXWcmJSfN1BNlH1GK4LqQIDWcLPiBV5PH2s=; b=qUP+r4CbfZwxAcT4uLC5rj3hB9S1SM1th4GeLaECaRyWj98Sv6B6u4/69/7jicKNUz qqWS+DsVPwM7cgHaid08D/ybR+rIogGXtTPz5BCILfBqTBDNQ0JK54FRkqQmovOv2mZ8 vObNM8gnxDtoXhXCpnWGpPGambKAc2+Nwnpd8oHJZrfGKZ3AgDUecwgWYKz2SioN/9of dY5Zz2kzNwDYr5/mvfJPPo3wPevduPUf3pGQjXuU7vXV/l5oHchXPoco1zqKynBYzhHr +r4olo6P8+GH+uJyXJUAutNP0mPbiCifFYkWphRMwJEJ7eSOtqwVdxvIC3zsEXDHZA6b PPUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=P5Fo+ozD; 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 t26si6332836edt.427.2020.07.02.08.27.51; Thu, 02 Jul 2020 08:28:14 -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=P5Fo+ozD; 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 S1730367AbgGBPYr (ORCPT + 99 others); Thu, 2 Jul 2020 11:24:47 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:15197 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730195AbgGBPYq (ORCPT ); Thu, 2 Jul 2020 11:24:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1593703486; x=1625239486; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=nkmDXtaePXWcmJSfN1BNlH1GK4LqQIDWcLPiBV5PH2s=; b=P5Fo+ozDrtIcA+LN1oaPberN/9P2DEMnMYI9NX3U6cXbaOvwShyZc635 xi2hndz6zs86EpPSUXFRY7STZFjCmHqKTibL5feInPPtnPFmL6ZwGl41h LAfAtmPvwOdSqUu8g9v48MFO6EwW/58LV7tUPk/c/e7oiRo/TSIbGhNXB k=; IronPort-SDR: 7OfPpNa0i//+CwtAHQ5YfMb5h/bANcQOcdVPx0MyXiJDDqxyK4u4tF7aixXGOvJ9IHM11RMSsu atVPHNMy+t8g== X-IronPort-AV: E=Sophos;i="5.75,304,1589241600"; d="scan'208";a="56915989" 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-9102.sea19.amazon.com with ESMTP; 02 Jul 2020 15:24:40 +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 1639EA1F30; Thu, 2 Jul 2020 15:24:40 +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:39 +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:32 +0000 Subject: Re: [PATCH v4 03/18] nitro_enclaves: Define enclave info for internal bookkeeping 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-4-andraprs@amazon.com> From: Alexander Graf Message-ID: Date: Thu, 2 Jul 2020 17:24:30 +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-4-andraprs@amazon.com> Content-Language: en-US X-Originating-IP: [10.43.160.65] X-ClientProxiedBy: EX13D21UWA001.ant.amazon.com (10.43.160.154) 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 keeps an internal info per each enclave. > = > This is needed to be able to manage enclave resources state, enclave > notifications and have a reference of the PCI device that handles > command requests for enclave lifetime management. > = > Signed-off-by: Alexandru-Catalin 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