Commit 1e8a463
iommu/mediatek: mt8188: Add iova_region_larb_msk
Add iova_region_larb_msk for mt8188. We separate the 16GB iova regions
by each device's larbid/portid.
Refer to include/dt-bindings/memory/mediatek,mt8188-memory-port.h
As commented in the code, larb19(21) means it's larb19 while its SW index
is 21.
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Link: https://lore.kernel.org/r/20230602090227.7264-7-yong.wu@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent a09e840 commit 1e8a463
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1607 | 1607 | | |
1608 | 1608 | | |
1609 | 1609 | | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
1610 | 1624 | | |
1611 | 1625 | | |
1612 | 1626 | | |
| |||
1618 | 1632 | | |
1619 | 1633 | | |
1620 | 1634 | | |
| 1635 | + | |
1621 | 1636 | | |
1622 | 1637 | | |
1623 | 1638 | | |
| |||
1634 | 1649 | | |
1635 | 1650 | | |
1636 | 1651 | | |
| 1652 | + | |
1637 | 1653 | | |
1638 | 1654 | | |
1639 | 1655 | | |
| |||
0 commit comments