Re: PCI rescan : can't assign mem [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 3, 2015 at 4:45 AM, Peio <peio@xxxxxxxxxxx> wrote:
> Peio <peio <at> azkarate.eu> writes:
>
>>
>> Yinghai Lu <yinghai <at> kernel.org> writes:
>>
>> > boot with pci=nocrs ?
>> >
>> > Try to get BIOS update.
>> >
>> > > If I change BIOS parameters I'll need a fresh install or the actual
> kernel
>> > > reconigzes changes?.
>> > should not.
>> >
>>
>> I'll try pci=nocrs and BIOS update.
>> Thank you Yinghai.
>>
>>
> I solved the issue.
>
> 1.- Boot kernel with pci=nocrs parameter (linux assigns lot of memory ro pci
> root bus).
>
> 2.- Remove upstream bridge :
> sudo echo 1 > /sys/bus/pci/devices/0000:00:1c.0/remove
>
> 3.- Rescan PCI bus
> sudo echo 1 > /sys/bus/pci/rescan

This is a workaround, not a solution.  It is not safe to use
"pci=nocrs" in general because it can break things related to resource
assignment, including hot-add of new devices.

I haven't looked at the problem in detail, but if the BIOS gives us a
_CRS with host bridge windows that are too small to accommodate all
your devices, there's really nothing the kernel can do about it.  You
just have to regard it as a limitation of that platform.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux