The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [RFC PATCH] PCI: Remove End-End TLP as PASID dependency
@ 2020-06-10  4:18 Zhangfei Gao
  2020-06-10  7:46 ` Jean-Philippe Brucker
  2020-06-11 17:41 ` Bjorn Helgaas
  0 siblings, 2 replies; 6+ messages in thread
From: Zhangfei Gao @ 2020-06-10  4:18 UTC (permalink / raw)
  To: Bjorn Helgaas, Greg Kroah-Hartman, Arnd Bergmann, jean-philippe,
	kenneth-lee-2012, Wangzhou
  Cc: linux-pci, linux-kernel, Zhangfei Gao

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-13 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-10  4:18 [RFC PATCH] PCI: Remove End-End TLP as PASID dependency Zhangfei Gao
2020-06-10  7:46 ` Jean-Philippe Brucker
2020-06-10  8:00   ` Zhangfei Gao
2020-06-11 14:11     ` Sinan Kaya
2020-06-11 17:41 ` Bjorn Helgaas
2020-06-13 13:49   ` Zhangfei Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox