[PATCHv2 05/18] DSPBRIDGE: Enable/Disable MCBSP_CLOCKS for MCBSP2

2009-12-16 Thread Omar Ramirez Luna
-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 73 ++- 1 files changed, 72 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap3430_pwr.c b/drivers/dsp/bridge/wmd/tiomap3430_pwr.c index 619ed1a..f30da74 100644 --- a

[PATCHv2 17/18] DSPBRIDGE: Delete unused files

2009-12-16 Thread Omar Ramirez Luna
These files seem to be unused, deleting them. Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dbl.h | 354 --- arch/arm/plat-omap/include/dspbridge/dbof.h | 117 --- drivers/dsp/bridge/dynload/dlclasses_hdr.h | 41 - drivers/dsp/bridge/pmgr/dbl.c

[PATCHv2 10/18] DSPBRIDGE: Trivial cleanup on DBDCD

2009-12-16 Thread Omar Ramirez Luna
Trivial spacing cleanup on DSP/BIOS Bridge Configuration Database module. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/dbdcd.c | 343 --- 1 files changed, 179 insertions(+), 164 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b

[PATCH 7/7] DSPBRIDGE: Move PROC object abstraction to proc.c

2009-12-16 Thread Omar Ramirez Luna
Move object structure to PROC module. Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/proc.h | 24 drivers/dsp/bridge/rmgr/proc.c | 23 +++ 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a

[PATCH 6/7] DSPBRIDGE: Delete list implementation for resource cleanup

2009-12-16 Thread Omar Ramirez Luna
From: Ernesto Ramos Falcon This patch moves processor detach implementation to bridge_release, when a process is exiting it will be doing the detach from there instead of relying on the user to explicitly call detach function. This will allow a fine control on the resources that will be cleaned

[PATCH 0/7] Resource cleanup changes

2009-12-16 Thread Omar Ramirez Luna
parameter in low level functions DSPBRIDGE: Remove old resource cleanup implementation Ernesto Ramos Falcon (1): DSPBRIDGE: Delete list implementation for resource cleanup Fernando Guzman Lugo (1): DSPBRIDGE: Remove process context list Omar Ramirez Luna (2): DSPBRIDGE: less indentation fo

[PATCH 3/7] DSPBRIDGE: Remove old resource cleanup implementation

2009-12-16 Thread Omar Ramirez Luna
From: Ameya Palande Remove old resource cleanup implementation, and use the process context pointer stored in filp->private. Signed-off-by: Ameya Palande [ orl: split into logical patch set, patch description ] Signed-off-by: Omar Ramirez Luna Acked-by: Fernando Guzman Lugo --- arch/

[PATCH 1/7] DSPBRIDGE: Pass filp->private to all the ioctl wrappers

2009-12-16 Thread Omar Ramirez Luna
From: Ameya Palande This patch enables passing of filp->private_data to all the ioctl wrappers functions. This change will facilitate retrival of PROCESS_CONTEXT pointer in ioctl, and will remove the call to DRV_GetProcContext(). Signed-off-by: Ameya Palande Acked-by: Fernando Guzman Lugo ---

[PATCH 5/7] DSPBRIDGE: Remove process context list

2009-12-16 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch removes the list implementation to store and manage process contexts as it is not needed anymore. Signed-off-by: Fernando Guzman Lugo --- .../plat-omap/include/dspbridge/resourcecleanup.h |2 - drivers/dsp/bridge/pmgr/wcd.c |1

[PATCH 2/7] DSPBRIDGE: Define pr_ctxt as a parameter in low level functions

2009-12-16 Thread Omar Ramirez Luna
From: Ameya Palande As part of resource cleanup changes, this patch continues with the next level of modifications required to use filp->private to store PROCESS_CONTEXT structure. Signed-off-by: Ameya Palande [ orl: split into logical patch set, patch description ] Signed-off-by: Omar Rami

[PATCH 4/7] DSPBRIDGE: less indentation for bridge_open and bridge_release

2009-12-16 Thread Omar Ramirez Luna
Use goto statement to remove one indent level from bridge_open and bridge_release. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/drv_interface.c | 61 --- 1 files changed, 32 insertions(+), 29 deletions(-) diff --git a/drivers/dsp/bridge/rmgr

[PATCH] DSPBRIDGE: Reset IVA2 Video sequencer

2009-12-16 Thread Omar Ramirez Luna
This patch will reset IVA2 video sequencer as part of initialization or uninstall process. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/wmd/tiomap3430.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap3430.c b/drivers/dsp/bridge

[PATCH] DSPBRIDGE: Improve flush_all() performance

2009-12-16 Thread Omar Ramirez Luna
mit/f0cc4ab4e4c40043a423f178a970ad9c8ab8fa06 Signed-off-by: Ameya Palande [ orl: ported ] Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/wmd/tiomap3430.c | 18 -- 1 files changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap3430.c b/drivers/

[PATCH 2/2] DSPBRIDGE: remove useless return statement

2009-12-21 Thread Omar Ramirez Luna
Remove useless return in function to set an OPP constraint. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/wmd/tiomap3430_pwr.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap3430_pwr.c b/drivers/dsp/bridge/wmd/tiomap3430_pwr.c

[PATCH 1/2] DSPBRIDGE: Avoid saving mailbox settings on constraint request

2009-12-21 Thread Omar Ramirez Luna
There is no need to save the mailbox settings if a request to set the OPP constraint comes from the DSP. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/wmd/tiomap3430_pwr.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/dsp/bridge/wmd

[PATCH 0/2] Cleanup for handle constraint from DSP

2009-12-21 Thread Omar Ramirez Luna
Omar Ramirez Luna (2): DSPBRIDGE: Avoid saving mailbox settings on constraint request DSPBRIDGE: remove useless return statement drivers/dsp/bridge/wmd/tiomap3430_pwr.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) -- To unsubscribe from this list: send the line

[PATCH 0/8] misc patches

2010-01-07 Thread Omar Ramirez Luna
). Fernando Guzman Lugo (1): DSPBRIDGE: change to cpufreq_register_notifier for OPP changes Hari Kanigeri (1): DSPBRIDGE: Increased DMM size to 256MB Omar Ramirez Luna (6): DSPBRIDGE: Cleanup SSI handling - remove IO_ADDRESS DSPBRIDGE: sysfs entry for global driver state DSPBRIDGE: Remove unused

[PATCH 1/8] DSPBRIDGE: Cleanup SSI handling - remove IO_ADDRESS

2010-01-07 Thread Omar Ramirez Luna
This patch cleans SSI clock preparation and also removes the dependency on IO_ADDRESS variants for easier maintenance. Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/drv.h |7 ++ drivers/dsp/bridge/services/clk.c | 30 ++- 2

[PATCH 2/8] DSPBRIDGE: sysfs entry for global driver state

2010-01-07 Thread Omar Ramirez Luna
This patch creates a new sysfs entry to query the driver state without making any bridge direct call, this is useful to monitor driver state without creating any handle to bridge driver. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/drv_interface.c | 87

[PATCH 3/8] DSPBRIDGE: Increased DMM size to 256MB

2010-01-07 Thread Omar Ramirez Luna
From: Hari Kanigeri This patch increases the DMM from 64MB to 256MB. Signed-off-by: Hari Kanigeri Signed-off-by: Omar Ramirez Luna Signed-off-by: Leed Aguilar --- arch/arm/plat-omap/include/dspbridge/dmm.h |2 +- drivers/dsp/bridge/pmgr/dmm.c |8 2 files

[PATCH 4/8] DSPBRIDGE: Remove unused hDrvObject in bridge_[open|release]

2010-01-07 Thread Omar Ramirez Luna
This patch removes an unused variable in bridge_open and bridge_release functions, which reduces indentation. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/drv_interface.c | 25 + 1 files changed, 5 insertions(+), 20 deletions(-) diff --git a/drivers

[PATCH 5/8] DSPBRIDGE: change to cpufreq_register_notifier for OPP changes

2010-01-07 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch changes clk_notifier_unregister with cpufreq_unregister_notifier, which is used for OPP change notifications Signed-off-by: Fernando Guzman Lugo --- drivers/dsp/bridge/Kconfig |2 +- drivers/dsp/bridge/rmgr/drv_interface.c | 25 +

[PATCH 6/8] DSPBRIDGE: Use dspbridge to initialize platform data

2010-01-07 Thread Omar Ramirez Luna
Include dspbridge compilation whenever bridge driver is selected to be compiled, either as a module or part of the kernel. This will initialize platform data specific PM functions. Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/Makefile |4 +++- 1 files changed, 3 insertions(+), 1

[PATCH 7/8] DSPBRIDGE: Fix header locations mach to plat

2010-01-07 Thread Omar Ramirez Luna
Fix header locations, replaced mach to plat Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/dspbridge.c|2 +- arch/arm/plat-omap/include/dspbridge/host_os.h |2 +- drivers/dsp/bridge/wmd/tiomap3430.c|2 +- 3 files changed, 3 insertions(+), 3

[PATCH 8/8] DSPBRIDGE: Use _IOxx macro to define ioctls

2010-01-07 Thread Omar Ramirez Luna
ed and not implemented ioctls, this can be done when all the ioctls are accessed through a switch instead of a pointer to function. *** NOTE: An update in api ioctl definitions is required. *** Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/wcdioct

[PATCH] driver version 0.1

2010-01-11 Thread Omar Ramirez Luna
/heads/dspbridge Special thanks to: - Felipe Contreras: for his comments and time during this sync up. - Hiroshi Doyu and Ameya Palande for their time reviewing patches. - And all who also have provided their comments. Omar Ramirez Luna (1): DSPBRIDGE: driver version 0.1 drivers/dsp/bridge/rmgr

