summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-11-23 13:18:47 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:04:50 -0700
commit51adc0956b090e04ec291fe33b340f9b32678f8c (patch)
treeb2478e2332d84bd61cd7930700c998aac3873bc8 /security
parent8a9d07bc986c6b562e56a0b28395574bb52e4846 (diff)
msm: secure_buffer: Ensure shared buffers are cache-aligned
Buffers shared with hypervisor might undergo some cache maintenance on the hypervisor side. Currently, we're passing a buffer that might not be cache-aligned (source_vm_list), so when the hypervisor does some cache maintenance on it they might be corrupting data. Fix this by ensuring that all buffers being shared with the hypervisor are cache-aligned by kmalloc'ing and memcpy'ing the source_vm_list before sending it across. Change-Id: I661f8ca852ade159e3432904086b060be8bfb806 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions