rpmsg: run cache ops against cacheable buffers
authorWendy Liang <jliang@xilinx.com>
Tue, 2 Aug 2016 18:42:32 +0000 (11:42 -0700)
committerWendy Liang <jliang@xilinx.com>
Thu, 13 Oct 2016 05:01:46 +0000 (22:01 -0700)
commit0965ca1efacbbcdeed7b2407d625eabef9d41ccd
tree5e9e2b5b03d679ee3fab5370f6ad408e54c41896
parentabdfa352770a2996c58b5e84f07f71d8122c379b
rpmsg: run cache ops against cacheable buffers

If the shared buffers are cacheable, flush cache
before it enqueues the buffer to send, and invalidate
cache before it reads the buffer to receive.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/rpmsg/rpmsg_core.c