diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2020-01-15 15:52:34 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-15 19:05:53 +0300 |
commit | 2505ec6f85ad864b76127f9662c6f3f315dff14f (patch) | |
tree | d79b073410ed08c79d535116d55a6430110ad680 /scripts/gdb/linux/utils.py | |
parent | 87f42391f6a57c252453aff2005fe2ec74f6873b (diff) | |
download | linux-2505ec6f85ad864b76127f9662c6f3f315dff14f.tar.xz |
iommu/arm-smmu-v3: Propagate ssid_bits
Now that we support substream IDs, initialize s1cdmax with the number of
SSID bits supported by a master and the SMMU.
Context descriptor tables are allocated once for the first master
attached to a domain. Therefore attaching multiple devices with
different SSID sizes is tricky, and we currently don't support it.
As a future improvement it would be nice to at least support attaching a
SSID-capable device to a domain that isn't using SSID, by reallocating
the SSID table. This would allow supporting a SSID-capable device that
is in the same IOMMU group as a bridge, for example. Varying SSID size
is less of a concern, since the PCIe specification "highly recommends"
that devices supporting PASID implement all 20 bits of it.
Tested-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions