aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorYong Wu <[email protected]>2022-05-03 15:14:23 +0800
committerJoerg Roedel <[email protected]>2022-05-04 10:39:40 +0200
commit57fb481f9008997563a8de96aa49726fd51d6e3e (patch)
treeb5b0d086360f361049eb1458646b5bb3cc8657fb /include/linux/fpga/fpga-mgr.h
parentd72e0ff5424e74b551c73ed2d34c73b70b921733 (diff)
iommu/mediatek: Get the proper bankid for multi banks
We preassign some ports in a special bank via the new defined banks_portmsk. Put it in the plat_data means it is not expected to be adjusted dynamically. If the iommu id in the iommu consumer's dtsi node is inside this banks_portmsk, then we switch it to this special iommu bank, and initialise the IOMMU bank HW. Each bank has the independent pgtable(4GB iova range). Each bank is a independent iommu domain/group. Currently we don't separate different iova ranges inside a bank. 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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions