public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/9] Add PCI ATS support to Arm SMMUv3
@ 2019-04-17 18:24 Jean-Philippe Brucker
  2019-04-17 18:24 ` Jean-Philippe Brucker
                   ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: Jean-Philippe Brucker @ 2019-04-17 18:24 UTC (permalink / raw)
  To: will.deacon-5wv7dgnIgG8, lorenzo.pieralisi-5wv7dgnIgG8,
	bhelgaas-hpIqsD4AKlfQT0dZR+AlfA
  Cc: zhongmiao-C8/M+/jPZTeaMJb+Lgu22Q, okaya-DgEjT+Ai2ygdnm+yROfE0A,
	rjw-LthD3rsA81gm4RdzfppkhA, linux-pci-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	sudeep.holla-5wv7dgnIgG8, robin.murphy-5wv7dgnIgG8,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	lenb-DgEjT+Ai2ygdnm+yROfE0A

This series enables PCI ATS in SMMUv3. Changes since v2 [1]:

* Fix build failure when building arm-smmu-v3 without CONFIG_PCI
  Patches 1 and 2 are new.

* Only enable ATS if the root complex supports it. For the moment, only
  IORT provides this information. I have patches for devicetree but
  they are less mature and I'd rather make it a separate series.

* Tried to address most comments. I'll see if I can improve the firmware
  code when adding devicetree support (see [2]).

Note that there is a small conflict with the SVA API. This series
applies on top of Joerg's api-features branch for v5.2.

[1] https://www.spinics.net/lists/arm-kernel/msg719722.html
[2] git://linux-arm.org/linux-jpb.git ats/current

Jean-Philippe Brucker (9):
  PCI: Move ATS declarations outside of CONFIG_PCI
  PCI: Add a stub for pci_ats_disabled()
  ACPI/IORT: Check ATS capability in root complex nodes
  iommu/arm-smmu-v3: Rename arm_smmu_master_data to arm_smmu_master
  iommu/arm-smmu-v3: Store SteamIDs in master
  iommu/arm-smmu-v3: Add a master->domain pointer
  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 | 345 ++++++++++++++++++++++++++++--------
 include/linux/iommu.h       |   4 +
 include/linux/pci.h         |  31 ++--
 4 files changed, 306 insertions(+), 85 deletions(-)

-- 
2.21.0

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

end of thread, other threads:[~2019-07-02 14:59 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-17 18:24 [PATCH v3 0/9] Add PCI ATS support to Arm SMMUv3 Jean-Philippe Brucker
2019-04-17 18:24 ` Jean-Philippe Brucker
     [not found] ` <20190417182448.12382-1-jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>
2019-04-17 18:24   ` [PATCH v3 1/9] PCI: Move ATS declarations outside of CONFIG_PCI Jean-Philippe Brucker
2019-04-17 18:24     ` Jean-Philippe Brucker
     [not found]     ` <20190417182448.12382-2-jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>
2019-04-17 19:47       ` Bjorn Helgaas
2019-04-17 19:47         ` Bjorn Helgaas
2019-04-17 18:24   ` [PATCH v3 2/9] PCI: Add a stub for pci_ats_disabled() Jean-Philippe Brucker
2019-04-17 18:24     ` Jean-Philippe Brucker
     [not found]     ` <20190417182448.12382-3-jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>
2019-04-17 19:48       ` Bjorn Helgaas
2019-04-17 19:48         ` Bjorn Helgaas
2019-04-17 18:24   ` [PATCH v3 3/9] ACPI/IORT: Check ATS capability in root complex nodes Jean-Philippe Brucker
2019-04-17 18:24     ` Jean-Philippe Brucker
2019-04-18 11:20     ` Lorenzo Pieralisi
2019-04-18 11:20       ` Lorenzo Pieralisi
2019-04-17 18:24   ` [PATCH v3 4/9] iommu/arm-smmu-v3: Rename arm_smmu_master_data to arm_smmu_master Jean-Philippe Brucker
2019-04-17 18:24     ` Jean-Philippe Brucker
2019-04-17 18:24   ` [PATCH v3 5/9] iommu/arm-smmu-v3: Store SteamIDs in master Jean-Philippe Brucker
2019-04-17 18:24     ` Jean-Philippe Brucker
2019-04-17 18:24   ` [PATCH v3 6/9] iommu/arm-smmu-v3: Add a master->domain pointer Jean-Philippe Brucker
2019-04-17 18:24     ` Jean-Philippe Brucker
2019-04-17 18:24   ` [PATCH v3 7/9] iommu/arm-smmu-v3: Link domains and devices Jean-Philippe Brucker
2019-04-17 18:24     ` Jean-Philippe Brucker
2019-04-17 18:24   ` [PATCH v3 8/9] iommu/arm-smmu-v3: Add support for PCI ATS Jean-Philippe Brucker
2019-04-17 18:24     ` Jean-Philippe Brucker
2019-07-01 17:41     ` Robin Murphy
2019-07-02 14:59       ` Jean-Philippe Brucker
2019-04-17 18:24   ` [PATCH v3 9/9] iommu/arm-smmu-v3: Disable tagged pointers Jean-Philippe Brucker
2019-04-17 18:24     ` Jean-Philippe Brucker
2019-04-23 11:21 ` [PATCH v3 0/9] Add PCI ATS support to Arm SMMUv3 Will Deacon
2019-04-23 11:21   ` Will Deacon

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