aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2019-08-24 11:01:58 +0800
committerJoerg Roedel <jroedel@suse.de>2019-08-30 15:57:27 +0200
commitacb3c92a61306a8bc3b6bb8ed72977201affdd9a (patch)
tree5f87a309dee230e93d34331ba9c3fdf42ef71985 /tools/perf/scripts/python/sctop.py
parentb3e5eee76548f621bb1c3e9dab4a4ff98bebf0de (diff)
iommu/mediatek: Refine protect memory definition
The protect memory setting is a little different in the different SoCs. In the register REG_MMU_CTRL_REG(0x110), the TF_PROT(translation fault protect) shift bit is normally 4 while it shift 5 bits only in the mt8173. This patch delete the complex MACRO and use a common if-else instead. Signed-off-by: Yong Wu <yong.wu@mediatek.com> Reviewed-by: Evan Green <evgreen@chromium.org> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions