diff options
author | Will Deacon <will.deacon@arm.com> | 2012-08-21 14:33:19 (GMT) |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-08-20 10:54:54 (GMT) |
commit | d9524dc32cab52714dee0c8e59c7437ee33a239a (patch) | |
tree | 09c0171cdc043daae67b6cbfc3a25e30bf53a4cc /crypto | |
parent | 28256d612726a28a8b9d3c49f2b74198c4423d6a (diff) | |
download | linux-fsl-qoriq-d9524dc32cab52714dee0c8e59c7437ee33a239a.tar.xz |
ARM: cacheflush: don't round address range up to nearest page
The flush_cache_user_range macro takes a pair of addresses describing
the start and end of the virtual address range to flush. Due to an
accidental oversight when flush_cache_range_user was introduced, the
address range was rounded up so that the start and end addresses were
page-aligned.
For historical reference, the interesting commits in history.git are:
10eacf1775e1 ("[ARM] Clean up ARM cache handling interfaces (part 1)")
71432e79b76b ("[ARM] Add flush_cache_user_page() for sys_cacheflush()")
This patch removes the alignment code, reducing the amount of flushing
required for ranges that are not an exact multiple of PAGE_SIZE.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Jonathan Austin <jonathan.austin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions