diff options
author | 2016-11-23 18:05:52 +0000 | |
---|---|---|
committer | 2016-11-23 18:05:52 +0000 | |
commit | ee6a7fce8e5ecd90794ad7c9f62518c753fb3cb6 (patch) | |
tree | 13705ac63db9a8eb4cc80418ea109fddf7f6fef0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | arm64: Enable HIBERNATION in defconfig (diff) | |
download | linux-dev-ee6a7fce8e5ecd90794ad7c9f62518c753fb3cb6.tar.xz linux-dev-ee6a7fce8e5ecd90794ad7c9f62518c753fb3cb6.zip |
arm64: Remove I-cache invalidation from flush_cache_range()
The flush_cache_range() function (similarly for flush_cache_page()) is
called when the kernel is changing an existing VA->PA mapping range to
either a new PA or to different attributes. Since ARMv8 has PIPT-like
D-caches, this function does not need to perform any D-cache
maintenance. The I-cache maintenance is already handled via set_pte_at()
and flush_cache_range() cannot anyway guarantee that there are no cache
lines left after invalidation due to the speculative loads.
This patch makes flush_cache_range() a no-op.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions