Re: Resizeable PCI BAR support V8
From: Bjorn Helgaas
Date: Thu Sep 14 2017 - 04:06:56 EST
On Mon, Jul 10, 2017 at 04:59:48PM +0200, Christian König wrote:
> Hi everyone,
>
> This is the eighth 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 Linus current master tree, going to rebase on 4.13-rc1 as soon as that is out.
> 2. Some more documentation on how to use the new functionality in drivers.
> 3. Only re-enable decoding when everything looks good.
> 4. Rename the new amdgpu function to better match what it is doing.
>
> Bjorn what's you'r feeling on getting this into 4.14?
This seems 99.9% done, but there were some kbuild issues that need to be
resolved. Or did I miss the resolution of those?
Bjorn