diff options
| author | Yong Wu <[email protected]> | 2022-05-03 15:13:58 +0800 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2022-05-04 10:39:38 +0200 |
| commit | 0e5a3f2e630b28e88e018655548212ef8eb4dfcb (patch) | |
| tree | a46a14b28bb9955852d25b13d7ac9c3571916123 /tools/perf/scripts/python | |
| parent | 98df772bdd1c4ce717a26289efea15cbbe4b64ed (diff) | |
iommu/mediatek: Add mutex for m4u_group and m4u_dom in data
Add a mutex to protect the data in the structure mtk_iommu_data,
like ->"m4u_group" ->"m4u_dom". For the internal data, we should
protect it in ourselves driver. Add a mutex for this.
This could be a fix for the multi-groups support.
Fixes: c3045f39244e ("iommu/mediatek: Support for multi domains")
Signed-off-by: Yunfei Wang <[email protected]>
Signed-off-by: Yong Wu <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions