author | Subash Lakkimsetti <x0091084@ti.com> | |
Mon, 29 Aug 2016 16:28:55 +0000 (11:28 -0500) | ||
committer | Buddy Liong <a0270631@ti.com> | |
Mon, 2 Oct 2017 15:26:35 +0000 (10:26 -0500) | ||
commit | 0cdccd86227991e35a6d80ea0d13a8cc2771a604 | |
tree | 985ea7993551187de302be974d88222a07349581 | tree | snapshot (tar.xz tar.gz zip) |
parent | 56b20c6e896a62433a815a8533f94456731510f6 | commit | diff |
Invalidating parameter buffers for codec_get_version
Previously version_buf pointer is set to buffer pointer (data.buf)
of (IVIDDEC3_Status *) status.
The pointer dyn_params and status are not cache invalidated first which
can cause the status->data.buf to be accessed without cache invalidation.
Due to this corruption, it can cause exception on IPUMM.
The solution is to cache invalidate the dyn_params and status pointer
first to get the valid pointer of dyn_params and status.
Then set the version_buf with status->data.buf.
Perform cache invalidation on the version_buf to get the valid pointer.
Change-Id: I3258cca0ee191c488fc6457391215b8bfcde3b85
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
Previously version_buf pointer is set to buffer pointer (data.buf)
of (IVIDDEC3_Status *) status.
The pointer dyn_params and status are not cache invalidated first which
can cause the status->data.buf to be accessed without cache invalidation.
Due to this corruption, it can cause exception on IPUMM.
The solution is to cache invalidate the dyn_params and status pointer
first to get the valid pointer of dyn_params and status.
Then set the version_buf with status->data.buf.
Perform cache invalidation on the version_buf to get the valid pointer.
Change-Id: I3258cca0ee191c488fc6457391215b8bfcde3b85
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
src/ti/framework/dce/dce.c | diff | blob | history |