Files
linux/drivers
Yong Wu c19e8027fe UPSTREAM: iommu/mediatek: Fix 2 HW sharing pgtable issue
In the commit 4f956c97d2 ("iommu/mediatek: Move domain_finalise into
attach_device"), I overlooked the sharing pgtable case.
After that commit, the "data" in the mtk_iommu_domain_finalise always is
the data of the current IOMMU HW. Fix this for the sharing pgtable case.

Only affect mt2712 which is the only SoC that share pgtable currently.

Bug: 254441685
Fixes: 4f956c97d2 ("iommu/mediatek: Move domain_finalise into attach_device")
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/20220503071427.2285-5-yong.wu@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
(cherry picked from commit 645b87c190)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I5d62237138ef21e9c4235c549a5297a3a4d36967
2022-11-25 13:38:34 +00:00
..
2022-03-18 12:13:27 +01:00
2021-11-06 14:21:25 +01:00
2022-01-29 09:07:58 +01:00
2021-11-19 07:47:18 +01:00
2022-01-29 09:07:58 +01:00
2022-03-15 13:57:31 +01:00
2022-03-18 12:17:14 +01:00
2022-03-18 12:17:14 +01:00
2022-03-15 13:57:31 +01:00
2022-03-02 11:42:53 +01:00
2022-03-15 13:57:31 +01:00
2022-01-29 09:07:58 +01:00
2022-01-27 10:53:51 +01:00
2022-02-16 15:14:37 +01:00
2022-03-18 12:17:14 +01:00
2021-11-18 14:03:51 +01:00
2022-01-29 09:07:58 +01:00
2021-11-19 07:47:18 +01:00
2022-01-29 09:07:58 +01:00
2021-10-13 15:34:56 +02:00
2021-11-19 07:47:18 +01:00
2022-02-02 09:32:52 +01:00
2022-02-09 12:26:22 +01:00
2022-02-02 09:32:52 +01:00
2022-03-15 13:57:31 +01:00
2022-03-18 12:17:14 +01:00
2022-03-15 13:57:31 +01:00
2022-03-18 12:13:27 +01:00