- 16 Oct, 2009 40 commits
-
-
Simon Que authored
sysmgr_destroy was not cleaning up platform_mem. As a result, memory allocated by platform_mem_setup was not freed by platform_mem_destroy. This has been fixed. Also, platform_mem_destroy was incorrectly freeing the allocated gate handle. It now frees it correctly. Signed-off-by: Simon Que <sque@ti.com>
-
Simon Que authored
The memory alignment was not done properly in proc4430_map. It was not being aligned to the size of all pages needed to cover the reserved area. As a result, not all of it was reserved. This has been fixed and tested. Signed-off-by: Simon Que <sque@ti.com>
-
Suman Anna authored
This is a patch for near-term to enable MM to validate non-Tiler buffers. This patch maps the SW DMM region at 0x80000000 and of size 4MB into the kernel space and also adds a new shared region for it in platform_setup function. platform_override_config function is updated to configure the messageq module with 3 heaps. Signed-off-by: Suman Anna <s-anna@ti.com>
-
Simon Que authored
Syslink destroy phase was failing because of incorrect order of operations in gatepeterson and notify ducati. Signed-off-by: Simon Que <sque@ti.com>
-
Simon Que authored
Error message strings in sysmgr did not have newline characters at end. They have been added. Signed-off-by: Simon Que <sque@ti.com>
-
Simon Que authored
Changed the order of heapbuf cleanup operations in platform_stop_callback. The heapbuf gate handles are deleted after heapbuf is closed. Otherwise the heapbuf close function will hang when attempting to enter the gate. Signed-off-by: Simon Que <sque@ti.com>
-
C A Subramaniam authored
Thi patch has changes to migrate to syslink version 2.0.0.12 Also added some additional checks. Added -EINVAL return code for invalid arguments. Signed-off-by: C A Subramaniam <subramaniam.ca@gmail.com>
-
C A Subramaniam authored
Patch Introduces additional tracking of notify driver handles. Signed-off-by: C A Subramaniam <subramaniam.ca@ti.com> Signed-off-by: Ramesh Gupta G <grgupta@ti.com>
-
Suman Anna authored
This patch incorporates a number of bug fixes from the Syslink 2.00.00.12 drop. The following is the summary of changes. 1. sharedregion: - sharedregion_remove() is corrected to remove the sharedregion entry from the desired processor table. 2. platform_mem: - fixed memory leaks. 3. nameserver_remotenotify: - an atomic_t variable is added to maintain reference counting and the state of the module. - nameserver_get_local searches directly copy the value into the sharedmemory request buffer. - additional error checking is added. 4. messageq: - Number of priority queues definition moved from messageq source code to messageq header file, and is now also used by the messageq_transportshm module. - messageqq_transportshm module state object also keeps track of the individual messageq_transportshm instances created. 5. listmp_sharedmemory: - listmp_sharedmemory_open return value can come from nameserver, and so is checked against only a negative value for failure - sharedregion value is added into the nameserver database rather than the absolute sharedaddr. - minor changes in variable names. 6. heapbuf: - additional checks were added for valid sharedregion ptrs. - heapbuf_open return value can come from nameserver, and so is checked against only a negative value for failure. - minor changes in variable names. 7. gatepeterson: - minor changes in gatepeterson module. This module is currently missing the gatespinlock for interrupt context protection. - additional checks were added for valid sharedregion ptrs. Signed-off-by: Suman Anna <s-anna@ti.com>
-
Hari Kanigeri authored
This patch provides the following functionality: 1. Virt_To_Phys - Given a Co-processor's virtual address, the pages that are mapped are retured in the buffer passed by the user. 2. Given a Chiron's virtual address, maps to Ducati virtual address. This is a hack for now to address Tiler memory until the dynmamic memory allocation for Tiler is supported. This patch also fixed bug in memory unmap function using iommu for Super and Large page cases. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
-
C A Subramaniam authored
This patch adds support to use multiple ipc heaps. Signed-off-by: C A Subramaniam <subramaniam.ca@ti.com>
-
Suman Anna authored
This patch cleans up the gt_trace code in the rest of the IPC modules. printks are added instead in the IPC driver code. The gt.h header file is no longer included in any IPC source files. This patch has also fixed couple of checkpatch warnings in sharedregion module. Signed-off-by: Suman Anna <s-anna@ti.com>
-
Suman Anna authored
This patch cleaned up all the gt_traces in messageq modules. Duplicate BUG_ONs have also been removed. WARN_ONs have been added instead in some places. Return statements have been added in couple of functions for successful execution scenarions. Signed-off-by: Suman Anna <s-anna@ti.com>
-
Suman Anna authored
This patch cleaned up all the gt_traces in listmp_sharedmemory and listmp modules. Duplicate BUG_ONs have also been removed. return statements have been added in couple of functions for successful execution scenarions. Signed-off-by: Suman Anna <s-anna@ti.com>
-
Suman Anna authored
This patch cleaned up all the gt_traces in messageq_transportshm and heapbuf modules. Duplicate BUG_ONs have also been removed. return statements have been added in couple of functions for successful execution scenarions. Signed-off-by: Suman Anna <s-anna@ti.com>
-
C A Subramaniam authored
Removed unsed global variables. Also, cleaned up the platform_destroy() function. Note: Provision for setting separate heapIDs are also introduced. However, the values set are the same. The HeapIDs and names can be changed once the corresponding changes are made on the MPU side samples and the Ducati side. Signed-off-by: C A Subramaniam <subramaniam.ca@ti.com>
-
Jayan John authored
This patch fixes the minor issues found in heapbuf.c. heapbuf_alloc() now returns failure status for all failures. Earlier we had 0 returned in the case of some failures. Signed-off-by: Jayan John <x00jayan@ti.com>
-
Hari Kanigeri authored
This patch makes the sys manager option selected to be as default Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
-
Jayan John authored
This patch fixes the issues found in.. -messageq.c: messageq_open() now returns standard Linux error -NOENT instead of MESSAGEQ_E_NOTFOUND. -nameserver_remotenotify.c: nameserver_remotenotify_get() calls gatepeterson_leave() in the case of failure. Signed-off-by: Jayan John <x00jayan@ti.com>
-
Hari Kanigeri authored
This patch adds mapping of UART peripherals to DUCATI virtual address Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
-
C A Subramaniam authored
This patch fixes the oops in notify_ducatidrv_open() call. Signed-off-by: C A Subramaniam <subramaniam.ca@ti.com>
-
Simon Que authored
Platform setup creates proc handles for both SysM3 and AppM3. Previously it created only one set of handles, used by both. It also attaches them, so no need to call 'insmod procmgr_app.ko'. Signed-off-by: Simon Que <sque@ti.com> Signed-off-by: Arun Gopalakrishna <arunmg@ti.com>
-
Simon Que authored
Made SysMgr, Platform, ProcMgr compatible for setting up for AppM3, in addition to SysM3. Signed-off-by: Simon Que <sque@ti.com>
-
Ramesh Gupta authored
This patch adds stop param to hold proc_id. Signed-off-by: Ramesh Gupta G <grgupta@ti.com>
-
Hari Kanigeri authored
Fixes the wroing check for mailbox structure pointer. The check should have been for == null instead of !=null Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
-
Hari Kanigeri authored
This patch fixes checkpatch warnings Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
-
Hari Kanigeri authored
This patch moves the mailbox initialization to setup from create function. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
-
Hari Kanigeri authored
The mailbox is configured twice because the mailbox get is called twice. This patch fixes this issue by having a check to configure it only once. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
-
Hari Kanigeri authored
This patch fixes the issue with structure mismatch, fixes compile warning, and changes magic numbers to defines. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Simon Que <sque@ti.com>
-
Hari Kanigeri authored
This patch adds the config option to select sys manager feature. This is a temporary patch until Sys manager feature is stabilized. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
-
Simon Que authored
This patch fixes the setup/destroy of several modules to make the cleanup stage run to completion. Signed-off-by: Simon Que <sque@ti.com>
-
Hari Kanigeri authored
This patch fixes the sys manager structure misalignment and a compile warning in nameserver.c Signed-off-by: Suman Anna <suman-anna@ti.com>
-
Anna Suman authored
This patch adds sysmanager module to Syslink. Sys-manager handles IPC setup and manages booting of Co-processors. Signed-off-by: Anna Suman <suman-anna@ti.com> Signed-off-by: Simon Que <sque@ti.com> Signed-off-by: Arun Gopalakrishna <arunmg@ti.com> Signed-off-by: subramaniam <subramaniam.ca@ti.com>
-
Suman Anna authored
This patch includes fixes in the sharedregion module for issues found during sysmgr validation. The main change is to return success if a add request is for an exact duplicate sharedregion entry. The other change is to return success instead of failure if the sharedregion module is already setup. Signed-off-by: Suman Anna <s-anna@ti.com>
-
Arun Radhakrishnan authored
This patch removes the access to the mailbox clocks since the clock framework for OMAP4 is not ready. Signed-off-by: Arun Radhakrishnan <x0051460@ti.com>
-
Jayan John authored
This patch fixes messageq_create and delete functions. It removes the BUG_ON check for NULL name in message_create. In messageq_delete, it removes name from nameserver and frees memory for name only if name is not NULL. Signed-off-by: Jayan John <x00jayan@ti.com>
-
Suman Anna authored
This patch adds the preliminary source code for SysMgr & SysMemMgr. This patch includes only the source code and needs revisions to adapt to the latest loader and OMAP4430. The patch has one checkpatch warnings due to the usage of volatile keyword. The warnings were minimized by using a macro for volatile. Signed-off-by: Suman Anna <s-anna@ti.com>
-
Suman Anna authored
This patch fixes the initialization of a listmp_sharedmemory list. A listmp_sharedmemory object is a list of portable pointers, which are obtained using the sharedregion module. This patch resolves the list initialization for non-zero sharedregion indices. Checkpatch warnings are minimized by using a macro for volatile. Signed-off-by: Suman Anna <s-anna@ti.com>
-
Suman Anna authored
This patch fixes multiple issues with the nameserver_get and related functions. The patch includes the following main changes. - nameserver_remote_get function is called only for valid remote notify handles in nameserver_get. Additional error checks have also been added. - Additional WARN_ONs and error checks have been added for input arguments in nameserver_remote_get function. - nameserver_remotenotify_message structure misalignment has been fixed. This issue is causing the remote processor to return wrong values when queried. - Additional error check has been added to ensure that there is a valid buffer to copy after receiving a response from the remote processor in nameserver_remotenotify_get function. Signed-off-by: Suman Anna <s-anna@ti.com>
-
Suman Anna authored
This patch fixes multiple issues found in the heapbuf module code based on IPC50. The patch also includes a fix for a minor compile warning in gatepeterson. This patch includes the following changes. 1. heapbuf_ioctl.h - Matched the ioctl args for open and create arguments. Also includes some minor formatting style changes. 2. heapbuf_ioctl.c - Retrieved the correct shared region address pointers and gate handle from the user-side. Memory allocated for heapbuf name in heapbuf_ioctl_create and heapbuf_ioctl_open is adjusted as the length is already incremented in the user-side. 3. heapbuf.c - gatepeterson gate is used properly for the gate used in internal object. The memory for the heapbuf object name is freed after it is removed from the nameserver module. This fixed the issue with heapbuf_delete failure. volatile has been used using a macro to reduce the checkpatch warnings. Signed-off-by: Suman Anna <s-anna@ti.com>
-