PCI resources above 4GB

Yinghai Lu yinghai at kernel.org
Mon Apr 16 10:29:48 PDT 2012


On Sun, Apr 15, 2012 at 11:54 PM, Yinghai Lu <yinghai at kernel.org> wrote:
> On Sun, Apr 15, 2012 at 1:06 PM, Yinghai Lu <yinghai at kernel.org> wrote:
>>> 3. use pci_bus_allocate_resource in drm/radeon driver ... ===> but
>>> that could fail.
>>>   so could hack it like a. disable bar 0x10 and steal BAR address,
>>> then set 0x30 to that address then copy ROM to ram.
>>>   after that, disable rom again and set back address to 0x10.
>>>   You try to update radeon_get_bios() to achieve that.
>
> patches for solution 3:
> map_rom.patch will try to borrow mem or mem pref bar for ROM copying
>
> and You still need to use pci=norom

map_rom.patch missed one !

Please check map_rom_v2.patch

Thanks

Yinghai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map_rom_v2.patch
Type: application/octet-stream
Size: 4307 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120416/ff392496/attachment.obj>


More information about the dri-devel mailing list