Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96556C433F5 for ; Sat, 18 Dec 2021 10:36:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231610AbhLRKgC (ORCPT ); Sat, 18 Dec 2021 05:36:02 -0500 Received: from smtp-fw-80007.amazon.com ([99.78.197.218]:64265 "EHLO smtp-fw-80007.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbhLRKgB (ORCPT ); Sat, 18 Dec 2021 05:36:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1639823761; x=1671359761; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/rNukEk/AKgue/4kHvkeqzceFYvg0qcH59Ha0VvFu6A=; b=dH1o88zsSAUlKLiD1wAnNE88xq/50+hMM6ux4MAXRAcMZrVAoty7FTug WJ3vk0yEsea17Ob8G3UiH9eCSsyJKZWC4m6cXZFNWmON01fEjTDNVsQun rgN0jQZaPBAdi3Uc3NxLPdSMIs74ULwuPgWgGRzfqs0pD9GziHlQJ9PlA k=; X-IronPort-AV: E=Sophos;i="5.88,216,1635206400"; d="scan'208";a="49408652" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-pdx-2a-5feb294a.us-west-2.amazon.com) ([10.25.36.210]) by smtp-border-fw-80007.pdx80.corp.amazon.com with ESMTP; 18 Dec 2021 10:35:47 +0000 Received: from EX13D16EUB003.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2a-5feb294a.us-west-2.amazon.com (Postfix) with ESMTPS id 3BF629F674; Sat, 18 Dec 2021 10:35:41 +0000 (UTC) Received: from dev-dsk-andraprs-1c-9ffe7195.eu-west-1.amazon.com (10.43.162.55) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Sat, 18 Dec 2021 10:35:35 +0000 From: Andra Paraschiv To: linux-kernel CC: Alexandru Ciobotaru , Greg KH , Alexandru Vasile , "Marcelo Cerri" , Paolo Bonzini , Stefano Garzarella , Stefan Hajnoczi , Tim Gardner , "Vitaly Kuznetsov" , kvm , ne-devel-upstream , stable , "Andra Paraschiv" Subject: =?UTF-8?q?=5BPATCH=20v1=C2=A0=5D=20nitro=5Fenclaves=3A=20Add=20mmap=5Fread=5Flock=28=29=20for=20the=20get=5Fuser=5Fpages=28=29=20call?= Date: Sat, 18 Dec 2021 10:35:25 +0000 Message-ID: <20211218103525.26739-1-andraprs@amazon.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Originating-IP: [10.43.162.55] X-ClientProxiedBy: EX13D02UWB002.ant.amazon.com (10.43.161.160) To EX13D16EUB003.ant.amazon.com (10.43.166.99) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWZ0ZXIgY29tbWl0IDViNzhlZDI0ZThlYyAobW0vcGFnZW1hcDogYWRkIG1tYXBfYXNzZXJ0X2xv Y2tlZCgpCmFubm90YXRpb25zIHRvIGZpbmRfdm1hKigpKSwgdGhlIGNhbGwgdG8gZ2V0X3VzZXJf cGFnZXMoKSB3aWxsIHRyaWdnZXIKdGhlIG1tYXAgYXNzZXJ0LgoKc3RhdGljIGlubGluZSB2b2lk IG1tYXBfYXNzZXJ0X2xvY2tlZChzdHJ1Y3QgbW1fc3RydWN0ICptbSkKewoJbG9ja2RlcF9hc3Nl cnRfaGVsZCgmbW0tPm1tYXBfbG9jayk7CglWTV9CVUdfT05fTU0oIXJ3c2VtX2lzX2xvY2tlZCgm bW0tPm1tYXBfbG9jayksIG1tKTsKf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