[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1591762694-9131-1-git-send-email-zhangfei.gao@linaro.org>
Date: Wed, 10 Jun 2020 12:18:14 +0800
From: Zhangfei Gao <zhangfei.gao@...aro.org>
To: Bjorn Helgaas <bhelgaas@...gle.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Arnd Bergmann <arnd@...db.de>,
jean-philippe <jean-philippe@...aro.org>,
kenneth-lee-2012@...mail.com, Wangzhou <wangzhou1@...ilicon.com>
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
Zhangfei Gao <zhangfei.gao@...aro.org>
Subject: [RFC PATCH] PCI: Remove End-End TLP as PASID dependency
Some platform devices appear as PCI and have PCI cfg space,
but are actually on the AMBA bus.
They can support PASID via smmu stall feature, but does not
support tlp since they are not real pci devices.
So remove tlp as a PASID dependency.
Signed-off-by: Zhangfei Gao <zhangfei.gao@...aro.org>
---
drivers/pci/ats.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c
index 390e92f..8e31278 100644
--- a/drivers/pci/ats.c
+++ b/drivers/pci/ats.c
@@ -344,9 +344,6 @@ int pci_enable_pasid(struct pci_dev *pdev, int features)
if (WARN_ON(pdev->pasid_enabled))
return -EBUSY;
- if (!pdev->eetlp_prefix_path)
- return -EINVAL;
-
if (!pasid)
return -EINVAL;
--
2.7.4
Powered by blists - more mailing lists