Resizeable PCI BAR support V5
Bjorn Helgaas
helgaas at kernel.org
Wed Jun 14 18:52:13 UTC 2017
On Fri, Jun 09, 2017 at 10:59:41AM +0200, Christian König wrote:
> Hi everyone,
>
> This is the fith 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.
I think this is really v7, isn't it? I see a v6 posted May 9.
> 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 V4:
> 1. Rebased on 4.11.
I apply patches to topic branches based on -rc1. I did apply these by
hand, but it's easier if they apply cleanly to -rc1.
> 2. added the rb from Andy Shevchenko to patches which look complete now.
> 3. Move releasing the BAR and reallocating it on error to the driver side.
> 4. Add amdgpu support for GMC V6 hardware generation as well.
>
> Please review and/or comment,
> Christian.
>
More information about the amd-gfx
mailing list