[PATCH] DSPBRIDGE: driver version 0.1

2010-01-11 Thread Omar Ramirez Luna
This is the official 0.1 dspbridge version. CC: Felipe Contreras CC: Hiroshi Doyu CC: Ameya Palande CC: Nishant Menon Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/drv_interface.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/dsp/bridge

[PATCH 3/6] DSPBRIDGE: Mark unused ioctls as deprecated

2010-01-11 Thread Omar Ramirez Luna
Mark unused ioctls as deprecated for future removal. Signed-off-by: Omar Ramirez Luna CC: Nishant Menon CC: Felipe Contreras --- arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 11 -- drivers/dsp/bridge/pmgr/wcd.c | 38 +-- 2 files changed, 22

[PATCH 5/6] DSPBRIDGE: Rename pResult to result for WCD_CallDevIOCtl

2010-01-11 Thread Omar Ramirez Luna
Trivial cleanup, rename pResult to result for WCD_CallDevIOCtl Signed-off-by: Omar Ramirez Luna CC: Nishant Menon --- drivers/dsp/bridge/pmgr/wcd.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c index

[PATCH 4/6] DSPBRIDGE: remove ioctl runtime check

2010-01-11 Thread Omar Ramirez Luna
This patch removes the runtime check of device ioctl array. Signed-off-by: Omar Ramirez Luna CC: Nishant Menon CC: Felipe Contreras --- drivers/dsp/bridge/pmgr/wcd.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp

[PATCH v2 0/6] misc patches

2010-01-11 Thread Omar Ramirez Luna
Ramirez Luna (6): DSPBRIDGE: replace IO_ADDRESS with ioremap DSPBRIDGE: Replace magic numbers in SSI configuration DSPBRIDGE: Mark unused ioctls as deprecated DSPBRIDGE: remove ioctl runtime check DSPBRIDGE: Rename pResult to result for WCD_CallDevIOCtl DSPBRIDGE: Use _IOxx macro to define

[PATCH 1/6] DSPBRIDGE: replace IO_ADDRESS with ioremap

2010-01-11 Thread Omar Ramirez Luna
Use ioremap() instead of using IO_ADDRESS macro to make it generic. Signed-off-by: Omar Ramirez Luna CC: Nishant Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe Contreras --- drivers/dsp/bridge/services/clk.c | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff

[PATCH 2/6] DSPBRIDGE: Replace magic numbers in SSI configuration

2010-01-11 Thread Omar Ramirez Luna
Rename ssi_sysconfig variable and replace the usage of magic numbers while updating SSI configuration. Signed-off-by: Omar Ramirez Luna CC: Nishant Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe Contreras --- drivers/dsp/bridge/services/clk.c | 12 1 files changed, 8

[PATCH 6/6] DSPBRIDGE: Use _IOxx macro to define ioctls

2010-01-11 Thread Omar Ramirez Luna
e enough. Other clients (not using libbridge) need to update their ioctl numbers manually. Signed-off-by: Omar Ramirez Luna CC: Nishant Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe Contreras --- arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 164 +++-- drivers/dsp/bri

[PATCH v3 4/7] DSPBRIDGE: remove ioctl runtime check

2010-01-11 Thread Omar Ramirez Luna
This patch removes the runtime check of device ioctl array. Signed-off-by: Omar Ramirez Luna CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe Contreras --- drivers/dsp/bridge/pmgr/wcd.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/drivers/dsp

[PATCH v3 3/7] DSPBRIDGE: Mark unused ioctls as deprecated

2010-01-11 Thread Omar Ramirez Luna
Mark unused ioctls as deprecated for future removal and print an error message whenever they are used. Signed-off-by: Omar Ramirez Luna CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe Contreras --- arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 11 -- drivers/dsp

[PATCH v3 1/7] DSPBRIDGE: replace IO_ADDRESS with ioremap

2010-01-11 Thread Omar Ramirez Luna
Use ioremap() instead of using IO_ADDRESS macro to make it generic. Signed-off-by: Omar Ramirez Luna CC: Tony Lindgren CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe Contreras --- drivers/dsp/bridge/services/clk.c | 19 +-- 1 files changed, 13 insertions

[PATCH v3 6/7] DSPBRIDGE: Use _IOxx macro to define ioctls

2010-01-11 Thread Omar Ramirez Luna
e enough. Other clients (not using libbridge) need to update their ioctl numbers manually. Signed-off-by: Omar Ramirez Luna CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe Contreras --- arch/arm/plat-omap/include/dspbridge/wcdioctl.h | 181 - drivers/dsp/bri

[PATCH v3 7/7] DSPBRIDGE: remove WCD_Cmd structure

2010-01-11 Thread Omar Ramirez Luna
Remove WCD_Cmd structure given that only one member is being used (fxn call), this structure is replaced for a definition of an array of function pointers for each dspbridge ioctl module. Signed-off-by: Omar Ramirez Luna CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe

[PATCH v3 5/7] DSPBRIDGE: Rename pResult to result for WCD_CallDevIOCtl

2010-01-11 Thread Omar Ramirez Luna
Trivial cleanup, rename pResult to result for WCD_CallDevIOCtl Signed-off-by: Omar Ramirez Luna CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe Contreras --- drivers/dsp/bridge/pmgr/wcd.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH v3 2/7] DSPBRIDGE: Replace magic numbers in SSI configuration

2010-01-11 Thread Omar Ramirez Luna
Rename ssi_sysconfig variable and replace the usage of magic numbers while updating SSI configuration. Signed-off-by: Omar Ramirez Luna CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande CC: Felipe Contreras --- drivers/dsp/bridge/services/clk.c | 12 1 files changed, 8

[PATCH v3 0/7] misc patches (for ioctl and ssi)

2010-01-11 Thread Omar Ramirez Luna
ge_[open|release] Omar Ramirez Luna (7): DSPBRIDGE: replace IO_ADDRESS with ioremap DSPBRIDGE: Replace magic numbers in SSI configuration DSPBRIDGE: Mark unused ioctls as deprecated DSPBRIDGE: remove ioctl runtime check DSPBRIDGE: Rename pResult to result for WCD_CallDevIOCtl DSPBRIDGE: U

[PATCH 1/3] DSPBRIDGE: Interface tightening to check for invalid input parameters

2010-01-13 Thread Omar Ramirez Luna
From: Ernesto Ramos Add more error checking and range to address usecases accessing kernel APIs directly. Signed-off-by: Ernesto Ramos CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande --- arch/arm/plat-omap/include/dspbridge/dbdefs.h |4 +- drivers/dsp/bridge/pmgr/wcd.c

[PATCH 2/3] DSPBRIDGE: Undo allocation of resources in case of cp_to_usr fails

2010-01-13 Thread Omar Ramirez Luna
From: Ernesto Ramos Release resources allocated during MAP, Node Allocation, STRM Buf Allocation in the case of cp_to_usr fails. Signed-off-by: Ernesto Ramos CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande --- drivers/dsp/bridge/pmgr/wcd.c | 35 --- 1

[PATCH 0/3] Interface tightening patches

2010-01-13 Thread Omar Ramirez Luna
Set of patches containing ioctl interface checks, null pointers checks and imporvement on resource handling on error. Ernesto Ramos (3): DSPBRIDGE: Interface tightening to check for invalid input parameters DSPBRIDGE: Undo allocation of resources in case of cp_to_usr fails DSPBRIDGE: NUL

[PATCH 3/3] DSPBRIDGE: NULL Pointer Dereference fix

2010-01-13 Thread Omar Ramirez Luna
From: Ernesto Ramos This patch takes care of the possible null pointers dereferenced within dsp bridge driver. Signed-off-by: Ernesto Ramos CC: Nishanth Menon CC: Hiroshi Doyu CC: Ameya Palande --- drivers/dsp/bridge/rmgr/nldr.c |3 ++- drivers/dsp/bridge/rmgr/node.c |6 +++---

[PATCH 06/10] DSPBRIDGE: checkpatch - space required before open parenthesis

2010-01-15 Thread Omar Ramirez Luna
ERROR: space required before the open parenthesis '(' Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/pmgr/dev.c |2 +- drivers/dsp/bridge/services/dbg.c |2 +- drivers/dsp/bridge/wmd/io_sm.c|4 ++-- drivers/dsp/bridge/wmd/msg_sm.c |2 +- 4 files

[PATCH 02/10] DSPBRIDGE: contributors file

2010-01-15 Thread Omar Ramirez Luna
This creates a new contributors file under Documentation/tidspbridge to acknowledge all the people working in DSP/Bridge project. Signed-off-by: Omar Ramirez Luna --- Documentation/tidspbridge/CONTRIBUTORS | 70 1 files changed, 70 insertions(+), 0 deletions

[PATCH 09/10] DSPBRIDGE: checkpatch - printk() should include KERN_ facility level

2010-01-15 Thread Omar Ramirez Luna
WARNING: printk() should include KERN_ facility level Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dbc.h |2 +- arch/arm/plat-omap/include/dspbridge/gt.h |2 +- drivers/dsp/bridge/gen/_gt_para.c |2 +- 3 files changed, 3 insertions(+), 3

[PATCH 00/10] trivial cleanups

2010-01-15 Thread Omar Ramirez Luna
This is a small set of trivial cleanups piled up in the patch queue. Higlights: - New patch with contributors file. - "Fix multiline macros to use do while" patch is dropped for rework. Omar Ramirez Luna (10): DSPBRIDGE: trivial license fix in tramp and tramp_table_c6000

[PATCH 05/10] DSPBRIDGE: checkpatch - space required after comma

2010-01-15 Thread Omar Ramirez Luna
ERROR: space required after that ',' (ctx:VxV) Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/hw/GlobalTypes.h |4 ++-- drivers/dsp/bridge/hw/PRCMRegAcM.h | 24 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/dsp

[PATCH 01/10] DSPBRIDGE: trivial license fix in tramp and tramp_table_c6000

2010-01-15 Thread Omar Ramirez Luna
Seems that these files had a licensing mismatch, changing to GPL2. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/dynload/tramp.c | 18 +- drivers/dsp/bridge/dynload/tramp_table_c6000.c | 18 +- 2 files changed, 26 insertions(+), 10

[PATCH 08/10] DSPBRIDGE: Checkpatch - line over 80 characters

2010-01-15 Thread Omar Ramirez Luna
WARNING: line over 80 characters Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dbdefs.h |2 +- drivers/dsp/bridge/wmd/io_sm.c|3 ++- drivers/dsp/bridge/wmd/tiomap3430.c | 11 +-- 3 files changed, 8 insertions(+), 8

[PATCH 10/10] DSPBRIDGE: trivial cleanup for io_sm

2010-01-15 Thread Omar Ramirez Luna
MBX_DBG_SYSPRINTF have the same value - Fix multiline comments according to Documentation/CodingStyle Functions comments will be addressed in a different patch. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/wmd/io_sm.c | 503 ++-- 1 files changed, 275

[PATCH 3/4] DSPBRIDGE: Remove DPC module from SERVICES layer

2010-01-15 Thread Omar Ramirez Luna
This patch removes init and exit functions for DPC module. It also deletes dpc source file and takes out the module from Makefile. Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dpc.h | 26 --- drivers/dsp/bridge/Makefile|3 +- drivers

[PATCH 0/4] DPC Removal from services

2010-01-15 Thread Omar Ramirez Luna
This patches remove the DPC custom implementation and wrappers. They should be applied on top of "trivial cleanups" set and are part of the current patch queue. Omar Ramirez Luna (4): DSPBRIDGE: Remove DPC, create, destroy and schedule wrappers DSPBRIDGE: Remove main DPC wrapper

[PATCH 1/4] DSPBRIDGE: Remove DPC, create, destroy and schedule wrappers

2010-01-15 Thread Omar Ramirez Luna
Remove DPC wrappers and replace with direct Linux calls. These changes apply to IO DPC and MMUfault DPC Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dpc.h | 90 +++-- drivers/dsp/bridge/services/dpc.c | 144

[PATCH 4/4] DSPBRIDGE: Remove DPC object structure

2010-01-15 Thread Omar Ramirez Luna
Remove DPC object structure and declare required members for each tasklet inside their correspondent modules. Remove dpc header file. Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/_chnl_sm.h |1 - arch/arm/plat-omap/include/dspbridge/dpc.h | 38

[PATCH 2/4] DSPBRIDGE: Remove main DPC wrapper for IO and MMUfault

2010-01-15 Thread Omar Ramirez Luna
Remove DeferredProcedure which is used as a wrapper to call either IO or MMUfault DPCs. This also removes a custom typedef. Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dpc.h | 23 --- arch/arm/plat-omap/include/dspbridge/io_sm.h |2 +- drivers

[PATCH 0/3] dspbridge-pm patches

2010-01-15 Thread Omar Ramirez Luna
removal. dspbridge-pm is currently based on pm-2.6.32. Fernando Guzman Lugo (1): DSPBRIDGE: change to cpufreq_register_notifier for OPP changes Omar Ramirez Luna (2): DSPBRIDGE: Fix header locations mach to plat DSPBRIDGE: Use dspbridge to initialize platform data arch/arm/mach-omap2

[PATCH 2/3] DSPBRIDGE: change to cpufreq_register_notifier for OPP changes

2010-01-15 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch changes clk_notifier_unregister with cpufreq_unregister_notifier, which is used for OPP change notifications Signed-off-by: Fernando Guzman Lugo --- drivers/dsp/bridge/Kconfig |2 +- drivers/dsp/bridge/rmgr/drv_interface.c | 25 +

[PATCH 3/3] DSPBRIDGE: Use dspbridge to initialize platform data

2010-01-15 Thread Omar Ramirez Luna
Include dspbridge compilation whenever bridge driver is selected to be compiled, either as a module or part of the kernel. This will initialize platform data specific PM functions. Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/Makefile |4 +++- 1 files changed, 3 insertions(+), 1

[PATCH 1/3] DSPBRIDGE: Fix header locations mach to plat

2010-01-15 Thread Omar Ramirez Luna
Fix header locations, replaced mach to plat Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/dspbridge.c|2 +- arch/arm/plat-omap/include/dspbridge/host_os.h |2 +- drivers/dsp/bridge/wmd/tiomap3430.c|2 +- 3 files changed, 3 insertions(+), 3

