aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMiles Chen <[email protected]>2020-09-04 18:40:38 +0800
committerJoerg Roedel <[email protected]>2020-09-04 13:20:36 +0200
commitc2c59456e1fcad3f464761c5839399176e3a934a (patch)
treee5c2e6e114d5b4195f518e9251b7ede6344e8caf /tools/perf/scripts/python/syscall-counts.py
parentf53dd97874e6d916ce7d3a487a1073ef5c10e153 (diff)
iommu/mediatek: Check 4GB mode by reading infracfg
In previous discussion [1] and [2], we found that it is risky to use max_pfn or totalram_pages to tell if 4GB mode is enabled. Check 4GB mode by reading infracfg register, remove the usage of the un-exported symbol max_pfn. This is a step towards building mtk_iommu as a kernel module. [1] https://lore.kernel.org/lkml/[email protected]/ [2] https://lore.kernel.org/lkml/[email protected]/ [3] https://lore.kernel.org/lkml/20200715205120.GA778876@bogus/ Cc: Mike Rapoport <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Yong Wu <[email protected]> Cc: Yingjoe Chen <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Rob Herring <[email protected]> Cc: Matthias Brugger <[email protected]> Cc: Joerg Roedel <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Signed-off-by: Miles Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions