]> www.infradead.org Git - users/dwmw2/linux.git/commit
iommu/of: Support ats-supported device-tree property
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Fri, 7 Jun 2024 10:54:15 +0000 (11:54 +0100)
committerWill Deacon <will@kernel.org>
Thu, 4 Jul 2024 13:54:01 +0000 (14:54 +0100)
commit86e02a88bedc1072beb5445d408e379674b0b7f3
treeee33d1bca3de7565608cade753bf2b1add4e9106
parent40929e8e5449a18bc98baf7a907dd6674bd60049
iommu/of: Support ats-supported device-tree property

Device-tree declares whether a PCI root-complex supports ATS by setting
the "ats-supported" property. Copy this flag into device fwspec to let
IOMMU drivers quickly check if they can enable ATS for a device.

Tested-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20240607105415.2501934-4-jean-philippe@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/of_iommu.c