From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751477AbdJYL1y (ORCPT ); Wed, 25 Oct 2017 07:27:54 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:52682 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750891AbdJYL1v (ORCPT ); Wed, 25 Oct 2017 07:27:51 -0400 X-Google-Smtp-Source: ABhQp+Tv+JNhVEDdYCoxcA6RbhYO+PhYLwj6C1sABQ1KQweXwP7NjI5iwaJ7BM9yiqhV3wNhmIxn9w== Reply-To: christian.koenig@amd.com Subject: Re: Resizable PCI BAR support V9 To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org References: <20171018135821.3248-1-deathsimple@vodafone.de> <20171024194438.GB21840@bhelgaas-glaptop.roam.corp.google.com> From: =?UTF-8?Q?Christian_K=c3=b6nig?= Message-ID: <6cea55fd-1454-60ef-e3d0-f394b7a1c61f@gmail.com> Date: Wed, 25 Oct 2017 13:27:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171024194438.GB21840@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 24.10.2017 um 21:44 schrieb Bjorn Helgaas: > On Wed, Oct 18, 2017 at 03:58:16PM +0200, Christian König wrote: >> Hi everyone, >> >> This is the ninth and hopefully last incarnation of this set of patches. It >> enables device drivers to resize and most likely also relocate the PCI BAR of >> devices they manage to allow the CPU to access all of the device local memory >> at once. >> >> This is very useful for GFX device drivers where the default PCI BAR is only >> about 256MB in size for compatibility reasons, but the device easily have >> multiple gigabyte of local memory. >> >> Some changes since the last version: >> 1. Rebased on drm-next, so should be ready to be merged for 4.15. >> 2. The fixup of the 64bit root window on AMD Family 15h CPUs/APUs is only >> enabled when we compile a kernel supporting that hw. >> 3. Some minor error handling improvements for the amdgpu side. We now >> gracefully abort driver loading in case of a critical error instead of >> calling BUG(). >> >> Bjorn any more comments or can we finally get this into 4.15? I will remove the >> version tags from the patches when I send you a pull request if you want this. >> >> I only work on this as a background task, so sorry for the ~3 month delay >> between each version of the patchset. > I put these (except for the last) on pci/resource for v4.15. I'd be > happy to merge the last as well if you like. My tree does not include > drm-next, so there would be a minor conflict when merging upstream. Thanks Bjorn, that is great to hear. I will sync up with Alex and Dave how to merge the last patch. Christian. > > Bjorn