Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp411182ybg; Tue, 9 Jun 2020 03:59:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgEsLPDW0rjtgnSYMjnGrOOsW6mD+LGulHhruGCqOIlWAd7ImlTY644YI/hrdhnCGwmq4X X-Received: by 2002:a17:906:c952:: with SMTP id fw18mr24384864ejb.505.1591700345892; Tue, 09 Jun 2020 03:59:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591700345; cv=none; d=google.com; s=arc-20160816; b=tzs+iikG4356+UBP/WeQ/fRQnkOcufp5izeq4Co1QJLf0mMnd56IWsuyXGXzkBrGCa VrRidUpKcWhmfMekJLafpbgWcWsR+cDWwcJj6c3E7usitSuXpEWmHi6wbfJ8ZpRLPEYP ca5eACnLSqoVISS0f0VK4VXEC6WMEd7+aTMUivqvtiOu5MUs1iyh0vfwN+cIYrSNKTQ0 Ad/4YvFVAjcsiQbeTgR71Gh/qUKxg/TpTSN9MUsUmvrc7nRmvX2e0DLICYzoPrOKQGUZ q/lq2x/5hWAe/5iwPhxdKVs+RFn/GlYdLLl5+RUYirG0s73hFKm97ZkHNgCKVdIBL/t+ cV3g== 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=d8gMaNNmximhyQzG6Kal58H6sh8+EGIvUeK+r0l4uhw=; b=CLYd9KPC+pjsmtyxHShVQmEnL00A7+XpMp+Qey3762J+ammubzhK34QSdQb2XfQfkn UNw/l56bxtPDl98X7ER3GEk74xY1tORx2MvwPubr/6Q1IDsgmxRrs+zqqZDQWWqRblDz 39U+LdGX7SeqolkiBLs0LjU0uGRWZXm4mqRtzDjWy5zdQCUUtMc/YGZiak9O/ao+mfZT imoMtKl6Ym6PGDXqTfQv8TjP0/LMVWMkpcqaMMSokTeRL+foG0LaEjte67mtcUO1putB H5aRaUCA7ayzB1QcLUkdiRlAVKLCigRJ69qUx/2mqMJH4i7cFNTvcs6o8gK9nWsUS+HL a0gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=DspMUEni; 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 i25si10246712ejf.719.2020.06.09.03.58.42; Tue, 09 Jun 2020 03:59:05 -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=DspMUEni; 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 S1728318AbgFIKuJ (ORCPT + 99 others); Tue, 9 Jun 2020 06:50:09 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:47935 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728300AbgFIKri (ORCPT ); Tue, 9 Jun 2020 06:47:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1591699658; x=1623235658; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=d8gMaNNmximhyQzG6Kal58H6sh8+EGIvUeK+r0l4uhw=; b=DspMUEnik5GLo3FFXW6z58Xu7H/Ti6PHGmmdE+iglBYgA/94VkqNy4TY b0G6HUrA7Lc8L8ushOdtpKwS25GZ1Lhw98BajI/2zx/VffKMH/CqHB6VX 2NDbomAhDBDkdjG+ZQNj8KiE1NkaZ/kUl6izCxbIJlMLI4xOdcLR4FO0c o=; IronPort-SDR: kq+seaYbxzGfg3eMe4BizMCjWNXOpeOl06/slLYLaSvA8UKmf7nG/PXJctyulywzbmoVFVMmXp E0eg/OFLSBWw== X-IronPort-AV: E=Sophos;i="5.73,491,1583193600"; d="scan'208";a="36584521" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1e-17c49630.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 09 Jun 2020 10:47:36 +0000 Received: from EX13MTAUWC001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1e-17c49630.us-east-1.amazon.com (Postfix) with ESMTPS id 2BDAFA23B0; Tue, 9 Jun 2020 10:47:34 +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; Tue, 9 Jun 2020 10:47:34 +0000 Received: from 38f9d3867b82.ant.amazon.com (10.43.162.208) by EX13D20UWC001.ant.amazon.com (10.43.162.244) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 9 Jun 2020 10:47:29 +0000 Subject: Re: [PATCH v3 07/18] nitro_enclaves: Init misc device providing the ioctl interface To: Benjamin Herrenschmidt , Greg KH CC: Andra Paraschiv , , Anthony Liguori , 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> <59007eb9-fad3-9655-a856-f5989fa9fdb3@amazon.de> <20200526131708.GA9296@kroah.com> <29ebdc29-2930-51af-8a54-279c1e449a48@amazon.de> <20200526222402.GC179549@kroah.com> <20200528131259.GA3345766@kroah.com> From: Alexander Graf Message-ID: Date: Tue, 9 Jun 2020 12:47:27 +0200 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: Content-Language: en-US X-Originating-IP: [10.43.162.208] X-ClientProxiedBy: EX13D30UWC003.ant.amazon.com (10.43.162.122) 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 CgpPbiAwMS4wNi4yMCAwNTowNCwgQmVuamFtaW4gSGVycmVuc2NobWlkdCB3cm90ZToKPiAKPiAK PiBPbiBUaHUsIDIwMjAtMDUtMjggYXQgMTU6MTIgKzAyMDAsIEdyZWcgS0ggd3JvdGU6Cj4+IFNv IGF0IHJ1bnRpbWUsIGFmdGVyIGFsbCBpcyBib290ZWQgYW5kIHVwIGFuZCBnb2luZywgeW91IGp1 c3QgcmlwcGVkCj4+IGNvcmVzIG91dCBmcm9tIHVuZGVyIHNvbWVvbmUncyBmZWV0PyAgOikKPj4K Pj4gQW5kIHRoZSBjb2RlIHJlYWxseSBoYW5kbGVzIHdyaXRpbmcgdG8gdGhhdCB2YWx1ZSB3aGls ZSB0aGUgbW9kdWxlIGlzCj4+IGFscmVhZHkgbG9hZGVkIGFuZCB1cCBhbmQgcnVubmluZz8gIEF0 IGEgcXVpY2sgZ2xhbmNlLCBpdCBkaWRuJ3Qgc2VlbQo+PiBsaWtlIGl0IHdvdWxkIGhhb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