diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-08-04 18:31:43 -0700 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2015-01-19 11:53:31 -0600 |
commit | f76c6916570d8d24a622f2107ef747531148046e (patch) | |
tree | 9223f5327c2f9f53c0aedf5981eb3f67b2228ba0 /net/ax25 | |
parent | e5ca0feb860baacd635aa684c72821e640a1dfa6 (diff) |
ARM: qcom: scm: Fix incorrect cache invalidation
The cache invalidation in scm_call() correctly rounds down the start
address to invalidate the beginning of the cacheline but doesn't properly
round up the 'end' address to make it aligned. The last chunk of the
buffer won't be invalidated when 'end' is not cacheline size aligned so
make sure to invalidate the last few bytes in such situations. It also
doesn't do anything about outer caches so make sure to invalidate and flush
those as well.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'net/ax25')
0 files changed, 0 insertions, 0 deletions