diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2024-06-07 11:54:14 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-07-04 14:54:01 +0100 |
commit | 40929e8e5449a18bc98baf7a907dd6674bd60049 (patch) | |
tree | 7391b6aeb579b05bcb9677a20de964a252914f2a /rust/kernel/alloc/vec_ext.rs | |
parent | 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff) |
dt-bindings: PCI: generic: Add ats-supported property
Add a way for firmware to tell the OS that ATS is supported by the PCI
root complex. An endpoint with ATS enabled may send Translation Requests
and Translated Memory Requests, which look just like Normal Memory
Requests with a non-zero AT field. So a root controller that ignores the
AT field may simply forward the request to the IOMMU as a Normal Memory
Request, which could end badly. In any case, the endpoint will be
unusable.
The ats-supported property allows the OS to only enable ATS in endpoints
if the root controller can handle ATS requests. Only add the property to
pcie-host-ecam-generic for the moment. For non-generic root controllers,
availability of ATS can be inferred from the compatible string.
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20240607105415.2501934-3-jean-philippe@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/vec_ext.rs')
0 files changed, 0 insertions, 0 deletions