Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp196931ybs; Tue, 26 May 2020 07:05:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCEjI2FRSR7PvVupmJInjbqXbBortx1yGDkEkKh3nRrRPVR/K3gHAKFAUFYX8EUQf5aJwi X-Received: by 2002:a17:906:b31a:: with SMTP id n26mr1224862ejz.441.1590501954329; Tue, 26 May 2020 07:05:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590501954; cv=none; d=google.com; s=arc-20160816; b=lVIJyro+HKZjLVRagozxjD0ZX9DVIfdYYoROX6Ssem/6d0W9Gm6sQt9itVKiTCKvUf 5goVUKcsnJjW8HBP4d/W8rC0eLaeR0429f0TlXzM2arIJROGjoIxQ0bHcCaiAdjX8nZl +EEoE8VCdDckU5Q6T7vKjBOrXUnEZ+v8O4WTJGK7li/wACKNtmaf7V8M75MpTX02Vhd/ iWqqYvZu5Eb5d8tOdu8pil+K3gpPNEgCxrlaUHkPzzvIWMRt+gURKBkwNg0E9SWKS+yl dd5Pobc9U0iXbAOsoXrkp5UERsXaQjtOw/+vWkRCdKX8dkx1Dw37nZL7j76neENN1CD7 I4tw== 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=5UAlWa04lGteMMFU4hcRhlsT1EfQUs4xPKXarcSjHjs=; b=hhYbJOFlzPR8w2jiS/i5JubgPksrs3o+RK17qF68zu4Rsol7w7Q6azRPOwNQZLCASu WNifHcdQlZ0LdkD1xrxIZd4Mvw34ReYKugDBAonKlZG5cayxnFDqAz32km5aZ5sZfnS+ udPOoyOr856Js/9LWbr7kbjRU8fcVwzlK2pLUz1rO3Y4n4ywvaicWMRCYe/kCm/BaTTp 4On7pBJ38+PO4/w1MxEYumWuGgPaMwwsJjqd8rvCYa1JG5c2DFaUvYxDW/DZDCGpstZh FoxochDeg9TfE+NodWVZFnRmBEQN2u5UgIY+MEawRXs4c+btbx6gMzzTIqo6TwSWlkPT rFug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=UwlsIPe7; 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 bu24si9107138edb.60.2020.05.26.07.05.28; Tue, 26 May 2020 07:05:54 -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=UwlsIPe7; 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 S1729323AbgEZNlm (ORCPT + 99 others); Tue, 26 May 2020 09:41:42 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:37438 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388968AbgEZNlU (ORCPT ); Tue, 26 May 2020 09:41:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1590500480; x=1622036480; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=5UAlWa04lGteMMFU4hcRhlsT1EfQUs4xPKXarcSjHjs=; b=UwlsIPe7THJf0sStqfIjGMjobRP2Se9LfBf5goZhNcP81VXYXP5qKJ0M 7nOzLOxLFFtKaewmH/06llWrRa1MMREwKFNPkd7gMyQJTNhTwG++3OxHS WFJxJgda13IB2u3C2VaG65ChuZY4rGYA2i3SeZm+f8H+3ZaTEBNSs28fn E=; IronPort-SDR: ogWCptk4AFvCoYrVpjxypAwt5YHRFXkZnnMXv9QLthSYqlTppNVmwAQTer0PfMRPU5giYGi3+/ 7XJOty8bsp3Q== X-IronPort-AV: E=Sophos;i="5.73,437,1583193600"; d="scan'208";a="45994430" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1a-e34f1ddc.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 26 May 2020 13:41:17 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1a-e34f1ddc.us-east-1.amazon.com (Postfix) with ESMTPS id E3CD7A21DF; Tue, 26 May 2020 13:41:14 +0000 (UTC) Received: from EX13D16EUB001.ant.amazon.com (10.43.166.28) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 May 2020 13:41:14 +0000 Received: from 38f9d34ed3b1.ant.amazon.com (10.43.161.253) by EX13D16EUB001.ant.amazon.com (10.43.166.28) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 May 2020 13:41:05 +0000 Subject: Re: [PATCH v3 07/18] nitro_enclaves: Init misc device providing the ioctl interface To: Greg KH , Alexander Graf CC: , Anthony Liguori , Benjamin Herrenschmidt , Colm MacCarthaigh , Bjoern Doebel , David Woodhouse , Frank van der Linden , "Martin Pohlack" , Matt Wilson , Paolo Bonzini , Balbir Singh , Stefano Garzarella , Stefan Hajnoczi , Stewart Smith , Uwe Dannowski , , References: <20200525221334.62966-1-andraprs@amazon.com> <20200525221334.62966-8-andraprs@amazon.com> <20200526065133.GD2580530@kroah.com> <72647fa4-79d9-7754-9843-a254487703ea@amazon.de> <20200526123300.GA2798@kroah.com> From: "Paraschiv, Andra-Irina" Message-ID: <7361cea4-7e2e-3ee6-b47e-b2a8ba22c860@amazon.com> Date: Tue, 26 May 2020 16:40:54 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <20200526123300.GA2798@kroah.com> Content-Language: en-US X-Originating-IP: [10.43.161.253] X-ClientProxiedBy: EX13D06UWC004.ant.amazon.com (10.43.162.97) To EX13D16EUB001.ant.amazon.com (10.43.166.28) 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 CgpPbiAyNi8wNS8yMDIwIDE1OjMzLCBHcmVnIEtIIHdyb3RlOgo+IE9uIFR1ZSwgTWF5IDI2LCAy MDIwIGF0IDAxOjQyOjQxUE0gKzAyMDAsIEFsZXhhbmRlciBHcmFmIHdyb3RlOgo+Pgo+PiBPbiAy Ni4wNS4yMCAwODo1MSwgR3JlZyBLSCB3cm90ZToKPj4+IE9uIFR1ZSwgTWF5IDI2LCAyMDIwIGF0 IDAxOjEzOjIzQU0gKzAzMDAsIEFuZHJhIFBhcmFzY2hpdiB3cm90ZToKPj4+PiArI2RlZmluZSBO RSAibml0cm9fZW5jbGF2ZXM6ICIKPj4+IEFnYWluLCBubyBuZWVkIGZvciB0aGlzLgo+Pj4KPj4+ PiArI2RlZmluZSBORV9ERVZfTkFNRSAibml0cm9fZW5jbGF2ZXMiCj4+PiBLQlVJTERfTU9ETkFN RT8KPj4+Cj4+Pj4gKyNkZWZpbmUgTkVfSU1BR0VfTE9BRF9PRkZTRVQgKDggKiAxMDI0VUwgKiAx MDI0VUwpCj4+Pj4gKwo+Pj4+ICtzdGF0aWMgY2hhciAqbmVfY3B1czsKPj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