Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1710099ybh; Thu, 23 Jul 2020 16:08:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/sonkci8jsdRXp38ltFb37+YRlBqfw2ZbZ9vuwokQb3NxHH6cJlznfHQfJIboHTUZoz8b X-Received: by 2002:a17:906:3f82:: with SMTP id b2mr2811077ejj.240.1595545701646; Thu, 23 Jul 2020 16:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595545701; cv=none; d=google.com; s=arc-20160816; b=MA6iecFrOqt93Jzd8adVj9TgiOeWid8Te49UB8SMR4LirejPzGCJj2zlOWZ0hqRGOv eBM1GyVESc6DlmpHZANfqA93jyLabcjaybrH3exhm6p8CgqIwleDuIH4cn59POzdjeEV SM2SPF8edoJdVRFqgqqJ+swCAq9Xn7dIimIQ5BYKu84hrlTMHLoLo9ekgEV3RHWvOuEU 9UJ91W3WBV/vqNVHrRd7udZMLoyWC8tXGX3pLN2MeZcmZlK50sd/pm5jVbu80mZfDEHt ZMiCxHmNopKpTze/JsPZe0Nema+0fTEUpStz+w8XzWRMP8yO6EpRSEGqk76j8SWoRHWW cKAQ== 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=Oh+ogmc/TZuhxAnxxb6YKUirrCeSsjN12kP5BQhIWsQ=; b=XMljPuO6ck57xC4J+e6i3z0AWwhA9JW2bMxPcNTHdosVeRBDCnGwiGCdkws54vFWXI cHyP18CKNoP0sZTv1lM14LFIC8cAFv0uuWnaclsnDSItRoarrhbKauPLcl3KHgEs+e5L wt3tsoN2054S8fRFOU2fybHruFKqDnxWDpmaEW933FSZ4WtxN/rsZnbvD/QXwppnDF3s mB2Jkl3xjppJM/3dUZQgRo5WWhEkN61AzTRwCH+V0nKWRAx6KPfUUK8wjo4r8tOXZNjv 6Uh9TUmQEvXT0hAXyOD4QMENPGksJ30l17jJyyPF0QQut+EuV1pv5bYM1n0u25yvQMV2 LMFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=mHEcJO4W; 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 s24si2993996ejd.737.2020.07.23.16.07.59; Thu, 23 Jul 2020 16:08:21 -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=mHEcJO4W; 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 S1727901AbgGWXEz (ORCPT + 99 others); Thu, 23 Jul 2020 19:04:55 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:29539 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726833AbgGWXEy (ORCPT ); Thu, 23 Jul 2020 19:04:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1595545494; x=1627081494; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=Oh+ogmc/TZuhxAnxxb6YKUirrCeSsjN12kP5BQhIWsQ=; b=mHEcJO4W8ptFk8hwAoN5u79eJXEcoIH3//qJOI75geuqOQHidi0LgqrS 2o5uSRu9kU87t6qQ07bVWjpHdifigKtUz6lteBL/hxxwFaT5s5MEzxj/z 30dAJuR6eAxKvqeVhkOHPIg1UxZRHefN+7ASj+EtYqkfQ4l+ZroRxozxl s=; IronPort-SDR: FVx39MKBJlHtHaCBgRLXtkRO+PxGL83OjnX1sX954gFXGeY9H4BhtjzuZbeUyGkP0p3sCNNTBD ghnX+ak/hwTQ== X-IronPort-AV: E=Sophos;i="5.75,388,1589241600"; d="scan'208";a="62428285" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 23 Jul 2020 23:04:48 +0000 Received: from EX13MTAUWC001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com (Postfix) with ESMTPS id 73454A2432; Thu, 23 Jul 2020 23:04:46 +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, 23 Jul 2020 23:04:45 +0000 Received: from 38f9d3867b82.ant.amazon.com (10.43.160.26) by EX13D20UWC001.ant.amazon.com (10.43.162.244) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 23 Jul 2020 23:04:40 +0000 Subject: Re: [PATCH v5 01/18] nitro_enclaves: Add ioctl interface definition To: "Paraschiv, Andra-Irina" , Greg KH CC: , Anthony Liguori , Benjamin Herrenschmidt , Colm MacCarthaigh , David Duncan , Bjoern Doebel , David Woodhouse , Frank van der Linden , Karen Noel , Martin Pohlack , Matt Wilson , Paolo Bonzini , Balbir Singh , Stefano Garzarella , Stefan Hajnoczi , Stewart Smith , Uwe Dannowski , Vitaly Kuznetsov , , , Alexander Graf References: <20200715194540.45532-1-andraprs@amazon.com> <20200715194540.45532-2-andraprs@amazon.com> <20200721121225.GA1855212@kroah.com> <5dad638c-0ef3-9d16-818c-54e1556d8fc8@amazon.com> <20200722095759.GA2817347@kroah.com> <20200723105409.GC1949236@kroah.com> From: Alexander Graf Message-ID: Date: Fri, 24 Jul 2020 01:04:39 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Originating-IP: [10.43.160.26] X-ClientProxiedBy: EX13D37UWA002.ant.amazon.com (10.43.160.211) To EX13D20UWC001.ant.amazon.com (10.43.162.244) 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 CgpPbiAyMy4wNy4yMCAyMDoyMSwgUGFyYXNjaGl2LCBBbmRyYS1JcmluYSB3cm90ZToKPiAKPiAK PiBPbiAyMy8wNy8yMDIwIDEzOjU0LCBHcmVnIEtIIHdyb3RlOgo+PiBPbiBUaHUsIEp1bCAyMywg MjAyMCBhdCAxMjoyMzo1NlBNICswMzAwLCBQYXJhc2NoaXYsIEFuZHJhLUlyaW5hIHdyb3RlOgo+ Pj4KPj4+IE9uIDIyLzA3LzIwMjAgMTI6NTcsIEdyZWcgS0ggd3JvdGU6Cj4+Pj4gT24gV2VkLCBK dWwgMjIsIDIwMjAgYXQgMTE6Mjc6MjlBTSArMDMwMCwgUGFyYXNjaGl2LCBBbmRyYS1JcmluYSB3 cm90ZToKPj4+Pj4+PiArI2lmbmRlZiBfVUFQSV9MSU5VWF9OSVRST19FTkNMQVZFU19IXwo+Pj4+ Pj4+ICsjZGVmaW5lIF9VQVBJX0xJTlVYX05JVFJPX0VOQ0xBVkVTX0hfCj4+Pj4+Pj4gKwo+Pj4+ Pj4+ICsjaW5jbHVkZSA8bGludXgvdHlwZXMua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