Commit 1f7d799f authored by Jean-Philippe Brucker's avatar Jean-Philippe Brucker Committed by Treehugger Robot
Browse files

BACKPORT: 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: default avatarKetan Patil <ketanp@nvidia.com>
Reviewed-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Reviewed-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Reviewed-by: default avatarNicolin Chen <nicolinc@nvidia.com>
Signed-off-by: default avatarJean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20240607105415.2501934-4-jean-philippe@linaro.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
Change-Id: I689bbd8b903cf6270d9a60ee777d9cef5f9e1abc
(cherry picked from commit 86e02a88)
Signed-off-by: default avatarJian-Min Liu <jianminl@nvidia.com>
parent 761894ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment