Re: [PATCH] PCI: disable auto realloc detection for lsi devices

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

 



On Sat, Feb 7, 2015 at 6:14 AM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote:

> The BIOS sets the BAR.  Why does the device work when the BIOS sets
> the BAR but not when Linux does?

If you reset the firmware with disable/enable pcie link, the new BAR will
work.
...
>
>
> This is pretty ugly.  Do you have evidence that *all* LSI devices have
> an issue like this?

I hit the problem when I was working on pci bus number allocation ...
all lsi cards that I touch including the ones that use mpt2sas and megaraid_sas
have this problem.

I guess they are sharing some core code in the firmware.

>
> Can you use the usual quirk style rather than polluting common code
> paths like this?
>
> There's an IORESOURCE_PCI_FIXED flag that might be useful in this situation.
>

Let me check if i can have that work when pci=realloc is passed via command.

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