Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp419930pxk; Wed, 23 Sep 2020 06:42:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzeqTh5gUN5EbJ4ka/qR618o/Vodnug9RVEwxNdvxMx/iJITU6tssuV7lsQxitMK5t12kB X-Received: by 2002:aa7:c7c2:: with SMTP id o2mr10108183eds.366.1600868568461; Wed, 23 Sep 2020 06:42:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600868568; cv=none; d=google.com; s=arc-20160816; b=1IPWsJEr3aLx1McYxJkwZS35HwSp8l9uV6M3WiP6PtwNSSG3Fb7fIKtiKzJOGCLLiP YxALY1MZIrPgB4rumuoK+if+sKkPfc/Mlu2HOxVnTrGW8IyaCMODDd6MWxQR9xQ6VAnJ 0xuVhFK2WVbpJflpZ8CkU4n6KAGcYYkjtIyphnbXhz9yLHytHWSNlnu/2GaFu2qospsb G3NRXmJCVRSAb9sJGMJ1x8tgztu7ekhmU7wtevZg95puZcEAMUtNiwKNxMP1zNNTCP9N eOozcwla3kEkWzh6TiFacewfo0U3CvbEJnQ6L9Q25gZ27yzHMz6FrVZhAjMGjbwUA6FU jhNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=XA04unlnRnWxjJpe+brLERhw2zX4HpXK3unL6eTJkjI=; b=p/S2yj9fapH37+TrFjaQsv7pMce03wShzoFXbPAFn1QQD8y4eulGL5b0E2yPvnvcL9 dWJuGLJZmhE+GIGsook1LuOuOvna+lZsISUY94cV55+FxqK0HzRuix7WYJVku5uSSUdj oD9CPr86ms3M3FaHhFiqb0uvSdjIfizoFhHp+V+v9l/N9q9F6RiwsjN+KvRijQ9zLyuF 4Omb0rCNDemtAXUifEq8NM/28YhrmhxfJ8QsmNX9IK5cXhCrqlA39Y5xv1gyUQ8QiaF3 VR/P8/iCbd/agzZqwlzxvPVyQCIM/f3GR0vcqhdA5ydO9oPSRHdQ6QMN2jrX5AJOrjF9 rjRQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id um9si12925072ejb.732.2020.09.23.06.42.23; Wed, 23 Sep 2020 06:42:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726559AbgIWNlX (ORCPT + 99 others); Wed, 23 Sep 2020 09:41:23 -0400 Received: from verein.lst.de ([213.95.11.211]:48524 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgIWNlW (ORCPT ); Wed, 23 Sep 2020 09:41:22 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 4FDA86736F; Wed, 23 Sep 2020 15:41:18 +0200 (CEST) Date: Wed, 23 Sep 2020 15:41:17 +0200 From: Christoph Hellwig To: Tvrtko Ursulin Cc: Christoph Hellwig , Andrew Morton , Juergen Gross , Stefano Stabellini , linux-mm@kvack.org, Peter Zijlstra , intel-gfx@lists.freedesktop.org, x86@kernel.org, linux-kernel@vger.kernel.org, Minchan Kim , dri-devel@lists.freedesktop.org, xen-devel@lists.xenproject.org, Boris Ostrovsky , Nitin Gupta Subject: Re: [Intel-gfx] [PATCH 4/6] drm/i915: use vmap in i915_gem_object_map Message-ID: <20200923134117.GB9893@lst.de> References: <20200918163724.2511-1-hch@lst.de> <20200918163724.2511-5-hch@lst.de> <9b5d40af-7378-9e68-ca51-73b2148287f3@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9b5d40af-7378-9e68-ca51-73b2148287f3@linux.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 23, 2020 at 10:52:33AM +0100, Tvrtko Ursulin wrote: > > On 18/09/2020 17:37, Christoph Hellwig wrote: >> i915_gem_object_map implements fairly low-level vmap functionality in >> a driver. Split it into two helpers, one for remapping kernel memory >> which can use vmap, and one for I/O memory that uses vmap_pfn. >> >> The only practical difference is that alloc_vm_area prefeaults the >> vmalloc area PTEs, which doesn't seem to be required here for the >> kernel memory case (and could be added to vmap using a flag if actually >> required). > > Patch looks good to me. > > Series did not get a CI run from our side because of a different base so I > don't know if you would like to have a run there? If so you would need to > rebase against git://anongit.freedesktop.org/drm-tip drm-tip and you could > even send a series to intel-gfx-trybot@lists.freedesktop.org, suppressing > cc, to check it out without sending a copy to the real mailing list. It doesn't seem like I can post to any freedesktop list, as I always get rejection messages. But I'll happily prepare a branch if one of you an feed it into your CI.