All of lore.kernel.org
 help / color / mirror / Atom feed
* Resizeable PCI BAR support v5
@ 2017-05-04  9:31 Christian König
  2017-05-04  9:31 ` [PATCH 1/5] PCI: add a define for the PCI resource type mask Christian König
                   ` (5 more replies)
  0 siblings, 6 replies; 24+ messages in thread
From: Christian König @ 2017-05-04  9:31 UTC (permalink / raw)
  To: linux-pci, platform-driver-x86, helgaas, linux-kernel

Hi everyone,

this is the fifth 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.

Noteable changed compared to v4:
1. Patch #1 is new and a minor cleanup to the PCI code.
2. Some more helpers added to patch #2
3. We now print a note to syslog before releasing resources.
4. Add defines for registers and bits used to add new root hub window.

I've addressed mostly every review comment I've got so far and it looks like we
are getting closer to landing this. Any more suggestions/hints how we could
improve the patchset would be very welcome.

Thanks in advance,
Christian.

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Resizeable PCI BAR support V5
@ 2017-06-09  8:59 ` Christian König
  0 siblings, 0 replies; 24+ messages in thread
From: Christian König @ 2017-06-09  8:59 UTC (permalink / raw)
  To: helgaas, linux-pci, dri-devel, platform-driver-x86, linux-kernel,
	amd-gfx

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.

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2017-08-06 22:37 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04  9:31 Resizeable PCI BAR support v5 Christian König
2017-05-04  9:31 ` [PATCH 1/5] PCI: add a define for the PCI resource type mask Christian König
2017-05-07 10:48   ` Andy Shevchenko
2017-05-07 10:48     ` Andy Shevchenko
2017-05-04  9:31 ` [PATCH 2/5] PCI: add resizeable BAR infrastructure v5 Christian König
2017-05-07 10:52   ` Andy Shevchenko
2017-05-07 10:52     ` Andy Shevchenko
2017-05-04  9:31 ` [PATCH 3/5] PCI: add functionality for resizing resources v4 Christian König
2017-05-07 10:58   ` Andy Shevchenko
2017-05-07 10:58     ` Andy Shevchenko
2017-05-04  9:31 ` [PATCH 4/5] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 30h-3fh) Processors v3 Christian König
2017-05-07 11:03   ` Andy Shevchenko
2017-05-07 11:03     ` Andy Shevchenko
2017-05-04  9:31 ` [PATCH 5/5] drm/amdgpu: resize VRAM BAR for CPU access v2 Christian König
2017-05-07 10:50 ` Resizeable PCI BAR support v5 Andy Shevchenko
2017-05-07 10:50   ` Andy Shevchenko
2017-06-09  8:59 Resizeable PCI BAR support V5 Christian König
2017-06-09  8:59 ` Christian König
2017-06-14 18:52 ` Bjorn Helgaas
2017-06-29 23:51 ` Dieter Nützel
2017-06-29 23:51   ` Dieter Nützel
2017-06-30 12:55   ` Christian König
2017-08-06 22:30     ` Dieter Nützel
2017-08-06 22:30       ` Dieter Nützel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.