summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7395e3b)
raw | patch | inline | side by side (parent: 7395e3b)
author | Justin Sobota <jsobota@ti.com> | |
Wed, 25 Jun 2014 14:56:15 +0000 (10:56 -0400) | ||
committer | Justin Sobota <jsobota@ti.com> | |
Wed, 25 Jun 2014 14:56:15 +0000 (10:56 -0400) |
test/k2h/c66/bios/dsp_client.cfg | patch | blob | history | |
test/k2k/c66/bios/dsp_client.cfg | patch | blob | history |
index db6ee5efcb6415a510e29855d0dfd207c685ba3e..e2aeb637c95e0282a6e59754a2c77083deebc340 100644 (file)
0184 8284h MAR161 Memory Attribute Register 161 A100 0000h - A1FF FFFFh
*/
var Cache = xdc.useModule('ti.sysbios.family.c66.Cache');
0184 8284h MAR161 Memory Attribute Register 161 A100 0000h - A1FF FFFFh
*/
var Cache = xdc.useModule('ti.sysbios.family.c66.Cache');
-/* This doesn't work:
- Cache.MAR160_191 = 0xFFFFFFFC;
- So, need to do this:
-*/
-/* TBD: Update for Kepler: */
-Cache.setMarMeta(0xA0000000, 0x1FFFFFF, 0);
+/* Mark external memory used by kernel as uncached so that IPC vring CMA
+ * region can operate properly when exchanging messages between DSP and ARM.
+ * K2H Kernel reserves 0x80000000 - 0xA0000000 */
+Cache.setMarMeta(0x80000000, 0x20FFFFFF, 0xC);
Program.global.sysMinBufSize = 0x8000;
SysMin.bufSize = Program.global.sysMinBufSize;
Program.global.sysMinBufSize = 0x8000;
SysMin.bufSize = Program.global.sysMinBufSize;
index 9d4fd29ef08c46343edc022aa4ce01166d6076e7..b10e8be9421e4a9a2061da72008a88a3eb8b4aed 100644 (file)
0184 8284h MAR161 Memory Attribute Register 161 A100 0000h - A1FF FFFFh
*/
var Cache = xdc.useModule('ti.sysbios.family.c66.Cache');
0184 8284h MAR161 Memory Attribute Register 161 A100 0000h - A1FF FFFFh
*/
var Cache = xdc.useModule('ti.sysbios.family.c66.Cache');
-/* This doesn't work:
- Cache.MAR160_191 = 0xFFFFFFFC;
- So, need to do this:
-*/
-/* TBD: Update for Kepler: */
-Cache.setMarMeta(0xA0000000, 0x1FFFFFF, 0);
+/* Mark external memory used by kernel as uncached so that IPC vring CMA
+ * region can operate properly when exchanging messages between DSP and ARM.
+ * K2K Kernel reserves 0x80000000 - 0xA0000000 */
+Cache.setMarMeta(0x80000000, 0x20FFFFFF, 0xC);
Program.global.sysMinBufSize = 0x8000;
SysMin.bufSize = Program.global.sysMinBufSize;
Program.global.sysMinBufSize = 0x8000;
SysMin.bufSize = Program.global.sysMinBufSize;