Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2845234pxa; Tue, 25 Aug 2020 05:07:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHAvBrOjV5d5aUZTP6MoIZoBcLw5bK9eD25DnCH7l0NKxLxf9xRHRsdj7w/QsIyPCk+tWf X-Received: by 2002:a17:906:4dd4:: with SMTP id f20mr10822296ejw.170.1598357241276; Tue, 25 Aug 2020 05:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598357241; cv=none; d=google.com; s=arc-20160816; b=MxRXGDNo324nJNTJ4CloziCEERM660/KarilQBDjll8AQoLi6sgg/XE+7n1jv52Zb/ 2EXTqC35eTg83ci+0h/BpWrDF5usW7p/A/LwA6i4xT0araiIhDdQGUK0gzeMYyjd9oH9 panR8fN+U5w4vhwkYSh/ZFDPO5BzJL01zMMR9dSuSyFxOtkRXLuqX4D26gMOS7RJWHJm Jee4IiyQDP5tsG9Fg2pbxbs2DwBMxkUvGKWzt6IwSnbJ/j8xgc6k30rgRZDoN5EadwXn OZOIb/fVrPzADcQWCapoV4MnYRsokgtvpoHL/pi6MELhJGJKV4V9tcomqWpX/BbxZOmR 1iOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=MtrTtR7W0MYZILUrm95xWM9cnaEcReiy2mPIlaOwxxc=; b=rp8T8p6pkzF3t8x3JqxtKJn3+NMqCEzP3yAjRphI9ywXKojkdYRa0d6AERffbm6jJ9 4e/IWJhgs/IefqH0ZzgRjpwnijUKMxT+GVyOYcNCXMWohpqPYkxGag/Tk0ldAH3J4CoX mO3k6UmbD9L1EY2AaDfZqOheFM6EC4sHMJ9EBf6W5KahpVrvLz6Q9dp8vODuH8RGCU5b rST88FxrXUmxGJJXIDwbYT7toVKxnEHBz44NwJN4Z3XTznT9EZmxCpldXRHDqwiI1Gay WrPJ5X7F1fzm0S9j5ba8gxEZRsnKbIm3Pm8t8lJALgIOVqBiohEd+Q1rKRgVJ5pU6VjG 9JPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=l4uR4VK0; 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=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 89si9174400edr.415.2020.08.25.05.06.58; Tue, 25 Aug 2020 05:07: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=@nvidia.com header.s=n1 header.b=l4uR4VK0; 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=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728660AbgHYIyJ (ORCPT + 99 others); Tue, 25 Aug 2020 04:54:09 -0400 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:8503 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728109AbgHYIyI (ORCPT ); Tue, 25 Aug 2020 04:54:08 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 25 Aug 2020 01:53:54 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 25 Aug 2020 01:54:08 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 25 Aug 2020 01:54:08 -0700 Received: from [10.2.53.36] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 25 Aug 2020 08:54:08 +0000 Subject: Re: [PATCH v3] tee: convert convert get_user_pages() --> pin_user_pages() To: Jens Wiklander CC: , , , , , , Sumit Semwal , , , References: <20200824211125.1867329-1-jhubbard@nvidia.com> <20200825083204.GA2068961@jade> From: John Hubbard Message-ID: <1f111bb4-6e93-93d5-66ff-b9d4d456140f@nvidia.com> Date: Tue, 25 Aug 2020 01:54:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200825083204.GA2068961@jade> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1598345634; bh=MtrTtR7W0MYZILUrm95xWM9cnaEcReiy2mPIlaOwxxc=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=l4uR4VK0PiJo5w0LLlk1qyx38HDxhUpGAbiDVLTQSDSZvzqgAuWEGYdtIsFkXSxdz yRBUk/5DowXI23mfcBla6xZ9Vp6nBnk/JXDMZwa+y2CCi89SiTVFBx+dvvw6fcBIuO H5hho5wMVNMq6Sa5S9drrs9yGhynhzZ8LpRvW737V/8kPSs94U23VsQ8108MhFi96v s5Q21rxNTTFMA5jV0uh4MouuV/6NNF3/XK2egERx81KLcb787KwisqLdKs0QJXFEqm p6W7UwmAvkrKgMW08nzZITEfncUx95cC0WalvQ7atCLVmsMYh2iVzbISbsTCGd4Dcv j9bg78W4DcbHA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/25/20 1:32 AM, Jens Wiklander wrote: > On Mon, Aug 24, 2020 at 02:11:25PM -0700, John Hubbard wrote: ... >> OK, one more try, this time actually handling the _USER_MAPPED vs. >> _KERNEL_MAPPED pages! >> >> thanks, >> John Hubbard >> NVIDIA > > Looks good and it works too! :-) I've tested it on my Hikey board with > the OP-TEE test suite. > I'm picking this up. > Great! I see that I have, once again, somehow doubled up on the subject line: "tee: convert convert ...". This particular typo just seems to stick to me. :) If you get a chance to fix that up by changing it to just a single "convert" I'd appreciate it. thanks, -- John Hubbard NVIDIA