From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A9B9C433E1 for ; Mon, 24 Aug 2020 07:19:10 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CAD8720720 for ; Mon, 24 Aug 2020 07:19:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="2GecQxz7"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="jlJV57Dz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CAD8720720 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JZVMIVPcUB/yRpvNmGCaYkiQ59F3D6aInHYdb++pyOk=; b=2GecQxz7AzMiKR0PPpFOwyqRE E5rAXyQlvVc0UGZlLWIx6oDz3h86zINtYSMGMQm4FMD6C+v1KQQD7vNVVR9Zg/lb1VF6Odks/4hN9 m9vrdn0s7jMHqSuhNICf+PWF4ADHViVxnXm25BWbMkyhFND5hHxwLGpomd8283MbsSSCUcM9Lt3P/ G/uGKFEZnQqLF7uviNtO+Yvb3e1YlW9oITquARcktQbbXS/wriUht6C40iZJqstYPOGnCBG2CEATq XcHAcTeRqhYfstKcXPj4D9r+T7379zDeHSJS9QWvMLXCuTBtZE9Na43rFTkpGev7wgKcM9V5AiqrA ilQJ2eTww==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kA6k3-0003Sw-6b; Mon, 24 Aug 2020 07:18:07 +0000 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kA6k0-0003Rm-0b for linux-arm-kernel@lists.infradead.org; Mon, 24 Aug 2020 07:18:05 +0000 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 24 Aug 2020 00:17:47 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 24 Aug 2020 00:18:01 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 24 Aug 2020 00:18:01 -0700 Received: from [10.2.58.8] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 24 Aug 2020 07:18:00 +0000 Subject: Re: [GIT PULL] tee subsystem pin_user_pages for v5.8 To: Jens Wiklander , Olof Johansson References: <20200526131259.GA97001@jade> <20200821184910.GB3407@lx2k> From: John Hubbard Message-ID: Date: Mon, 24 Aug 2020 00:18:00 -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: 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-Language: en-US DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1598253467; bh=4vttQ/KNTevcP8Lhc43eLbaEsbq1qATO1KNb7WQXbF8=; 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=jlJV57Dz0MWw2dXUqUVHlm93Zjog9Oy0yFVFI5J1AfXuALU7MrsWGfStY0/Vi1RsX LEEbIVkLUr7YleA5UW5lfySMW1nssaRwpRhYWEyJaZxuymi4lgxf/7a8kqJKZ2Lu79 ulmZuZLRAegjuTAonz+y6zTQ3sG+lSUMwCwpMcp9VTcdiTv6C+JP7NER8JfPLakT1L whXN8beQqjp+NVV+CPrwrxWLBSdlezp+2KQvhTfwxv5fqWCEKP5lDOz26GcAjLDlm4 GsqUw2pyKsHtkgHwNvGC0IUE79G4iFI5cKKUfENVsT+MgeQS9VceavPLT0cnG3eoRg I891ULHWPk7Aw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200824_031804_163120_11A02CE9 X-CRM114-Status: GOOD ( 21.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Cc: "tee-dev @ lists . linaro . org" , SoC Team , ARM-SoC Maintainers , Linux Kernel Mailing List , Linux ARM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 8/23/20 11:51 PM, Jens Wiklander wrote: > On Fri, Aug 21, 2020 at 11:19 PM Olof Johansson wrote: >> >> On Fri, Aug 21, 2020 at 12:58 PM John Hubbard wrote: >>> >>> On 8/21/20 11:49 AM, Olof Johansson wrote: >>>> On Tue, May 26, 2020 at 03:12:59PM +0200, Jens Wiklander wrote: >>>>> Hello arm-soc maintainers, >>>>> >>>>> Please pull this small patch converting the tee subsystem to use >>>>> pin_user_pages() instead of get_user_pages(). >>>>> >>>>> Thanks, >>>>> Jens >>>>> >>>>> The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936: >>>>> >>>>> Linux 5.7-rc2 (2020-04-19 14:35:30 -0700) >>>>> >>>>> are available in the Git repository at: >>>>> >>>>> git://git.linaro.org:/people/jens.wiklander/linux-tee.git tags/tee-pin-user-pages-for-5.8 >>>>> >>>>> for you to fetch changes up to 37f6b4d5f47b600ec4ab6682c005a44a1bfca530: >>>>> >>>>> tee: convert get_user_pages() --> pin_user_pages() (2020-05-26 10:42:41 +0200) >>>> >>>> Hi, I noticed this never got merged, but I don't see any follow-up here that >>>> retracts it. Is it still pending merge such that I should queue it for v5.10? >>>> >>> >>> I think so. I had marked it in my notes as "accepted, and the maintainer will >>> eventually merge it", and I left it at that. It's still desirable. >>> >> >> Looks like it conflicts with some of the later work. Jens, given the >> timelines here it's probably easiest all around if you rebase/respin >> and send a fresh pull request. I could fix it up but you'd still need >> to review that so the amount of work is probably less if you do it >> directly. > > Agree, I'll send a fresh pull request once we have this rebased. > The conflict is with the recently added call to get_kernel_pages() > when kernel memory is shared. > The conflict isn't trivial, I guess we need to handle the different > types of pages differently when releasing them. > John, would you mind rebasing and posting the patch again? > Sure. Should it be against 5.9-rc2, or something else? I can do this in the morning, about 10 hrs from now. thanks, -- John Hubbard NVIDIA _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel