Age | Commit message (Collapse) | Author |
|
git://dev.omapzoom.org/pub/scm/santosh/kernel-omap4-base into L24x8
Conflicts:
arch/arm/plat-omap/Makefile
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/santosh/kernel-omap4-base into L24x8
|
|
This patch supports different clock sources for omap4 dmtimers.
Specifically, dmtimers[5,6,7,8] have syc_clk_div_ck as parent clock,
while dmtimers[1,2,3,4,9,10,11,12] have sys_clkin_ck as the parent
clock.
Tested on OMAp4430 SDP.
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
|
|
The 32ksync counter is useful to use for timestamping, and for other cases
where an aligned timestamp across the various cores on OMAP is required.
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
|
|
Convert the omap32k clocksource driver into a platform_driver
and while at that, also remove the ifdeferry around the code.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Conflicts:
arch/arm/mach-omap2/devices.c
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
|
|
Syslink and remoteproc drivers need to be disabled
for now, as they are not completely adapted to PM
and hence cause issues.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
|
|
Aligning .config and defconfig files
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/misael/kernel-audio into L24x8
Conflicts:
arch/arm/configs/omap_4430sdp_defconfig
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/santosh/kernel-omap4-base into L24x8
|
|
This patch align the .config file and omap_4430sdp_defconfig
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
Since the current clock framework code doesn't wait on idlest, the registers
can gets accessed before the clock is being enabled and stable
This leads to crashesh. One of the crash seen is with 1 GHz MPU speed
Also reduce the boot noise by coverting WARN to printk
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
|
|
This patch fix an overwrite of SOUND macro
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
into L24x8
Conflicts:
arch/arm/configs/omap_4430sdp_defconfig
arch/arm/mach-omap2/board-4430sdp.c
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
into L24x8
Conflicts:
arch/arm/mach-omap2/board-4430sdp.c
drivers/mmc/host/omap_hsmmc.c
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24x8
Conflicts:
arch/arm/configs/omap_4430sdp_defconfig
drivers/Kconfig
drivers/Makefile
drivers/media/video/Makefile
drivers/media/video/dmm/tmm_pat.c
drivers/media/video/tiler/tiler.c
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/tisyslink/kernel-syslink into L24x8
Conflicts:
drivers/Kconfig
drivers/Makefile
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/dsin/tiler-omap4 into L24x8
|
|
The clock names for ducati and tesla changed to ipu and iva in
clock44x_data.c. This patch updates the change in clock names
in iommu module.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
This patch disables the check done in iommu for
CAP_SYS_ADMIN privileges. Also fixed a checkpatch error.
Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
|
|
- In clock.c the function omap_clk_get_by_name was exported
NOTE: This is a temporary patch to keep the I2C clocks
running once the baseport team the I2C API this patch can
be and will be removed.
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
|
|
The function iommu_get_plat_data_size is used outside of the iommu
and needs to be exported when building as modules. Also, the omap_iommu_class
is created in the module init in iommu.c but isn't destroyed in the module
exit which prevents the ability to repeatedly load and unload the module.
These issues are fixed in this patch.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
In order to make SysLink into loadable/unloadable modules, the
notify, notify_ducatidriver, and syslink_ipc modules were combined
into one module. This needed to be done because of the circular
dependencies that exist between the three modules. Also, the
platform_mem file had to be moved to its own module.
There are corresponding user-space changes needed with this patch.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Change to call the attach/detach of the ipu_pm and also
read the setup_ipu_pm flag. The setup_ipu_pm flag is added to
decide wether to create ipu_pm handle or not based on the
configuration passed by the slave processor.
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Paul Hunt <hunt@ti.com>
|
|
This patch disables the check done in remote proc for
CAP_SYS_ADMIN privileges. With the check in place, user space
components without root permissions cannot issue Proc_Start()
and Proc_Stop() ioctl.
Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
|
|
This patch removes the clk_enable/disable functions for
iommu functions, module auto idle should take care
of this.
Signed-off-by: Ramesh Gupta G<grgupta@ti.com>
|
|
Assert the bits by doing a or operation with the control register.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
Signed-off-by: Ramesh Gupta <grgupta@ti.com>
|
|
This patch provides char driver interface to IOMMU to program
tlb entries directly from user space.
Todo:
plug the reset mechanism as part of iommu_get function.
Signed-off-by: Hari Kanigeri <h-kangieri2@ti.com>
|
|
This is the initial proc support.
Hari: Adapted changes to OMAP4.
This still needs following changes:
1. Adapt to hwmod
2. Support to OMAP3
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
This patch enables the gatehwspinlock module as the default
configuration for gate protection between multiple cores. It includes
all the fixes needed to use the gatehwspinlock module within gatemp.
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
New gatemp object that uses hardware spinlocks. Introduced as part of
SysLink-2.0.
Signed-off-by: Simon Que <sque@ti.com>
|
|
This is part of migration to SysLink 2.0. The platform module still serves
very much the same purpose as before. However, some major changes have
been introduced:
- Handles setup/destroy of individual IPC/notify modules. This was previously
done by sysmgr module.
- Reading/writing config info to shared memory is done by this module. This
was previously done by sysmgr module.
- Creation/opening and deleting/clsoing of IPC/notify module instances has been
removed. Previously it was done in the start/stop callback functions. It
has been moved to the new ipc module.
- platform_override_cfg has been moved into platform.c and platformcfg.c has
been eliminated.
Signed-off-by: Simon Que <sque@ti.com>
|
|
The ipc driver interface file has been updated for SysLink 2.0 to reflect
the correct number of ioctl commands for all the modified modules, and
cleaned up the ioctl commands for modules that no longer have a userspace
interface.
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
Added IPC module for SysLink 2.0. This replaces the sysmgr module.
Major changes:
- Setup and destroy of individual IPC modules has been moved to platform.c
- ipc module is dedicated to IPC-wide settings rather than module-specific
settings.
- sysmgr ioctl interfaces have been renamed as sysipc and use the new ipc
functions.
Signed-off-by: Simon Que <sque@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
The notify ducati sharedmemory driver module is updated for SysLink-2.0.
This version incorporates the changes for improved ease of programming for
the user.
The following are the main changes specific to this module:
1. The notify ducati shm driver is no longer present on the user-side.
The character driver code has therefore been removed.
2. WARN_ONs have been added in place of BUG_ONs and unlikely macros are added
for compiler branch prediction improvement.
3. cache calls are added, but commented out.
TODO: Add the rest of the change summary
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
Notify module is migrated to SysLink-2.0 version.
TODO: Detailed changes
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
MessageQ module is updated for SysLink-2.0. This version incorporates
the changes for improved ease of programming for the user.
The following are the main changes specific to this module:
1. messageq_params_init doesn't take a handle parameter.
2. messageq_attach, messageq_detach & messageq_sharedmemreq API added.
3. A custom trace function is added to debug the run-time flow of
messages.
The following are the changes in line to the common changes to all SysLink-2.0
IPC modules.
1. A messageq_module variable is introduced to mimic the BIOS behavior.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Simon Que <sque@ti.com>
|
|
Created transportshm_setup module for SysLink 2.0. This module creates
and destroys one transportshm object for each processor in the system.
Also added transportshm_setup proxy layer to be called by messageq.
Signed-off-by: Simon Que <sque@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
Added transportshm module for SysLink 2.0. This module replaces the
older messageq_transportshm module.
Major changes:
- No longer closely associated w/ messageq module -- it is independent now.
- Has function to open by shared memory address, and corresponding close func.
- IOCTL layer has been removed. This module is no longer callable from user
space.
- Updated params and functions to reflect improvements to notify module.
- transportshm_params_init no longer accepts a handle argument.
- This module will not have any userspace interface.
Signed-off-by: Simon Que <sque@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Updated gatepeterson module for SysLink 2.0.
GatePeterson ioctl files are obsolete and have been removed as part
of the SysLink 2.0 migration. This module no longer has a user-side
ioctl interface, and hence these files are not needed.
TODO: Need description of other changes
Signed-off-by: Simon Que <sque@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
Updated heap.c and heap.h for SysLink 2.0
Summary of changes:
- memory_stats parameters changed from (u32 *) to u32.
- Added get_extended_stats function.
- get_stats function type returns void.
- Added is_blocking function.
Signed-off-by: Simon Que <sque@ti.com>
|
|
Created a new heapmemmp module for SysLink-2.0. This module is a
shared memory heap that allows allocation of variable-sized blocks, in
contrast to heapbufmp, which allows fixed-size blocks.
In addition to the new feature of variable-length allocation, heapmemmp also
incorporates generic changes common to all modules in SysLink 2.0 like:
- heapmemmp_module pointer to heapmemmp_state object.
- More user-friendly APIs.
- heapmemmp_open opens by name.
- heapmemmp_open_by_addr opens by shared memory address.
- create() function calls post_init() function at the end.
Signed-off-by: Simon Que <sque@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
Added new module heapbufmp for SysLink-2.0. This version
incorporates the changes for improved ease of programming
by the user. It replaces the old heapbuf module.
New features:
- Added heapbufmp_module pointer to heapbufmp_state.
- More user-friendly API.
- heapbufmp_open opens an existing heapbufmp by name.
- heapbufmp_open_by_addr opens an existing heapbufmp by shared address.
Fixed bugs in heapbufmp:
- heapbufmp_alloc was using obj->params.exact instead of obj->exact to
check whether exact allocation was required.
- heapbufmp_open_by_addr was using the list iteration macro the wrong way.
- heapbufmp_ioctl_open_by_addr was not converting srptr to normal address
before passing it to heapbufmp_open_by_addr.
- heapbufmp_ioctl_close was passing the handle rather than the handle ptr
to heapbufmp_close.
Also added some WARN_ONs to heapbufmp error checks.
Signed-off-by: Simon Que <sque@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
listmp module is updated for SysLink-2.0. This version incorporates
the changes for improved ease of programming for the user.
The following are the main changes specific to this module:
1. The listmp_sharedmemory module and listmp base module have been merged
together. The listmp module is essentially deleted and the listmp_
sharedmemory module became the defacto listmp module. All files have
been renamed accordingly.
2. listmp_get_gate API is added to return the gatemp object used for the
listmp object protection. listmp_open API is split into two API -
listmp_open and listmp_open_by_addr. The open function takes in a name,
and the open_by_addr function takes in a shared address. Both these API
do not take any params structure as done previously.
3. listmp_params_init function does not take any object handle. The return
type has also changed.
4. listmp_shared_mem_req return value changed.
5. listmp_config, listmp_attrs and listmp_params structure elements have changed.
The attrs structure stores the shared address of the gatemp object and also
contains the head of the shared memory linked list. Some other elements have
been removed/replaced.
6. listmp_object definition has changed and restructed. It removes some of the
additional layers. The new structure can store the shared region id, it's
cacheability properties, and the gatemp handle that will be used to protect
it.
7. gatepeterson_ function calls have been replaced with the corresponding
gatemp_ function calls.
8. WARN_ONs have been added in place of BUG_ONs and unlikely macros are added
for compiler branch prediction improvement.
9. cache calls are added, but commented out.
The following are the changes in line to the common changes to all SysLink-2.0
IPC modules.
1. A listmp_module variable is introduced to mimic the BIOS behavior.
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
A new module, gatemp is added. It is created as part of the SysLink-2.0
update. This version incorporates the changes for improved ease of
programming for the user.
gatehwspinlock module changes are replaced with gatepeterson changes.
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
Added new gate infrastructure headers to better support GateMP module.
Updated the IOBJECT_CREATE macros for use with kernel. This is done
as part of the SysLink-2.0 update.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Simon Que <sque@ti.com>
|
|
A new module, gate is added. This new module is created to help out
the gatemp module, and it provides the re-entrant gate mechanism
as well as gate protection that requires local interrupt protection.
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
nameserver_remotenotify module is synched up with SysLink-2.0 version.
This version incorporates changes for improved ease of programming
for the user.
The following are the main changes specific to this module:
1. The new nameserver_remotenotify module does not have any ioctl interface.
It does not have any presence in the userspace now. It is directly invoked
in SysMgr/Ipc module on the kernel-side.
2. nameserver_remotenotify_start, nameserver_remotenotify_attach &
nameserver_remotenotify_detach API are added.
3. nameserver_remote_get & nameserver_remotenotify_get function signatures
changed. The length of the value is returned as part of the function
arguments. The functions return a success or failure status instead.
5. nameserver_remotenotify_params_init function does not take any object handle.
6. nameserver_remotenotify_shared_memreq return value changed.
7. nameserver_remotenotify_config and nameserver_remotenotify_params structure
elements have changed. The params structure now takes a new gatemp handle.
Some other elements have been removed/replaced. nameserver_remotenotify_attrs
structure has been removed.
7. nameserver_remotenotify_obj internal object is modified to store the shared
region id, it's cacheability properties, and the gatemp handle that will be
used to protect it.
8. gatepeterson_ function calls have been replaced with the corresponding
gatemp_ function calls.
9. WARN_ONs have been added in place of BUG_ONs and unlikely macros are added
for compiler branch prediction improvement.
10. support for serialization of requests from multiple processes is added.
11. cache calls are added, but commented out.
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
NameServer module is updated for SysLink-2.0. This version incorporates changes
for improved ease of programming for the user.
The following are the main changes specific to this module:
1. nameserver_params doesn't contain a gate. nameserver_config structure
added.
2. nameserver_is_registered & nameserver_get_config API are added.
3. nameserver_get, nameserver_get_local, nameserver_get_uint32 &
nameserver_get_local_uint32 function signatures changed. The
length of the value is returned as part of the ioctl arguments.
The functions return a success or failure status instead.
4. nameserver_match function signature changed. The value is no
longer returned in a pointer.
5. nameserver_params_init function does not return any status.
6. nameserver_ioctl functions receive the proper length of the name,
so they won't allocate memory for an additional byte for the null
character.
7. nameserver_module_object structure elements changed. It also includes
new members for maintaining the current configuration and the
default instance parameters.
8. nameserver_get_params function deprecated.
9. _nameserver_is_hash_found & _nameserver_check_for_entry internal functions
added to aid in the search for a name/value pair based on hash values.
9. All BUG_ONs have been removed. They have been replaced with WARN_ONs
and unlikely macros for compiler branch prediction improvement.
10. nameserver_add, nameserver_remove, nameserver_match and all the various
nameserver_get_xxxx functions are corrected for hashing and collide.
Previously these functions were only doing a linear namesearch.
The following are the changes in line to the common changes to all SysLink-2.0
IPC modules.
1. A nameserver_module variable is introduced to mimic the BIOS behavior.
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
SharedRegion module is updated for SysLink-2.0. This version
incorporates changes for improved ease of programming for the
user.
The new SharedRegion module is a drastically different module
compared to before. It supports heap creation in-built into
the regions provided by the new HeapMemMP module. This is used
for automatic gate creation and other shared object creation.
The following are the main changes specific to this module:
1. Old API is deprecated. It retains only a couple of
old API.
2. A whole set of new API are provided. The list includes
sharedregion_attach, sharedregion_detach, sharedtegion_start,
sharedregion_stop, sharedregion_reserve_memory, sharedregion_set_entry,
sharedregion_clear_entry and sharedregion_clear_reserved_memory
among others.
The following are the changes in line to the common changes to all SysLink-2.0
IPC modules.
1. A sharedregion_module variable is introduced to mimic the BIOS behavior.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Updated multiproc.c and multiproc.h
- "Max processors" has been replaced with "Num processors" and
multiproc_get_max_processors has been replaced with
multiproc_get_num_processors.
- Added multiproc_self function that returns the current processor's
proc ID. Same as multiproc_get_id(NULL).
- Added multiproc_get_slot function to "auto-assign" a proc ID to a
slot in the multiproc module.
- Added multiproc_module, a pointer to multiproc_state.
- The order of the multiproc list has been changed to DSP, AppM3, SysM3
and MPU.
Signed-off-by: Simon Que <sque@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
|