Linux: Added GateMP support for DRA7XX devices
authorArnie Reynoso <arnier@ti.com>
Tue, 21 Jan 2014 22:17:44 +0000 (14:17 -0800)
committerChris Ring <cring@ti.com>
Wed, 22 Jan 2014 16:34:58 +0000 (08:34 -0800)
commitcb004c5225dbe46f5b36b0ed3e7b0705a57f70fb
tree4d5241b480726da62e8e33dc127e591fb636ec86
parent1987f0a84d5b7a271ed572faf6c5d113f8846ed8
Linux: Added GateMP support for DRA7XX devices

GateMP support has been added using the device's spinlocks.

To enable GateMP on the host, throw -g option when launching the
LAD daemon as follows:

        ./lad_dra7xx log.txt -g

To enable GateMP on the slave core, the core must be configured as
the owner of SR0 and GateMP.hostSupport config param must be set
to 'true' as follows:

         var GateMP = xdc.useModule('ti.sdo.ipc.GateMP');
         GateMP.hostSupport = true;

The slave core with GateMP enabled must the loaded (remoteproc)
prior to the execution of LAD on the host. This adds a restriction
on LAD that wasn't previously there.

Note: Initial validation has only been performed on DRA7XX DSP1.
28 files changed:
.gitignore
Makefile.am
linux/include/GateHWSpinlock.h [new file with mode: 0644]
linux/include/GateMP_config.h [new file with mode: 0644]
linux/include/GateMutex.h [new file with mode: 0644]
linux/include/IGateProvider.h [new file with mode: 0644]
linux/include/IObject.h [new file with mode: 0644]
linux/include/_GateMP.h [new file with mode: 0644]
linux/include/_GateMP_daemon.h [new file with mode: 0644]
linux/include/_lad.h
linux/src/api/Ipc.c
linux/src/api/Makefile.am
linux/src/api/NameServer.c
linux/src/api/gates/GateHWSpinlock.c [new file with mode: 0644]
linux/src/api/gates/GateMP.c [new file with mode: 0644]
linux/src/api/gates/GateMutex.c [new file with mode: 0644]
linux/src/daemon/GateHWSpinlock.c [new file with mode: 0644]
linux/src/daemon/GateHWSpinlockCfg_dra7xx.c [new file with mode: 0644]
linux/src/daemon/GateHWSpinlock_daemon.c [new file with mode: 0644]
linux/src/daemon/GateMP_daemon.c [new file with mode: 0644]
linux/src/daemon/Makefile.am
linux/src/daemon/NameServer_daemon.c
linux/src/daemon/lad.c
linux/src/tests/GateMPApp.c [new file with mode: 0644]
linux/src/tests/GateMPApp.h [new file with mode: 0644]
linux/src/tests/Makefile.am
linux/src/tests/main_host.c [new file with mode: 0644]
packages/ti/ipc/tests/gatempapp_rsc_table_vayu_dsp.h