Re: [PATCH] PCI: keep resource size during alignment reordering

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

 



On Fri, May 29, 2015 at 2:16 PM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote:
> On Thu, May 28, 2015 at 10:40:00PM -0700, Yinghai Lu wrote:
>> In d74b9027a4da ("PCI: Consider additional PF's IOV BAR alignment in sizing
>> and assigning"), it stores additional alignment in realloc_head and takes
>> this into consideration for assignment.
>> During update the resource before reordering, it does not calculate
>> resource end correctly.
>>
>> We need to keep the original resource size before updating start.
>> otherwise we will smaller size during updating end.
...
> I already merged this fix for the same commit:
>
> http://lkml.kernel.org/r/1432016657-16816-1-git-send-email-weiyang@xxxxxxxxxxxxxxxxxx
>
> Is this a separate fix for a different problem?  Is it a fix for the same
> problem, just implemented differently?

It is a separate fix for different problem.
We should keep the size while changing the alignement.

Thanks

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