Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp260951ybg; Mon, 1 Jun 2020 00:09:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4kXs8uNvfl+tKLgGas/Aby8kfBnhDy9FHJRL6cYfN0qMoGZpTGuU8nJz2Ubd0BTGFI52Z X-Received: by 2002:a17:906:18e9:: with SMTP id e9mr17750073ejf.140.1590995392838; Mon, 01 Jun 2020 00:09:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590995392; cv=none; d=google.com; s=arc-20160816; b=uUqUnfbOxAfNjNzYLSSwJkgyRFqN9JyPv7Tma0comofbzkoas6clbPstfkdoFaU6CJ DT/quFWqnJGJTY38ZsK68HytD2wZRdHYXu6l3MDEWtC/qm2H0Rh0c55patV9oMy9NrtF 6ScCYj4FW4fgMvx0FFXIEqvmf6bkAldVKGUhRWyWUKXOjMA3yB5GgP6WO1snKLsWtxgP Zx2jqGI6aTq1xrT1k2y/Cj4NTxFSmU+QTYzifIJCyqewj4zIpFxyUta09PB9MmQ0LNXT IzY6cAgYUOSX3f0ryc/N9FL4yqL4mD3Lv3/c2UQok40BVIXobXWPYgKtdtGltZVbY9U/ D1iQ== 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=Pse7FjT1oSM7k6+12m27jATLc53uuNLdEozAkVeDTn0=; b=APM3uCN7XQldJk20qvmNGOgxlhfvT4VoAgYO4TnH/vyNGuUTX2DwvxoTpX3WUxJcIZ m9cpcsTJFJor+YNsD5qMQUW8NwbDebl11JH6nUHlkqWGSTbQEJHkc1VyQUlI8y9YzqnH pUQhEUIXlmDjAUby8tBFhl09Bv5Mxr68eDeiqw8VijO8d0u8RwfBMyH3HBMns/h5otZ5 hKPLG9r3l59/35xpfwHC/WwfogHMWPJhgI2Pixpq78rZRXjZBRUTg95v88WQ/ts0bAks qFYS7VBZJHcKoabw1ZWhD5GpD4aHyRQf27psNTvOsGVn2i0xzo/pxbxU06WeoTj0/OY2 z0Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=mJdtsJ1r; 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 k14si1648992ejz.68.2020.06.01.00.09.30; Mon, 01 Jun 2020 00:09:52 -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=mJdtsJ1r; 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 S1728238AbgFAHHd (ORCPT + 99 others); Mon, 1 Jun 2020 03:07:33 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:23392 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbgFAHHa (ORCPT ); Mon, 1 Jun 2020 03:07:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1590995249; x=1622531249; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=Pse7FjT1oSM7k6+12m27jATLc53uuNLdEozAkVeDTn0=; b=mJdtsJ1rnhFIp68TI3RZpZx3G+funKyFaVjfq6Kd99St2+MURUUn92WC NrPHlqw3TqPGdbXWsATfVwc0JLm+jlMX93292+XVkk0yi6feCKrklS1cr 46iQOi2A2SclbhC/IGHFJM2uTuRqntcSJFNE97qcCAL8LHmB2Xu0H0ak/ w=; IronPort-SDR: a2WV03LKoD4vqdEmaIJRDRVZLOgNnbMLs0A7Da1b7yWqMRSHvwswB8nDGlrpkRI9IWGorfUkOP bNukS5fZ9czA== X-IronPort-AV: E=Sophos;i="5.73,459,1583193600"; d="scan'208";a="48575926" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2c-168cbb73.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 01 Jun 2020 07:07:26 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2c-168cbb73.us-west-2.amazon.com (Postfix) with ESMTPS id 3D6ACA1E65; Mon, 1 Jun 2020 07:07:25 +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; Mon, 1 Jun 2020 07:07:24 +0000 Received: from 38f9d34ed3b1.ant.amazon.com (10.43.162.53) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 07:07:16 +0000 Subject: Re: [PATCH v3 02/18] nitro_enclaves: Define the PCI device interface To: Benjamin Herrenschmidt , Greg KH CC: , Anthony Liguori , Colm MacCarthaigh , Bjoern Doebel , David Woodhouse , Frank van der Linden , Alexander Graf , 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-3-andraprs@amazon.com> <20200526064455.GA2580530@kroah.com> <20200526222109.GB179549@kroah.com> From: "Paraschiv, Andra-Irina" Message-ID: <1fbdc33c-8819-40b6-b0d3-5d64833c9932@amazon.com> Date: Mon, 1 Jun 2020 10:07:11 +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: Content-Language: en-US X-Originating-IP: [10.43.162.53] X-ClientProxiedBy: EX13D20UWC002.ant.amazon.com (10.43.162.163) 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 CgpPbiAwMS8wNi8yMDIwIDA1OjU5LCBCZW5qYW1pbiBIZXJyZW5zY2htaWR0IHdyb3RlOgo+IE9u IFdlZCwgMjAyMC0wNS0yNyBhdCAwMDoyMSArMDIwMCwgR3JlZyBLSCB3cm90ZToKPj4+IFRoZXJl IGFyZSBhIGNvdXBsZSBvZiBkYXRhIHN0cnVjdHVyZXMgd2l0aCBtb3JlIHRoYW4gb25lIG1lbWJl ciBhbmQgbXVsdGlwbGUKPj4+IGZpZWxkIHNpemVzLiBBbmQgZm9yIHRoZSBvbmVzIHRoYXQgYXJl IG5vdCwgZ2F0aGVyZWQgYXMgZmVlZGJhY2sgZnJvbQo+Pj4gcHJldmlvdXMgcm91bmRzIG9mIHJl dmlldyB0aGF0IHNob3VsZCBjb25zaWRlciBhZGRpbmcgYSAiZmxhZ3MiIGZpZWxkIGluCj4+PiB0 aGVyZSBmb3IgZnVydGhlciBleHRlbnNpYmlsaXR5Lgo+PiBQbGVhc2UgZG8gbm90IGRvIHRoYXQg aW4gaW9jdGxzLiAgSnVzdCBjcmVhdGUgbmV3IGNhbGxzIGluc3RlYWQgb2YKPj4gdHJ5aW5nIHRv ICJleHRlbmQiIGV4aXN0aW5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