Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1666151

Re: Resizeable PCI BAR support V5

From Bjorn Helgaas <helgaas@kernel.org>
Newsgroups linux.kernel
Subject Re: Resizeable PCI BAR support V5
Date 2017-06-14 21:00 +0200
Message-ID <tSlGh-od-13@gated-at.bofh.it> (permalink)
References <tQo5z-84n-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.
> 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Resizeable PCI BAR support V5 Christian König <deathsimple@vodafone.de> - 2017-06-09 11:10 +0200
  [PATCH v5 6/6] drm/amdgpu: resize VRAM BAR for CPU access v3 Christian König <deathsimple@vodafone.de> - 2017-06-09 11:20 +0200
    Re: [PATCH v5 6/6] drm/amdgpu: resize VRAM BAR for CPU access v3 Bjorn Helgaas <helgaas@kernel.org> - 2017-06-14 21:10 +0200
    Re: [PATCH v5 6/6] drm/amdgpu: resize VRAM BAR for CPU access v3 Alex Deucher <alexdeucher@gmail.com> - 2017-06-14 21:40 +0200
  [PATCH v5 2/6] PCI: add resizeable BAR infrastructure v5 Christian König <deathsimple@vodafone.de> - 2017-06-09 11:20 +0200
  [PATCH v5 1/6] PCI: add a define for the PCI resource type mask v2 Christian König <deathsimple@vodafone.de> - 2017-06-09 11:20 +0200
  Re: Resizeable PCI BAR support V5 Bjorn Helgaas <helgaas@kernel.org> - 2017-06-14 21:00 +0200

csiph-web