Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp435044pxk; Wed, 23 Sep 2020 07:02:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi+Q0kfh3dvi8v7puLTqPbFdqZd9hiHk3C0E/e2ri4wBE6vsue5il/DdEXdA5MpZKerdFc X-Received: by 2002:a17:906:7fcb:: with SMTP id r11mr9901026ejs.519.1600869760819; Wed, 23 Sep 2020 07:02:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600869760; cv=none; d=google.com; s=arc-20160816; b=sSvswOkHqSYx0tyq+6hi+onjXAT4BjRY9WfzIZu53Mq3qu1BYV2MRNX0Z25Bk+tS9z hEI57G9ACV6aq1a4gFhnh578dKC5ok+VPcyMQ43WzYGwX/BLIun0yFDjnj7jw7oVa4pS OvXZph4Zvfs33HmhuI5OvFoq+22YHWAJP3vAhutarHNAvOwJtEBWF4lnglAHUrHJyZ5H jjtHpBcDpF4dmYCFjuToLf/jBUkZ6gSXXmRGyup37Mrmwv92+2XPRIrLNSOW+9c17AAJ v51OJX9QqpJ7nlwPLbjw+uBWll1kmxeFvIflOUjrbRPxj5f9Mw/caPXS2ZaL23MUMDyx vZ2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=5XdNV2LHVqQa57dcsgbnhEChUpzSYfN8nSkQCoq4w0A=; b=LP61anq8TjbUI5X8HGE6DHkCdQLJwX6mtkS9d39ZLlhT9ewVGTRBoFkNIx2ccGmrkp H5dZ1BAj0XRjRk4XzjEmeifI6hiuyX0VHyDdz7LWAlEMtcMU4H7ybnJC6PiiZxkfta3t jVlY/MXJNYLtjSfSBrliCwXd22GnHJQrJn/awANow99CLUXrGvNXK84SPSGuu7GAugvK 2sL1eOeQd99alYpXqYeBjZFzakpA4fmIPyU283DARpsPsH/1+Zzggcldl/B6MpCSzVKG eop6yvMJEBXAV4qK+8XxBIDnYDz7JMR4AiZxJa1iPMOpdqerxQsOlrQpnDi+huZvYmXm rA/A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si13131800eda.406.2020.09.23.07.02.09; Wed, 23 Sep 2020 07:02:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726595AbgIWN6w (ORCPT + 99 others); Wed, 23 Sep 2020 09:58:52 -0400 Received: from mga04.intel.com ([192.55.52.120]:58458 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726516AbgIWN6w (ORCPT ); Wed, 23 Sep 2020 09:58:52 -0400 IronPort-SDR: DHXEaFJaDvkKleOy7vfHKXSU2Z4dPaLKXtMyNYPve7btdCAHW8naGWSIJQKWG8lUWc9T4q5o0C QzlS6zutmLgA== X-IronPort-AV: E=McAfee;i="6000,8403,9752"; a="158271541" X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="158271541" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 06:58:51 -0700 IronPort-SDR: DOZNQUTwNmS6CdTEWIoW9qi7Sh22K+ola1js+j+Vn7PmZQGNyFPiXcYUQXMNKslnCfCP8vR0bU ku9o4NuN7J+w== X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="486449272" Received: from yymichae-mobl.ger.corp.intel.com (HELO [10.214.208.219]) ([10.214.208.219]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 06:58:46 -0700 Subject: Re: [Intel-gfx] [PATCH 4/6] drm/i915: use vmap in i915_gem_object_map To: Christoph Hellwig Cc: 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 References: <20200918163724.2511-1-hch@lst.de> <20200918163724.2511-5-hch@lst.de> <9b5d40af-7378-9e68-ca51-73b2148287f3@linux.intel.com> <20200923134117.GB9893@lst.de> From: Tvrtko Ursulin Organization: Intel Corporation UK Plc Message-ID: <1a421e7f-6255-c534-5403-715c2e809bd0@linux.intel.com> Date: Wed, 23 Sep 2020 14:58:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200923134117.GB9893@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/09/2020 14:41, Christoph Hellwig wrote: > 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. That's fine, just ping me and I will forward it for testing, thanks! Regards, Tvrtko