commit | bf2a5e717a47d042ca5f9f438cf186633f23033b | [log] [tgz] |
---|---|---|
author | Tomasz Figa <tfiga@chromium.org> | Fri Mar 23 15:38:06 2018 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Mar 29 12:22:26 2018 +0200 |
tree | 34e615a73cabfa2c6627de7b35088d473690cb77 | |
parent | 0416bf6479acef646ad8c7396f73ecd936aa84bb [diff] |
iommu/rockchip: Fix TLB flush of secondary IOMMUs Due to the bug in current code, only first IOMMU has the TLB lines flushed in rk_iommu_zap_lines. This patch fixes the inner loop to execute for all IOMMUs and properly flush the TLB. Signed-off-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>