linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add PCI ATS support to Arm SMMUv3
@ 2019-03-20 17:36 Jean-Philippe Brucker
  2019-03-20 17:36 ` [PATCH 1/4] ACPI/IORT: Check ATS capability in root complex nodes Jean-Philippe Brucker
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Jean-Philippe Brucker @ 2019-03-20 17:36 UTC (permalink / raw)
  To: will.deacon
  Cc: lorenzo.pieralisi, zhongmiao, okaya, joro, rjw, linux-acpi,
	iommu, hanjun.guo, sudeep.holla, robin.murphy, linux-arm-kernel,
	lenb

Add ATS support to the SMMUv3 driver. The previous posting was about a
year ago, as part of SVA v2 [1]. I feel slightly more confident
upstreaming this now that we can disable the feature for untrusted
devices. It's a low-hanging fruit in the SVA patch stack, and a good
candidate for v5.2.

As for testing, there is a public (free as in beer) software model that
has both SMMUv3 and a SATA controller with ATS [2]. It's not much since,
except for a dev_dbg message, you won't notice a difference when
enabling ATS, but it can still be used for checking that the patches
don't break anything.

[1] https://www.spinics.net/lists/kvm/msg168742.html
[2] https://patchwork.kernel.org/patch/10781793/

Jean-Philippe Brucker (4):
  ACPI/IORT: Check ATS capability in root complex nodes
  iommu/arm-smmu-v3: Link domains and devices
  iommu/arm-smmu-v3: Add support for PCI ATS
  iommu/arm-smmu-v3: Disable tagged pointers

 drivers/acpi/arm64/iort.c   |  11 ++
 drivers/iommu/arm-smmu-v3.c | 250 +++++++++++++++++++++++++++++++++++-
 include/linux/iommu.h       |   4 +
 3 files changed, 259 insertions(+), 6 deletions(-)

-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-04-05 18:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20 17:36 [PATCH 0/4] Add PCI ATS support to Arm SMMUv3 Jean-Philippe Brucker
2019-03-20 17:36 ` [PATCH 1/4] ACPI/IORT: Check ATS capability in root complex nodes Jean-Philippe Brucker
2019-03-21 16:00   ` Sinan Kaya
2019-03-25 15:02     ` Jean-Philippe Brucker
2019-03-20 17:36 ` [PATCH 2/4] iommu/arm-smmu-v3: Link domains and devices Jean-Philippe Brucker
2019-04-04 14:39   ` Will Deacon
2019-04-05 16:35     ` Jean-Philippe Brucker
2019-04-05 16:39       ` Will Deacon
2019-04-05 18:07         ` Jean-Philippe Brucker
2019-03-20 17:36 ` [PATCH 3/4] iommu/arm-smmu-v3: Add support for PCI ATS Jean-Philippe Brucker
2019-03-21 15:52   ` Sinan Kaya
2019-03-25 15:01     ` Jean-Philippe Brucker
2019-03-20 17:36 ` [PATCH 4/4] iommu/arm-smmu-v3: Disable tagged pointers Jean-Philippe Brucker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).