Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1884168ybm; Thu, 23 May 2019 08:08:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqytHTdOGF1ymFEXeE3xiwq4P+HY3qMC2UM+Re5dAyWy2mTC/K7irnux1rvUsnoceZhvrVud X-Received: by 2002:a65:6088:: with SMTP id t8mr49764392pgu.381.1558624096473; Thu, 23 May 2019 08:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558624096; cv=none; d=google.com; s=arc-20160816; b=f8PF0fjqj5QWz7aAJSGnF74ava/9pXNAmns/zeNEES+C3sQqvTeHWhiwNgld9CGuDw afTBn+HsWtfdy5/4vItdMNtZsP2Tz5tWmor32TwJmntDzyoTDQ4jNTwzWqkSKUmopG2z mDkEogtst6DEV1tEP5ViXVnrx42RtJoq9sIhZDTVQLGDY4BUBrZTU4aVQA5j5NZDW0ZA FD2K+Dfs5Rbb0f0sbBUJhiLyVCvmYqrkSCbcY7azEG1p6lzV0uXf6lGdfB1stZqneuGe noyMPmkCuStq8THT1jQv1cXSHW0sAxk6DQpfjLaNpFH200YrLjtWx9GuvbJZyGXCaP95 SmpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=oJaWtHT3Jde+ej5aeynvN3j1dqJS85VBCXu6P77Nylo=; b=erhmWnxp9PfCQKbripydBfiA+p8Nc0aIMKOV2/8X6rwXDXjCFwESXqQv/MkRvhaR0E +uTkPuGS8aNBwCM/hT6L6G7Kue6/7G88G/wdYXDYNplXGOA8t9ZEKaj3LOdgYOt4ElP0 nA8wf856Blxy3Cn9ve9KKU54KblqfmQGe9dTmUtPVSho5sAGM4UmB1pyH2fzAksxxmIn 8MCuzmWuFztSc7cvsc8fTZ1Qmrz7NTxJwfQb4Zo0DcvcyPyFOGSrC02AjiOHbuvNx0XW uHryxcPa8I98bpprXGyGeUmL0p7GQgYR/aiuCqb/80ilnX8tC+yDIKPNt63j1isxd5Vi yy2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si900731pjs.104.2019.05.23.08.07.55; Thu, 23 May 2019 08:08:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731055AbfEWPEm (ORCPT + 99 others); Thu, 23 May 2019 11:04:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61108 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730783AbfEWPEm (ORCPT ); Thu, 23 May 2019 11:04:42 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1F9233082E24; Thu, 23 May 2019 15:04:37 +0000 (UTC) Received: from redhat.com (unknown [10.20.6.178]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0EB501001E81; Thu, 23 May 2019 15:04:33 +0000 (UTC) Date: Thu, 23 May 2019 11:04:32 -0400 From: Jerome Glisse To: Jason Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Leon Romanovsky , Doug Ledford , Artemy Kovalyov , Moni Shoua , Mike Marciniszyn , Kaike Wan , Dennis Dalessandro Subject: Re: [PATCH v4 0/1] Use HMM for ODP v4 Message-ID: <20190523150432.GA5104@redhat.com> References: <20190411181314.19465-1-jglisse@redhat.com> <20190506195657.GA30261@ziepe.ca> <20190521205321.GC3331@redhat.com> <20190522005225.GA30819@ziepe.ca> <20190522174852.GA23038@redhat.com> <20190522235737.GD15389@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190522235737.GD15389@ziepe.ca> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Thu, 23 May 2019 15:04:42 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 22, 2019 at 08:57:37PM -0300, Jason Gunthorpe wrote: > On Wed, May 22, 2019 at 01:48:52PM -0400, Jerome Glisse wrote: > > > > > So attached is a rebase on top of 5.2-rc1, i have tested with pingpong > > > > (prefetch and not and different sizes). Seems to work ok. > > > > > > Urk, it already doesn't apply to the rdma tree :( > > > > > > The conflicts are a little more extensive than I'd prefer to handle.. > > > Can I ask you to rebase it on top of this branch please: > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/log/?h=wip/jgg-for-next > > > > > > Specifically it conflicts with this patch: > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?h=wip/jgg-for-next&id=d2183c6f1958e6b6dfdde279f4cee04280710e34 > > There is at least one more serious blocker here: > > config ARCH_HAS_HMM_MIRROR > bool > default y > depends on (X86_64 || PPC64) > depends on MMU && 64BIT > > I can't loose ARM64 support for ODP by merging this, that is too > serious of a regression. > > Can you fix it? 5.2 already has patch to fix the Kconfig (ARCH_HAS_HMM_MIRROR and ARCH_HAS_HMM_DEVICE replacing ARCH_HAS_HMM) I need to update nouveau in 5.3 so that i can drop the old ARCH_HAS_HMM and then convert core mm in 5.4 to use ARCH_HAS_HMM_MIRROR and ARCH_HAS_HMM_DEVICE instead of ARCH_HAS_HMM Adding ARM64 to ARCH_HAS_HMM_MIRROR should not be an issue i would need access to an ARM64 to test as i did not wanted to enable it without testing. So it seems it will have to wait 5.4 for ODP. I will re-spin the patch for ODP once i am done reviewing Ralph changes and yours for 5.3. Cheers, J?r?me