lkml.org 
[lkml]   [2017]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectResizeable PCI BAR support V4
    Date
    Hi everyone,

    This is the fourth 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 V3:
    1. A lot of minor style cleanups.
    2. Make internal functions for changing BARs directly private to the PCI subsystem.
    3. Fail if any BAR is still in use when we try to change it.
    4. Handle intermediate bridges as well.
    5. Print some more messages when changing something.

    Please review and/or comment,
    Christian.

    \
     
     \ /
      Last update: 2017-04-25 15:20    [W:4.659 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site