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

From: Sinan Kaya
Date: Tue Jun 19 2018 - 23:04:50 EST


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.