diff options
author | Chao Hao <[email protected]> | 2020-07-03 12:41:24 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-07-10 16:13:11 +0200 |
commit | 35c1b48d27dac486835435e703749236b14dcd8f (patch) | |
tree | 9f2520ae0d9d6a65dc6a176a5d62a1ffcb6d41a7 /include/linux/fpga/fpga-mgr.h | |
parent | 37276e00da7d3a0d643d325aef81b7283fe23010 (diff) |
iommu/mediatek: Add REG_MMU_WR_LEN_CTRL register definition
Some platforms(ex: mt6779) need to improve performance by setting
REG_MMU_WR_LEN_CTRL register. And we can use WR_THROT_EN macro to control
whether we need to set the register. If the register uses default value,
iommu will send command to EMI without restriction, when the number of
commands become more and more, it will drop the EMI performance. So when
more than ten_commands(default value) don't be handled for EMI, iommu will
stop send command to EMI for keeping EMI's performace by enabling write
throttling mechanism(bit[5][21]=0) in MMU_WR_LEN_CTRL register.
Signed-off-by: Chao Hao <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Cc: 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