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

From: Timur Tabi
Date: Tue Jun 19 2018 - 23:02:28 EST


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;

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