Re: [PATCH V2] PCI: Enable PASID when End-to-End TLP is supported by all bridges

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

 



On 6/19/2018 11:02 PM, Timur Tabi wrote:
> On 6/19/18 9:14 PM, Sinan Kaya wrote:
>> +    if (!(cap & PCI_EXP_DEVCAP2_E2ETLP))
>> +        return;
>> +
>> +    dev->eetlp_prefix = 1;
> 
> How about:
> 
>     if (cap & PCI_EXP_DEVCAP2_E2ETLP)
>         dev->eetlp_prefix = 1;
> 

Both works. I'll wait until I get more feedback.

-- 
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.



[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