RE: [PATCH] PCIE: pcie_set_readrq must not be allowed by PCIE EP driver

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

 



Hi,

Pratyush Anand wrote on Friday, February 24, 2012 9:28 AM:

> On 2/23/2012 11:12 PM, Tejun Heo wrote:
>> Hello,
>> 
>> On Thu, Feb 23, 2012 at 03:31:29PM +0530, Pratyush Anand wrote:
>>> Its a long pending patch.
>>> Any decision on this patch.
>> 
>> Hmmm.... I really don't know what to do.  IIRC it was something lifted
>> from the proprietary sil driver and they probably added that to work
>> around performance oddities under certain configurations and I'm a bit
>> worried about changing it after all this time.  Is there any way to
>> make this conditional somehow?
> 
> I see that there is a patch in the latest kernel.
> 
> commit a1c473aa11e61bc871be16279c9bf976acf22504
> Author: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> Date:   Fri Oct 14 14:56:15 2011 -0500
> 
>      pci: Clamp pcie_set_readrq() when using "performance" settings
> 
> I think, this will resolve the issue.
> We are moving to the new kernel. Will check it there.
> 
I see that the patch above considers MPS to clamp RRQ size, while I think
both should be independent, or perhaps I am missing something. 

Not allowing EP drivers to choose max RRQ setting for their respective 
devices will prevent breaking the mismatches where EP sends RRQ which RC 
cannot handle.

Other option is that the EP drivers which force max RRQ size also handle
the case where they get completor abort (or it wil be UR?) from the 
completor and then try to use lower (or lowest) read request. This will 
prevent breaking the data paths at the same time allowing systems which are
capable to have max performance.

Thanks.

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