[PATCH] DSPBRIDGE: Fix wrong condition on NODE_GetUUIDProps

2010-01-18 Thread Omar Ramirez Luna
Fix wrong condition because of a wrong patch included. Discovered-by: Ernesto Ramos Falcon Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/node.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/node.c b/drivers/dsp/bridge/rmgr

[PATCH 2/3] DSPBRIDGE: return right error codes services directory

2010-01-19 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch fixes bad error codes returned by some functions, it validates status of previously unchecked functions and removes unused conditional statements or status variables. Signed-off-by: Fernando Guzman Lugo --- drivers/dsp/bridge/services/cfg.c |8 +--

[PATCH 0/3] DSPBRIDGE: Return right error codes

2010-01-19 Thread Omar Ramirez Luna
This set of patches fixes the overwritten or missing error codes returned from different bridge layers. Fernando Guzman Lugo (3): DSPBRIDGE: return right error codes wmd directory DSPBRIDGE: return right error codes services directory DSPBRIDGE: return right error codes rmgr directory driv

[PATCH 3/3] DSPBRIDGE: return right error codes rmgr directory

2010-01-19 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch fixes bad error codes returned by some functions, it validates status of previously unchecked functions and removes unused conditional statements or status variables. Signed-off-by: Fernando Guzman Lugo --- drivers/dsp/bridge/rmgr/dbdcd.c | 31 -

[PATCH 1/3] DSPBRIDGE: return right error codes wmd directory

2010-01-19 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch fixes bad error codes returned by some functions, it validates status of previously unchecked functions and removes unused conditional statements or status variables. Signed-off-by: Fernando Guzman Lugo --- drivers/dsp/bridge/wmd/chnl_sm.c| 230 ++

[PATCH 2/6] DSPBRIDGE: remove NLDR_Free wrapper function

2010-01-19 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch removes the NLDR_Free which is a wrapper function Signed-off-by: Fernando Guzman Lugo --- arch/arm/plat-omap/include/dspbridge/nldr.h |1 - arch/arm/plat-omap/include/dspbridge/nldrdefs.h |1 - drivers/dsp/bridge/rmgr/nldr.c |

[PATCH 1/6] DSPBRIDGE: Rename DEBUG define to use menuconfig style

2010-01-19 Thread Omar Ramirez Luna
Rename DEBUG to CONFIG_BRIDGE_DEBUG on preprocessor conditions that trigger debug statements. This was conflicting with pr_debug/dev_dbg definitions. Signed-off-by: Omar Ramirez Luna --- arch/arm/plat-omap/include/dspbridge/dbg.h |4 ++-- drivers/dsp/bridge/Makefile|2

[PATCH 4/6] DSPBRIDGE: Remove unused variables from resource cleanup

2010-01-19 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch removes an unused variable parameter from resource cleanup code. Signed-off-by: Fernando Guzman Lugo --- .../plat-omap/include/dspbridge/resourcecleanup.h |3 +-- drivers/dsp/bridge/rmgr/drv.c |5 + drivers/dsp/bridge/rmgr

[PATCH 5/6] DSPBRIDGE: remove wrong comment from RequestBridgeResources

2010-01-19 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch removes a wrong pointer and set to NULL dwSysCtrlBase as it shouldn't be used anymore after iounmap. Signed-off-by: Fernando Guzman Lugo --- drivers/dsp/bridge/rmgr/drv.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/driver

[PATCH 3/6] DSPBRIDGE: Optimize remove resource functions

2010-01-19 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patch optimizes the remove resource functions, i.e DMM, Stream and Nodes. Signed-off-by: Fernando Guzman Lugo --- drivers/dsp/bridge/rmgr/drv.c | 86 + 1 files changed, 35 insertions(+), 51 deletions(-) diff --git a/driv

[PATCH 6/6] DSPBRIDGE: Always print DSP traces

2010-01-19 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo This patches prints DSP traces always removing the need to compile debug version and enable DSP traces. Signed-off-by: Fernando Guzman Lugo --- drivers/dsp/bridge/wmd/io_sm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/brid

[PATCH 0/6] DSPBRIDGE: fixes from current patch queue

2010-01-19 Thread Omar Ramirez Luna
mment from RequestBridgeResources DSPBRIDGE: Always print DSP traces Omar Ramirez Luna (2): DSPBRIDGE: Rename DEBUG define to use menuconfig style DSPBRIDGE: Remove unused variables from resource cleanup arch/arm/plat-omap/include/dspbridge/dbg.h |4 +- arch/arm/plat-omap/include/dspbri

[PATCH 2/4] dspbridge: Change LST_ELEM to list_head entirely

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko * Change struct LST_ELEM to struct list_head in whole dsp bridge driver * Remove useless commentaries * Minor change in the services/mem.c: ... struct list_head *last = &mMan.lst.head; struct list_head *curr = last->next; /* was: mMan.lst.head.next */ ... Signed

[PATCH 4/4] DSPBRIDGE: OSAL: Remove extra include directive

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko Including the list.h in some files looks redundant. So, remove those lines. Signed-off-by: Andy Shevchenko --- drivers/dsp/bridge/pmgr/chnl.c |1 - drivers/dsp/bridge/pmgr/dmm.c |1 - drivers/dsp/bridge/pmgr/msg.c |1 - drivers/dsp/br

[PATCH 1/4] DSPBRIDGE: Get rid of services/list.c

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko * Remove LST_Init() and LST_Exit() calls because they are doing nothing except tracing, Thus, remove tracing as well. * Remove DBC_* calls. It's internal kernel business whether to have those assertions. * Move methods from list.c as inline functions to the list.h. *

[PATCH 3/4] dspbridge: Don't use LST_Create() and LST_Delete()

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko Change LST_Create() to the MEM_Calloc() and INIT_LIST_HEAD() pair in optimal way. Use MEM_Free() instead of LST_Delete(). We can use it without checking because MEM_Free() validates input parameter. Signed-off-by: Andy Shevchenko --- arch/arm/plat-omap/include/dspbridge

[PATCH 5/5] DSPBRIDGE: Remove multiple initializations of NTFY module

2010-01-22 Thread Omar Ramirez Luna
NTFY module should be only initialized by services layer. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/pmgr/wcd.c |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c index 2afe222..b92386a 100644

[PATCH 2/5] DSPBRIDGE: remove crefs for SERVICES[Init|Exit]

2010-01-22 Thread Omar Ramirez Luna
No point in having a module counter if these are called only once. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/services/services.c | 92 +--- 1 files changed, 37 insertions(+), 55 deletions(-) diff --git a/drivers/dsp/bridge/services/services.c b

[PATCH 0/5] DSPBRIDGE: centralized services initialization

2010-01-22 Thread Omar Ramirez Luna
It is more logic to initialize services related modules inside services layer, even if we are planning to remove it. This set should be applied after Andy's List patches. Omar Ramirez Luna (5): DSPBRIDGE: Avoid multiple calls to SERVICES_[Init|Exit] DSPBRIDGE: remove crefs for SERVICES

[PATCH 1/5] DSPBRIDGE: Avoid multiple calls to SERVICES_[Init|Exit]

2010-01-22 Thread Omar Ramirez Luna
Avoid calling multiple times to SERVICES_[Init|Exit] functions, these should be called once at probe and exit respectively. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/pmgr/wcd.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/dsp/bridge

[PATCH 4/5] DSPBRIDGE: Remove multiple initializations of REG module

2010-01-22 Thread Omar Ramirez Luna
REG module should be only initialized by services layer. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/rmgr/dbdcd.c |8 +--- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b/drivers/dsp/bridge/rmgr/dbdcd.c index cb244f4..d90aa83

[PATCH 3/5] DSPBRIDGE: Remove multiple initializations of MEM module

2010-01-22 Thread Omar Ramirez Luna
MEM module should be only initialized by services layer, removed reference counter for it. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/gen/gs.c |8 ++-- drivers/dsp/bridge/pmgr/dbll.c| 15 ++- drivers/dsp/bridge/rmgr/dbdcd.c |8 +--- drivers

[PATCH] DSPBRIDGE: OSAL: Implement registry as linked list.

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko Change implementation of registry to a linked list. In future this will become to some static structures and probably list for DCD_REGKEY array. Signed-off-by: Andy Shevchenko --- drivers/dsp/bridge/services/regsup.c | 197 ++--- drivers/dsp

[PATCH] DSPBRIDGE: cache operation against kernel address instead of user's

2010-01-22 Thread Omar Ramirez Luna
From: Hiroshi DOYU Based on the discussion: http://www.spinics.net/lists/arm-kernel/msg72810.html HACK: export "follow_page()" for dspbridge cache operation Signed-off-by: Hiroshi DOYU --- drivers/dsp/bridge/rmgr/proc.c | 68 ++- mm/memory.c

[PATCH 0/2] DSPBRIDGE: trivial cleanup for enums

2010-01-22 Thread Omar Ramirez Luna
Remove unused enums and replace unrelated enum constants with defines. Shivananda Hebbar (2): DSPBRIDGE: Remove un-used enums DSPBRIDGE: Remove enum definitions and replace with macros arch/arm/plat-omap/include/dspbridge/_chnl_sm.h | 11 +-- arch/arm/plat-omap/include/dspbridge/cm

[PATCH 1/2] DSPBRIDGE: Remove un-used enums

2010-01-22 Thread Omar Ramirez Luna
From: Shivananda Hebbar This patch removes un-used enum definitions from bridge. Signed-off-by: Shivananda Hebbar --- arch/arm/plat-omap/include/dspbridge/cmmdefs.h |8 drivers/dsp/bridge/hw/IPIAccInt.h | 15 --- drivers/dsp/bridge/wmd/_tiomap.h

[PATCH 2/2] DSPBRIDGE: Remove enum definitions and replace with macros

2010-01-22 Thread Omar Ramirez Luna
From: Shivananda Hebbar This patch removes unrelated enum constants and replaces it with the macros Signed-off-by: Shivananda Hebbar --- arch/arm/plat-omap/include/dspbridge/_chnl_sm.h | 11 +-- arch/arm/plat-omap/include/dspbridge/cmm.h |2 +- arch/arm/plat-omap/include/dsp

Re: [PATCH] DSPBRIDGE: Various compile warning fixes

2010-01-25 Thread Omar Ramirez Luna
Patch looks good, just one question: This patch contains indentation fixes and cleans up various warnings uncovered with extra warning flags: - empty if() bodies am i missing something? which hunk fix this? - incorrect use of unsigned variables - bad comparison of pointer value - po

Re: [PATCH] DSPBRIDGE: Fix memory leak in PROC_AutoStart()

2010-01-25 Thread Omar Ramirez Luna
Hi, On 1/21/2010 7:03 AM, Ameya Palande wrote: Signed-off-by: Ameya Palande --- drivers/dsp/bridge/rmgr/proc.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c index a75b64a..91ab64f 100644 --- a/driver

[RESEND][PATCH] DSPBRIDGE: cache operation against kernel address instead of user's

2010-01-25 Thread Omar Ramirez Luna
From: Hiroshi DOYU Based on the discussion: http://www.spinics.net/lists/arm-kernel/msg72810.html HACK: export "follow_page()" for dspbridge cache operation Signed-off-by: Hiroshi DOYU --- drivers/dsp/bridge/rmgr/proc.c | 68 ++- mm/memory.c

[RESEND][PATCH 4/5] DSPBRIDGE: Remove multiple initializations of REG module

2010-01-25 Thread Omar Ramirez Luna
From cab08d7241af701397f6e78723d8e2125c3f2306 Mon Sep 17 00:00:00 2001 From: Omar Ramirez Luna Date: Thu, 21 Jan 2010 20:34:20 -0600 Subject: [PATCH 08/15] DSPBRIDGE: Remove multiple initializations of REG module REG module should be only initialized by services layer. Signed-off-by: Omar

Re: [PATCH 1/2] DSPBRIDGE: Use enable_off_mode variable instead of dsp_test_sleepstate

2010-01-26 Thread Omar Ramirez Luna
Hi, On 1/23/2010 4:19 AM, Felipe Contreras wrote: From: Jouni Hogander Signed-off-by: Jouni Hogander Signed-off-by: Hiroshi DOYU This patch is missing to export enable_off_mode otherwise it will fail while linking. FTR, I don't like to be exporting symbols of other subsystems, guess the s

Re: [PATCH] DSPBRIDGE: Various compile warning fixes

2010-01-26 Thread Omar Ramirez Luna
smaller than zero - keyword 'extern' has to be first one in variable declaration Signed-off-by: Mika Kukkonen Signed-off-by: Ameya Palande Acked-by: Omar Ramirez Luna Pushed to dspbridge --- arch/arm/plat-omap/include/dspbridge/dbc.h |6 +++--- arch/arm/plat-omap/include

[PATCH v2 0/5]

2010-01-26 Thread Omar Ramirez Luna
It is more logic to initialize services related modules inside services layer, even if we are planning to remove it. v2: - Fixed crefs build issue (patch 2) if enabling debug Omar Ramirez Luna (5): DSPBRIDGE: Avoid multiple calls to SERVICES_[Init|Exit] DSPBRIDGE: remove crefs for SERVICES

[PATCH v2 5/5] DSPBRIDGE: Remove multiple initializations of NTFY module

2010-01-26 Thread Omar Ramirez Luna
NTFY module should be only initialized by services layer. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/pmgr/wcd.c |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c index 2afe222..b92386a 100644

[PATCH v2 2/5] DSPBRIDGE: remove crefs for SERVICES[Init|Exit]

2010-01-26 Thread Omar Ramirez Luna
No point in having a module counter if these are called only once. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/services/services.c | 100 1 files changed, 37 insertions(+), 63 deletions(-) diff --git a/drivers/dsp/bridge/services/services.c b

[PATCH v2 3/5] DSPBRIDGE: Remove multiple initializations of MEM module

2010-01-26 Thread Omar Ramirez Luna
MEM module should be only initialized by services layer, removed reference counter for it. Signed-off-by: Omar Ramirez Luna --- drivers/dsp/bridge/gen/gs.c |8 ++-- drivers/dsp/bridge/pmgr/dbll.c| 15 ++- drivers/dsp/bridge/rmgr/dbdcd.c |8 +--- drivers

<    1   2   3   4   5   6   7   8   >