Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp351703ybz; Fri, 24 Apr 2020 01:21:49 -0700 (PDT) X-Google-Smtp-Source: APiQypIkYr6MmSIszHqGN9xcehod4hpZMfacJmXZG7bNijs0HNgt6jaLbMlEB9Y9fPtgJc55Rd2Y X-Received: by 2002:a17:906:4003:: with SMTP id v3mr6009221ejj.144.1587716508891; Fri, 24 Apr 2020 01:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587716508; cv=none; d=google.com; s=arc-20160816; b=tELBqxbjxpIhQfZx9SeGs03+UFmphVcR5QMXgAWOas31LzrNPQknkYB2gP2k/a4VPm +glDAGpLQkYSWnxrmy5Gx6HKOo2p8OpEYgano5koSXqi4HG2JVw8I4xuuF7zcgXlNpFG 5hWE88k58nCx5tbVeLkQ8lH4fN02rLVVZqRt9i7rZ8DOSd4Y6V9FK5ZedwhNTRPBmINk BjxAPGzPInl214wYiKBbNQnj4agOSZ63gseeSTJjXFhOSvZOaXNm1n0gAHD9M0y6SWEi 47bdawnHkoPw/a6dxr8HB+134C4VhL2pPDGeMXHucGQUsPHquhp5bPN1GcGi6QqGYEsU NVFg== 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=TXFnlEVEDU78EXiEMVImLIntv7UP4r00mvJOb5cx6Ks=; b=K2L5Dz33vhIqXq8+6aRdG1FO3uyXquOuw+hc8cFGE+snTrkhp373Izq51qlH2L6zQO Dex/TdlKxL4WXFaENVfJjlVvcZh3jxpTH2rxzg6tioGLT0MGAf8a+5PsgG4EYKaCItqK 9AZ+vdY2OGiff2REKvYUdihq2LgWkYVNeMri2MXXe5MFLCwrLpud4s/Vie4/FGU9h5bV rMOAgw4K8pYQEizGAUvDNBNIbC3bEIHqz7UcjATbm+wQgsPjMLKIRNbQR2AIE99qqVnN LfrQxEYxTI+4j9yLod9yjpicRqF8+y3NaR09/IqVagul6XCYjDcN9Gaz+c8xD20J5nN/ FEHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=OdW7gT0L; 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.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lc17si2788023ejb.413.2020.04.24.01.21.25; Fri, 24 Apr 2020 01:21:48 -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.com header.s=amazon201209 header.b=OdW7gT0L; 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.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726324AbgDXIUA (ORCPT + 99 others); Fri, 24 Apr 2020 04:20:00 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:21953 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726298AbgDXIT7 (ORCPT ); Fri, 24 Apr 2020 04:19:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1587716398; x=1619252398; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=TXFnlEVEDU78EXiEMVImLIntv7UP4r00mvJOb5cx6Ks=; b=OdW7gT0LQjQ3JpDd8fnRM8dnt4HhMrHOgiRDM3jF4W1YkZkZPQD7875P 57/s3z/PyQiY8alcPUCjwcIFbY6gv8N3UkC2Xp7rG1DvNbmSn9bojUyTj uEILSJ/Euv9KT37vdQ2ATZyzCsXx08RDCsqO2vDoBbxLTnshps24ZgEoq 8=; IronPort-SDR: NJ+R3Myr8HE7d3UMEF7a5axtFkVzwaYrSo66mji2JnlEffg558Cbgx402zlrmjj8YReWdZFfH/ XGwW/kwFuzJQ== X-IronPort-AV: E=Sophos;i="5.73,310,1583193600"; d="scan'208";a="27432411" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2c-6f38efd9.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 24 Apr 2020 08:19:43 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2c-6f38efd9.us-west-2.amazon.com (Postfix) with ESMTPS id 5D9F3A18EB; Fri, 24 Apr 2020 08:19:42 +0000 (UTC) Received: from EX13D16EUB003.ant.amazon.com (10.43.166.99) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 24 Apr 2020 08:19:41 +0000 Received: from 38f9d34ed3b1.ant.amazon.com (10.43.161.203) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 24 Apr 2020 08:19:32 +0000 Subject: Re: [PATCH v1 00/15] Add support for Nitro Enclaves To: "Longpeng (Mike, Cloud Infrastructure Service Product Dept.)" , Paolo Bonzini , CC: Anthony Liguori , Benjamin Herrenschmidt , Colm MacCarthaigh , Bjoern Doebel , David Woodhouse , Frank van der Linden , Alexander Graf , Martin Pohlack , Matt Wilson , Balbir Singh , Stewart Smith , Uwe Dannowski , , , "Gonglei (Arei)" References: <20200421184150.68011-1-andraprs@amazon.com> <18406322-dc58-9b59-3f94-88e6b638fe65@redhat.com> <2aa9c865-61c1-fc73-c85d-6627738d2d24@huawei.com> From: "Paraschiv, Andra-Irina" Message-ID: <7ac3f702-9c5f-5021-ebe3-42f1c93afbdf@amazon.com> Date: Fri, 24 Apr 2020 11:19:21 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <2aa9c865-61c1-fc73-c85d-6627738d2d24@huawei.com> Content-Language: en-US X-Originating-IP: [10.43.161.203] X-ClientProxiedBy: EX13D08UWB004.ant.amazon.com (10.43.161.232) To EX13D16EUB003.ant.amazon.com (10.43.166.99) Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CgpPbiAyNC8wNC8yMDIwIDA2OjA0LCBMb25ncGVuZyAoTWlrZSwgQ2xvdWQgSW5mcmFzdHJ1Y3R1 cmUgU2VydmljZSAKUHJvZHVjdCBEZXB0Likgd3JvdGU6Cj4gT24gMjAyMC80LzIzIDIxOjE5LCBQ YXJhc2NoaXYsIEFuZHJhLUlyaW5hIHdyb3RlOgo+Pgo+PiBPbiAyMi8wNC8yMDIwIDAwOjQ2LCBQ YW9sbyBCb256aW5pIHdyb3RlOgo+Pj4gT24gMjEvMDQvMjAgMjA6NDEsIEFuZHJhIFBhcmFzY2hp diB3cm90ZToKPj4+PiBBbiBlbmNsYXZlIGNvbW11bmljYXRlcyB3aXRoIHRoZSBwcmltYXJ5IFZN IHZpYSBhIGxvY2FsIGNvbW11bmljYXRpb24gY2hhbm5lbCwKPj4+PiB1c2luZyB2aXJ0aW8tdnNv Y2sgWzJdLiBBbiBlbmNsYXZlIGRvZXMgbm90IGhhdmUgYSBkaXNrIG9yIGEgbmV0d29yayBkZXZp Y2UKPj4+PiBhdHRhY2hlZC4KPj4+IElzIGl0IHBvc3NpYm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