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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 D7C3CC433ED for ; Thu, 8 Apr 2021 10:36:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DD09661055 for ; Thu, 8 Apr 2021 10:36:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD09661055 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6A9396B0078; Thu, 8 Apr 2021 06:36:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 67F8D6B007E; Thu, 8 Apr 2021 06:36:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 520676B0080; Thu, 8 Apr 2021 06:36:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0203.hostedemail.com [216.40.44.203]) by kanga.kvack.org (Postfix) with ESMTP id 365EA6B0078 for ; Thu, 8 Apr 2021 06:36:26 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id DDAAB180A1698 for ; Thu, 8 Apr 2021 10:36:25 +0000 (UTC) X-FDA: 78008845530.27.D373F79 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by imf05.hostedemail.com (Postfix) with ESMTP id B98FBE00011D for ; Thu, 8 Apr 2021 10:36:24 +0000 (UTC) Received: by mail-wm1-f43.google.com with SMTP id 5-20020a05600c0245b029011a8273f85eso972802wmj.1 for ; Thu, 08 Apr 2021 03:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=Ehb071qhtIjNwg1coki7qfy1ZvMlP2t+7HCBWvzOtdo=; b=E1codMSn0IXppsbUUVROaUamwBgW1+Bqn2Yc7Nhms6IPNIkKcACn6o+jhw6alG7V1t gQKajoYhG9V+L7oeIHqOYRxbywQMWyzF0q6x6peu0RGFiKMwyhmiNLu9OHnGQqnRKPjF 8n7EosyEkFqjhKSSfR6IGNvqB2YaaqWuroS6c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=Ehb071qhtIjNwg1coki7qfy1ZvMlP2t+7HCBWvzOtdo=; b=IbkZ5TbJT42XGvRIQTKMIL+giu0aZLUba38P01exB3J3R+ZUeAuoFT5CTN0AxnboAC ihV9t8nIzRy2qq0sxIh/WQZ5VCYkuk2jzb2PbvBJDNvSUfnQ+G5twgDcVJl8MmU4K8pZ lzqitSN9IwOhXlFfssh/zx64DCGitl5nfl/t1h/fyOxzCKlOdqDkt9Lx4ZYIlCmFQaFU tnYjjaUALVEbEdnFtw7v/XegGNlElcTLIBgkGzSJxXGg7mFQadPE2E6hbw/nfTfdTt+X k5fLy+Pv7uQR869F/c903MFPVJwB8qPEDoeq815Wd9uYZEzC3Tx+UsdEpAy+7gLVsM5f j5wg== X-Gm-Message-State: AOAM530ZIhjupdFt9Ui48/+041Ovig8SHnasP8p6oxHrnMsEPlgJLREQ kwUfFoquOHtsERksXLmZOOnpEA== X-Google-Smtp-Source: ABdhPJxVRQpjUIE10JDuV/W/95buK8as49pxXaiEpY23riFd8jWlvKx5lmQHHebGeYW5WOocwxiUIQ== X-Received: by 2002:a1c:4908:: with SMTP id w8mr7575080wma.57.1617878184058; Thu, 08 Apr 2021 03:36:24 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id z8sm45559832wrh.37.2021.04.08.03.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 03:36:23 -0700 (PDT) Date: Thu, 8 Apr 2021 12:36:21 +0200 From: Daniel Vetter To: Christoph Hellwig Cc: Andrew Morton , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Chris Wilson , Daniel Vetter , Peter Zijlstra , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-mm@kvack.org Subject: Re: add remap_pfn_range_notrack instead of reinventing it in i915 v2 Message-ID: Mail-Followup-To: Christoph Hellwig , Andrew Morton , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Chris Wilson , Peter Zijlstra , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-mm@kvack.org References: <20210326055505.1424432-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210326055505.1424432-1-hch@lst.de> X-Operating-System: Linux phenom 5.7.0-1-amd64 X-Rspamd-Queue-Id: B98FBE00011D X-Stat-Signature: skuh3i8wwgb6fp69e6u6xpxefhxuc8wb X-Rspamd-Server: rspam02 Received-SPF: none (ffwll.ch>: No applicable sender policy available) receiver=imf05; identity=mailfrom; envelope-from=""; helo=mail-wm1-f43.google.com; client-ip=209.85.128.43 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1617878184-57654 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Mar 26, 2021 at 06:55:01AM +0100, Christoph Hellwig wrote: > Hi all, > > i915 has some reason to want to avoid the track_pfn_remap overhead in > remap_pfn_range. Add a function to the core VM to do just that rather > than reinventing the functionality poorly in the driver. > > Note that the remap_io_sg path does get exercises when using Xorg on my > Thinkpad X1, so this should be considered lightly tested, I've not > managed to hit the remap_io_mapping path at all. > > Changes since v1: > - create a io_mapping_map_user wrapper instead of exporting > remap_pfn_range_notrack > - switch to plain remap_pfn_range for remap_sg as it does not use > a pre-verified pgprot from an iomap I'm burried under patches and stuff so no in-depth review. But from a quick scan lgtm. On the series: Acked-by: Daniel Vetter I've seen it's landed already in some tree, maybe if you can add the acks ftr? Cheers, Daniel > > Diffstat: > drivers/gpu/drm/i915/Kconfig | 1 > drivers/gpu/drm/i915/gem/i915_gem_mman.c | 9 +- > drivers/gpu/drm/i915/i915_drv.h | 3 > drivers/gpu/drm/i915/i915_mm.c | 117 ++++++------------------------- > include/linux/io-mapping.h | 3 > include/linux/mm.h | 2 > mm/Kconfig | 3 > mm/Makefile | 1 > mm/io-mapping.c | 29 +++++++ > mm/memory.c | 51 ++++++++----- > 10 files changed, 97 insertions(+), 122 deletions(-) -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch 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=-13.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 82166C433B4 for ; Thu, 8 Apr 2021 10:36:27 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 DD5B361178 for ; Thu, 8 Apr 2021 10:36:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD5B361178 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D6C5F6EA7E; Thu, 8 Apr 2021 10:36:25 +0000 (UTC) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id 503A36EA7E for ; Thu, 8 Apr 2021 10:36:25 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id a76so972802wme.0 for ; Thu, 08 Apr 2021 03:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=Ehb071qhtIjNwg1coki7qfy1ZvMlP2t+7HCBWvzOtdo=; b=E1codMSn0IXppsbUUVROaUamwBgW1+Bqn2Yc7Nhms6IPNIkKcACn6o+jhw6alG7V1t gQKajoYhG9V+L7oeIHqOYRxbywQMWyzF0q6x6peu0RGFiKMwyhmiNLu9OHnGQqnRKPjF 8n7EosyEkFqjhKSSfR6IGNvqB2YaaqWuroS6c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=Ehb071qhtIjNwg1coki7qfy1ZvMlP2t+7HCBWvzOtdo=; b=fWhZm+M61Of2tgxqKW4UwO5u3Z6ZTHa8QIPXj0TNERubDZ+JdtwAvBj/7EsIR174E9 OFpW2PDafGMoOp+IN1Ml2yGui9sQvRsyAURkn3ibXfgfi9OL0/c7y61vJKGsr+6YRekb +plq/XQAAnGRQvVuJVjQmmKQ2P6gWG2NIH6ndWCgddAZdaaFxmKZURJxGX3GNJ6CxNQ+ 7nnUIa8T11aXLxCrdZbVPHXwFygthbO5Aw4OHTRS9z1sxXgF03chFspDnwl3O1NSFxPj DVH1D5BWCxBLTxMouoO50Pe70vPcRgDGB67GaiBUq9Ck+l1+Fb1FgTwf9d+YaLvCyrm4 mE3A== X-Gm-Message-State: AOAM5309xv04tq2HsPtMi7wFr+lRsHa7GWqhtkD6eM93F/51/TvTA9rc 2M2Dbvz99YBl+pSpF1ckeFYsSw== X-Google-Smtp-Source: ABdhPJxVRQpjUIE10JDuV/W/95buK8as49pxXaiEpY23riFd8jWlvKx5lmQHHebGeYW5WOocwxiUIQ== X-Received: by 2002:a1c:4908:: with SMTP id w8mr7575080wma.57.1617878184058; Thu, 08 Apr 2021 03:36:24 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id z8sm45559832wrh.37.2021.04.08.03.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 03:36:23 -0700 (PDT) Date: Thu, 8 Apr 2021 12:36:21 +0200 From: Daniel Vetter To: Christoph Hellwig Subject: Re: add remap_pfn_range_notrack instead of reinventing it in i915 v2 Message-ID: Mail-Followup-To: Christoph Hellwig , Andrew Morton , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Chris Wilson , Peter Zijlstra , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-mm@kvack.org References: <20210326055505.1424432-1-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210326055505.1424432-1-hch@lst.de> X-Operating-System: Linux phenom 5.7.0-1-amd64 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Zijlstra , Daniel Vetter , intel-gfx@lists.freedesktop.org, Chris Wilson , linux-mm@kvack.org, dri-devel@lists.freedesktop.org, Rodrigo Vivi , Andrew Morton Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, Mar 26, 2021 at 06:55:01AM +0100, Christoph Hellwig wrote: > Hi all, > > i915 has some reason to want to avoid the track_pfn_remap overhead in > remap_pfn_range. Add a function to the core VM to do just that rather > than reinventing the functionality poorly in the driver. > > Note that the remap_io_sg path does get exercises when using Xorg on my > Thinkpad X1, so this should be considered lightly tested, I've not > managed to hit the remap_io_mapping path at all. > > Changes since v1: > - create a io_mapping_map_user wrapper instead of exporting > remap_pfn_range_notrack > - switch to plain remap_pfn_range for remap_sg as it does not use > a pre-verified pgprot from an iomap I'm burried under patches and stuff so no in-depth review. But from a quick scan lgtm. On the series: Acked-by: Daniel Vetter I've seen it's landed already in some tree, maybe if you can add the acks ftr? Cheers, Daniel > > Diffstat: > drivers/gpu/drm/i915/Kconfig | 1 > drivers/gpu/drm/i915/gem/i915_gem_mman.c | 9 +- > drivers/gpu/drm/i915/i915_drv.h | 3 > drivers/gpu/drm/i915/i915_mm.c | 117 ++++++------------------------- > include/linux/io-mapping.h | 3 > include/linux/mm.h | 2 > mm/Kconfig | 3 > mm/Makefile | 1 > mm/io-mapping.c | 29 +++++++ > mm/memory.c | 51 ++++++++----- > 10 files changed, 97 insertions(+), 122 deletions(-) -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel 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=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 20727C433ED for ; Thu, 8 Apr 2021 10:36:31 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 DE38C61158 for ; Thu, 8 Apr 2021 10:36:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DE38C61158 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6FE876EA81; Thu, 8 Apr 2021 10:36:26 +0000 (UTC) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5D0F26EA7F for ; Thu, 8 Apr 2021 10:36:25 +0000 (UTC) Received: by mail-wm1-x333.google.com with SMTP id p22so945881wmc.3 for ; Thu, 08 Apr 2021 03:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=Ehb071qhtIjNwg1coki7qfy1ZvMlP2t+7HCBWvzOtdo=; b=E1codMSn0IXppsbUUVROaUamwBgW1+Bqn2Yc7Nhms6IPNIkKcACn6o+jhw6alG7V1t gQKajoYhG9V+L7oeIHqOYRxbywQMWyzF0q6x6peu0RGFiKMwyhmiNLu9OHnGQqnRKPjF 8n7EosyEkFqjhKSSfR6IGNvqB2YaaqWuroS6c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=Ehb071qhtIjNwg1coki7qfy1ZvMlP2t+7HCBWvzOtdo=; b=kmD5O/oF+ffmbBzP0G/tnqVtpLl0I+Ib0nlOQuTDqE0NB0dopjiORVwl6ebYuOcK9x oQXZFVl3lB85+F3jhRAnPi0HhUnbxUAHw8Hcvs2hecD/iwoVXgaQNEH7xBLU/Mk7FV5T GzrqRgeV+tMJrYQt45ffq4tmrWv//B77qsN18XY/owNb5x8olFm3PryIF1OTNcbuSs5i vZEz3Vw5ZbKT7+bJPXMnDFOPDLbg180rGwmacavOAaxoeNFFZkh8eS9W0shjGApjdw+3 o288Ds4SYIKfqTaUooP3ru//zwZAelOb0EL2LqJXiykSxQ6xtQBZ3qwo9TGR2jTVIVaw dS8w== X-Gm-Message-State: AOAM532ipqCLrU+NSJOsX7c9icZvXd9XHSONmIgizkmaOrLbapZTx4Nn K/iQX1HhCKVp1a0tqRvQ7jwlX8GAXONm3Q== X-Google-Smtp-Source: ABdhPJxVRQpjUIE10JDuV/W/95buK8as49pxXaiEpY23riFd8jWlvKx5lmQHHebGeYW5WOocwxiUIQ== X-Received: by 2002:a1c:4908:: with SMTP id w8mr7575080wma.57.1617878184058; Thu, 08 Apr 2021 03:36:24 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id z8sm45559832wrh.37.2021.04.08.03.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 03:36:23 -0700 (PDT) Date: Thu, 8 Apr 2021 12:36:21 +0200 From: Daniel Vetter To: Christoph Hellwig Message-ID: Mail-Followup-To: Christoph Hellwig , Andrew Morton , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Chris Wilson , Peter Zijlstra , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-mm@kvack.org References: <20210326055505.1424432-1-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210326055505.1424432-1-hch@lst.de> X-Operating-System: Linux phenom 5.7.0-1-amd64 Subject: Re: [Intel-gfx] add remap_pfn_range_notrack instead of reinventing it in i915 v2 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Zijlstra , Daniel Vetter , intel-gfx@lists.freedesktop.org, Chris Wilson , linux-mm@kvack.org, dri-devel@lists.freedesktop.org, Andrew Morton Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Fri, Mar 26, 2021 at 06:55:01AM +0100, Christoph Hellwig wrote: > Hi all, > > i915 has some reason to want to avoid the track_pfn_remap overhead in > remap_pfn_range. Add a function to the core VM to do just that rather > than reinventing the functionality poorly in the driver. > > Note that the remap_io_sg path does get exercises when using Xorg on my > Thinkpad X1, so this should be considered lightly tested, I've not > managed to hit the remap_io_mapping path at all. > > Changes since v1: > - create a io_mapping_map_user wrapper instead of exporting > remap_pfn_range_notrack > - switch to plain remap_pfn_range for remap_sg as it does not use > a pre-verified pgprot from an iomap I'm burried under patches and stuff so no in-depth review. But from a quick scan lgtm. On the series: Acked-by: Daniel Vetter I've seen it's landed already in some tree, maybe if you can add the acks ftr? Cheers, Daniel > > Diffstat: > drivers/gpu/drm/i915/Kconfig | 1 > drivers/gpu/drm/i915/gem/i915_gem_mman.c | 9 +- > drivers/gpu/drm/i915/i915_drv.h | 3 > drivers/gpu/drm/i915/i915_mm.c | 117 ++++++------------------------- > include/linux/io-mapping.h | 3 > include/linux/mm.h | 2 > mm/Kconfig | 3 > mm/Makefile | 1 > mm/io-mapping.c | 29 +++++++ > mm/memory.c | 51 ++++++++----- > 10 files changed, 97 insertions(+), 122 deletions(-) -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx