Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp668979img; Mon, 18 Mar 2019 11:31:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUDYXGQfkTxGCCR89DnbTGyNq2++65n7TqUtQgLaOcaed9ZVGiuyWKYMvBEms96c8JUN3v X-Received: by 2002:a65:65c5:: with SMTP id y5mr1834623pgv.192.1552933886569; Mon, 18 Mar 2019 11:31:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552933886; cv=none; d=google.com; s=arc-20160816; b=bg4vRSk4DGIjgUn/Zt79W0Be2adtSSOdvU0DPinyoRPMwPI1GybVZiXw4HYqxIoWTm aPa9JkqLtXrsQSWIp+j/jv2MG1GWKws5YlVQ1fY87YsH0GswP8NYFgvKQS/jJCet+SBB V3nEJSbMYEUVV0cufWQIaNZX+AJ/M7vJ9QmEoxGO6ZsykTIBV86trbcXk/v+aCQvpLAO +jAK86+aaR0Z+ItiGBe3zW6pVcb+KrGLJ/Aif3tbvd2WAqMszAEEiNSKPWB19bZ2Swra tn3JyuStyLQL/avxiQITaVJcV+JHpJ7WykzISmCFrv3kb7Q3pALzG1qDCY7Px3GSEZYS VdbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sbsTYKGPUf22VNUHUiDumPSMR3YTxTtHfk3y04Q51PI=; b=sUsMypaDo921OzlyhWmRi/4Pn4MuFKO4fHn5qsIcU2RgO/PgIKVhgpMp2sh8kaV4ak cNYs6gnOlIjY9FiYDUETXMMBox342GwPO/GK5JXd9eI/59ba7HAyQ/p7KCDNb2VyE8LM mRM7+Ytgny+c6NeNC5PGZnQNC1qzoMGipvGGkXFw0tVTuTPmDAwbH6OBeB97vzSEh4t4 LoYE+lHvG01VAl9mSqMlLBWN5URwRRrM+I8P2+dlYj+LHNU362LaAuooiz5sJRXnES4b XyfU73+TUJLwHawX8l+U0O2tK9RkAPFcmrXChZrImNjTDgk03RHjrhMmKO32OgTKVLLm 8Ycw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Ti6WT1kE; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 68si9359781pga.497.2019.03.18.11.31.10; Mon, 18 Mar 2019 11:31:26 -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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Ti6WT1kE; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727069AbfCRSa2 (ORCPT + 99 others); Mon, 18 Mar 2019 14:30:28 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:46914 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726513AbfCRSa2 (ORCPT ); Mon, 18 Mar 2019 14:30:28 -0400 Received: by mail-oi1-f193.google.com with SMTP id x188so1676007oia.13 for ; Mon, 18 Mar 2019 11:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sbsTYKGPUf22VNUHUiDumPSMR3YTxTtHfk3y04Q51PI=; b=Ti6WT1kEvz5706AzrASGb3DEtp+m8ZO+QEXN5wFB+65Dn64vkucYPUtl275qzWQcDL OkR0bul4zxaYW6XYbh4PIZpjS8+i0ejH1t92P0sHeChDtCDzOuJwwPbk3tbyqGkr1I1s /CRlBL/qG+BRneir31rdy3ywTvLqDjVal2nUrrGHjc5tnTc+oLaAJ6w17FESSUFhpTTz H6oRDlE3nXOpY32QB6p7bgx5T6ZDi3cQ8pYGtpdtYPnvfTmVg+492QO6Dtkv7FhmtV2l RHN/0nkQsymYJPOLXNo9xYLbxTdMNX/84V7RB/qzEBmNsVk3fEoiZOuBtFYjxosXSVAa No3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sbsTYKGPUf22VNUHUiDumPSMR3YTxTtHfk3y04Q51PI=; b=GG7sGAqU7ljEiKNYTi4zf6U/cjCi0R4wF63UW1lCHWHhWywamRDqUIBkDTHbCxMqqg 80hvvMKZ7GjJYWTydURSgOHYXVk3sRu6c3PxO5IUHKCzG02/4sCX2wJ/P3Xv9b/sTWQg R39YhZghCN2sQ7TdMQa6rR347AlnOJVPzgs1XBBZHPk8nbQ1LcZ7J1G/xB+03DIAgcX1 p4ERfZmCcLco3mVxLZzHbr5/OH2I5Y8VglAWQUu0iGjhn2M7cSZHAkLLq0/H1ptNkqa4 cPBXL0y1CQacCu2Fe0hjG3SLZ8gI2cTaCCLON3/rQUSKfJb60rEgWwsrvcDmybK8znFw U/Dg== X-Gm-Message-State: APjAAAUO4BhhExSukqCicfVY9rsEtYFEd3InPwj7Anucokr2dabprC2V 7U6fAIIMn4muiQLMQKdRAIJ9j/1m5eVyQqjF3fLKkg== X-Received: by 2002:aca:f581:: with SMTP id t123mr198768oih.0.1552933827507; Mon, 18 Mar 2019 11:30:27 -0700 (PDT) MIME-Version: 1.0 References: <20190129165428.3931-1-jglisse@redhat.com> <20190313012706.GB3402@redhat.com> <20190313091004.b748502871ba0aa839b924e9@linux-foundation.org> <20190318170404.GA6786@redhat.com> In-Reply-To: <20190318170404.GA6786@redhat.com> From: Dan Williams Date: Mon, 18 Mar 2019 11:30:15 -0700 Message-ID: Subject: Re: [PATCH 00/10] HMM updates for 5.1 To: Jerome Glisse Cc: Andrew Morton , Linux MM , Linux Kernel Mailing List , Felix Kuehling , =?UTF-8?Q?Christian_K=C3=B6nig?= , Ralph Campbell , John Hubbard , Jason Gunthorpe Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 18, 2019 at 10:04 AM Jerome Glisse wrote: > > On Wed, Mar 13, 2019 at 09:10:04AM -0700, Andrew Morton wrote: > > On Tue, 12 Mar 2019 21:27:06 -0400 Jerome Glisse wrote: > > > > > Andrew you will not be pushing this patchset in 5.1 ? > > > > I'd like to. It sounds like we're converging on a plan. > > > > It would be good to hear more from the driver developers who will be > > consuming these new features - links to patchsets, review feedback, > > etc. Which individuals should we be asking? Felix, Christian and > > Jason, perhaps? > > > > So i am guessing you will not send this to Linus ? Should i repost ? > This patchset has 2 sides, first side is just reworking the HMM API > to make something better in respect to process lifetime. AMD folks > did find that helpful [1]. This rework is also necessary to ease up > the convertion of ODP to HMM [2] and Jason already said that he is > interested in seing that happening [3]. By missing 5.1 it means now > that i can not push ODP to HMM in 5.2 and it will be postpone to 5.3 > which is also postoning other work ... > > The second side is it adds 2 new helper dma map and dma unmap both > are gonna be use by ODP and latter by nouveau (after some other > nouveau changes are done). This new functions just do dma_map ie: > hmm_dma_map() { > existing_hmm_api() > for_each_page() { > dma_map_page() > } > } > > Do you want to see anymore justification than that ? Yes, why does hmm needs its own dma mapping apis? It seems to perpetuate the perception that hmm is something bolted onto the side of the core-mm rather than a native capability.