[PATCHv2 14/18] DSPBRIDGE: check pointer before calling Proc_Detach

2009-12-16 Thread Omar Ramirez Luna
From: Ernest Ramos Falcon erne...@ti.com This patch adds a check before calling Proc_Detach, otherwise we will see an error. Signed-off-by: Ernest Ramos Falcon erne...@ti.com Signed-off-by: Fernando Guzman Lugo x0095...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c |3 ++- 1 files

[PATCHv2 12/18] DSPBRIDGE: support loading 4 dependent DLL

2009-12-16 Thread Omar Ramirez Luna
From: Fernando Guzman Lugo x0095...@ti.com This patch fixes loading a SN that has 4 dependent DLLs, previously it was failing due to a non-null terminated string. Signed-off-by: Fernando Guzman Lugo x0095...@ti.com --- drivers/dsp/bridge/rmgr/dbdcd.c |2 +- 1 files changed, 1 insertions(+),

[PATCHv2 11/18] DSPBRIDGE: Do not panic on bad page count

2009-12-16 Thread Omar Ramirez Luna
If a page doesn't have a sane count, do not panic or release it. Loudly complain with dump_stack but do not halt with BUG. Signed-off-by: Fernando Guzman Lugo x0095...@ti.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/wmd/tiomap3430.c | 12 +++- 1 files

[PATCHv2 13/18] DSPBRIDGE: Memory leak in Node Register Notify

2009-12-16 Thread Omar Ramirez Luna
From: Ernesto Ramos Falcon erne...@ti.com Fix for memory leak in DSPNode_RegisterNotify when unregistering an object. Signed-off-by: Ernesto Ramos Falcon erne...@ti.com --- drivers/dsp/bridge/pmgr/wcd.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[PATCHv2 16/18] DSPBRIDGE: KFILE_Seek KFILE_Tell, u32 replaced with loff_t

2009-12-16 Thread Omar Ramirez Luna
KFILE_Seek KFILE_Tell, u32 replaced with loff_t Discovered-by: Ameya Palande ameya.pala...@nokia.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/pmgr/cod.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/bridge/pmgr/cod.c b

[PATCHv2 08/18] DSPBRIDGE: Remove long busy-wait loops on PWRST transitions

2009-12-16 Thread Omar Ramirez Luna
=c8853459b739e5f43da0badc1605a0a0c0c8195d Reported-by: Nishanth Menon n...@ti.com Signed-off-by: Fernando Guzman Lugo x0095...@ti.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/wmd/_tiomap_util.h |6 ++ drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 24

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

2009-12-16 Thread Omar Ramirez Luna
Lugo x0095...@ti.com Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- 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

[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 omar.rami...@ti.com --- 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

[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 omar.rami...@ti.com --- drivers/dsp/bridge/rmgr/dbdcd.c | 343 --- 1 files changed, 179 insertions(+), 164 deletions(-) diff --git a/drivers/dsp/bridge

[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 omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/proc.h | 24 drivers/dsp/bridge/rmgr/proc.c | 23 +++ 2 files changed, 23 insertions(+), 24 deletions

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

2009-12-16 Thread Omar Ramirez Luna
From: Ernesto Ramos Falcon erne...@ti.com 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

[PATCH 0/7] Resource cleanup changes

2009-12-16 Thread Omar Ramirez Luna
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 for bridge_open

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

2009-12-16 Thread Omar Ramirez Luna
From: Ameya Palande ameya.pala...@nokia.com Remove old resource cleanup implementation, and use the process context pointer stored in filp-private. Signed-off-by: Ameya Palande ameya.pala...@nokia.com [ orl: split into logical patch set, patch description ] Signed-off-by: Omar Ramirez Luna

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

2009-12-16 Thread Omar Ramirez Luna
From: Ameya Palande ameya.pala...@nokia.com 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

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

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

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

2009-12-16 Thread Omar Ramirez Luna
, patch description ] Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com Acked-by: Fernando Guzman Lugo x0095...@ti.com --- arch/arm/plat-omap/include/dspbridge/node.h |7 +-- arch/arm/plat-omap/include/dspbridge/proc.h | 13 + arch/arm/plat-omap/include/dspbridge/strm.h | 13

[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 omar.rami...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c | 61 --- 1 files changed, 32 insertions(+), 29 deletions(-) diff --git a/drivers/dsp

[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 omar.rami...@ti.com --- drivers/dsp/bridge/wmd/tiomap3430.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap3430.c b

[PATCH] DSPBRIDGE: Improve flush_all() performance

2009-12-16 Thread Omar Ramirez Luna
/mainline/commit/f0cc4ab4e4c40043a423f178a970ad9c8ab8fa06 Signed-off-by: Ameya Palande ameya.pala...@nokia.com [ orl: ported ] Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/wmd/tiomap3430.c | 18 -- 1 files changed, 4 insertions(+), 14 deletions

[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 omar.rami...@ti.com --- 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

[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 omar.rami...@ti.com --- drivers/dsp/bridge/wmd/tiomap3430_pwr.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/dsp

[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

Re: [PATCH] DSPBRIDGE: driver version 0.2

2010-03-11 Thread Omar Ramirez Luna
On 3/5/2010 11:11 PM, Ramirez Luna, Omar wrote: driver version 0.2 Signed-off-by: Omar Ramirez Lunaomar.rami...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Pushed to dspbridge. - omar -- To unsubscribe from this list:

[APPLIED] DSPBRIDGE: Camel case removal

2010-03-11 Thread Omar Ramirez Luna
Hi All, Camel case removal patch was pushed into dspbridge branch. This patch removes camel case symbols picked up by script found at: http://marc.info/?l=linux-omapm=125353475429517w=2 It also has Lindent changes on top of it. The count of modifications is as follows: 166 files changed,

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

2010-03-18 Thread Omar Ramirez Luna
Fix header locations, replaced mach to plat Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com Acked-by: Ameya Palande ameya.pala...@nokia.com --- arch/arm/mach-omap2/dspbridge.c|2 +- arch/arm/plat-omap/include/dspbridge/host_os.h |2 +- drivers/dsp/bridge/wmd

[PATCH 0/2] dspbridge: 2.6.33 migration patches

2010-03-18 Thread Omar Ramirez Luna
These patches are required for the next rebase to 2.6.33 kernel. They fix a warning and header locations for files moved from mach to plat. Omar Ramirez Luna (2): DSPBRIDGE: Remove autoconf.h dependency from host_os header DSPBRIDGE: Fix header locations mach to plat arch/arm/mach-omap2

[PATCH 1/2] DSPBRIDGE: Remove autoconf.h dependency from host_os header

2010-03-18 Thread Omar Ramirez Luna
: include/linux/autoconf.h:165:1: warning: CONFIG_DEFAULT_IOSCHED redefined In file included from command-line:0: ./include/generated/autoconf.h:172:1: warning: this is the location of the previous definition Signed-off-by: Omar Ramirez Luna omar.rami...@hotmail.com --- arch/arm/plat-omap/include

[ANNOUNCE] dspbridge rebased to 2.6.33

2010-03-23 Thread Omar Ramirez Luna
Hi, The rebased branch of dspbridge 2.6.33 kernel was pushed to d-o.z. Please use it for your development. Regards, Omar -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 1/2] DSPBRIDGE: Remove autoconf.h dependency from host_os header

2010-03-23 Thread Omar Ramirez Luna
On 3/18/2010 4:57 PM, Ramirez Luna, Omar wrote: There shouldn't be any dependency on the definitions generated by autoconf.h, besides it is automatically included by the build system. This solves the following warning: In file included from arch/arm/plat-omap/include/dspbridge/host_os.h:20,

Re: [PATCH 2/2] DSPBRIDGE: Fix header locations mach to plat

2010-03-23 Thread Omar Ramirez Luna
On 3/18/2010 4:57 PM, Ramirez Luna, Omar wrote: Fix header locations, replaced mach to plat Signed-off-by: Omar Ramirez Lunaomar.rami...@ti.com Acked-by: Ameya Palandeameya.pala...@nokia.com --- arch/arm/mach-omap2/dspbridge.c|2 +-

Re: [PATCH 1/3] DSPBRIDGE: Change dspbridge for open source mailbox implementation

2010-03-23 Thread Omar Ramirez Luna
On 2/12/2010 8:03 PM, Guzman Lugo, Fernando wrote: From 627fb103cb73202128b8c5d2a51c879c52ebf076 Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugox0095...@ti.com Date: Fri, 12 Feb 2010 02:26:58 -0600 Subject: [PATCH] DSPBRIDGE: Change dspbridge for open source mailbox implementation This

Re: [PATCH 2/3] DSPBRIDGE: Remove hw_mbox.c and hw_mbox.h not needed anymore

2010-03-23 Thread Omar Ramirez Luna
On 2/12/2010 8:03 PM, Guzman Lugo, Fernando wrote: From 5451312f78b6631c9cfacfde10928f481e60b65c Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugox0095...@ti.com Date: Wed, 27 Jan 2010 20:12:38 -0600 Subject: [PATCH] DSPBRIDGE: Remove hw_mbox.c and hw_mbox.h not needed anymore Because of

Re: [PATCH 3/3] DSPBRIDGE: Remove chnl_sm.h and tiomap_sm.c

2010-03-23 Thread Omar Ramirez Luna
On 2/12/2010 8:04 PM, Guzman Lugo, Fernando wrote: From d287e11cdb126f2c9b4be8d6d6f958ffdf7ff716 Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugox0095...@ti.com Date: Fri, 22 Jan 2010 21:46:42 -0600 Subject: [PATCH] DSPBRIDGE: Remove chnl_sm.h and tiomap_sm.c Because of mailbox migration

Re: [PATCH v2 0/5] Mailbox: Fix some issues in mailbox module

2010-03-23 Thread Omar Ramirez Luna
On 2/18/2010 1:06 AM, Guzman Lugo, Fernando wrote: From 79f2b477b19c49b36c51e8589c0a3d52ecd9ec99 Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugox0095...@ti.com Date: Thu, 18 Feb 2010 01:06:34 -0600 Subject: [PATCH] Mailbox: Fix some issues in mailbox module This set of patches fix some

[dspbridge] news: omap mailbox implementation

2010-03-23 Thread Omar Ramirez Luna
Hi All, When updating the custom dspbridge mailbox functions with the ones avaliable through omap mailbox (by pulling latest dspbridge), PLEASE remember to enable omap mailbox through menuconfig: make menuconfig System Type --- TI OMAP Implementations --- * Mailbox framework

Re: [dspbridge] news: omap mailbox implementation

2010-03-23 Thread Omar Ramirez Luna
On 3/23/2010 12:54 PM, Ameya Palande wrote: Hi Omar, On Tue, 2010-03-23 at 19:08 +0100, ext Omar Ramirez Luna wrote: Hi All, When updating the custom dspbridge mailbox functions with the ones avaliable through omap mailbox (by pulling latest dspbridge), PLEASE remember to enable omap mailbox

Re: [dspbridge] news: omap mailbox implementation

2010-03-23 Thread Omar Ramirez Luna
On 3/23/2010 1:29 PM, Omar Ramirez Luna wrote: On 3/23/2010 12:54 PM, Ameya Palande wrote: Hi Omar, On Tue, 2010-03-23 at 19:08 +0100, ext Omar Ramirez Luna wrote: Hi All, When updating the custom dspbridge mailbox functions with the ones avaliable through omap mailbox (by pulling latest

Re: [dspbridge] news: omap mailbox implementation

2010-03-23 Thread Omar Ramirez Luna
On 3/23/2010 1:31 PM, Ameya Palande wrote: On Tue, 2010-03-23 at 19:29 +0100, ext Omar Ramirez Luna wrote: On 3/23/2010 12:54 PM, Ameya Palande wrote: Hi Omar, On Tue, 2010-03-23 at 19:08 +0100, ext Omar Ramirez Luna wrote: Hi All, When updating the custom dspbridge mailbox functions

[PATCH 2/3] DSPBRIDGE: Fix obvious wrong comment formats in mbox migration

2010-03-23 Thread Omar Ramirez Luna
Fix obvious wrong comment formats in mbox migration. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/wmd/_tiomap.h|2 +- drivers/dsp/bridge/wmd/tiomap3430.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/bridge/wmd

[PATCH 3/3] DSPBRIDGE: auto select mailbox when compiling bridge

2010-03-23 Thread Omar Ramirez Luna
Auto select mailbox when compiling bridgedriver. If selected as module, first install: arch/arm/plat-omap/mailbox.ko arch/arm/mach-omap2/mailbox_mach.ko Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions

[PATCH 0/3] dspbridge: minor mbox cleanups

2010-03-23 Thread Omar Ramirez Luna
Fix obvious coding style issues not seen during review. And now bridge driver will auto select mailbox driver. Omar Ramirez Luna (3): DSPBRIDGE: fix checkpatch error introduced with mailbox patches DSPBRIDGE: Fix obvious wrong comment formats in mbox migration DSPBRIDGE: auto select

[PATCH 1/3] DSPBRIDGE: fix checkpatch error introduced with mailbox patches

2010-03-23 Thread Omar Ramirez Luna
This fixes: ERROR: foo* bar should be foo *bar 218: FILE: drivers/dsp/bridge/wmd/_tiomap.h:374: +dsp_status sm_interrupt_dsp(struct wmd_dev_context* dev_context, u16 mb_val); Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/wmd/_tiomap.h |2 +- 1 files changed, 1

Re: [PATCH 02/10] dsp-bridge: deh: trivial cleanups

2010-03-23 Thread Omar Ramirez Luna
On 3/23/2010 4:25 PM, Felipe Contreras wrote: Mostly white-space formatting. Most of this white space changes were made because of rules defined when executing Lindent, if there is an agreement that this Lindent changes are bringing more trouble I think we should roll them back instead of

Re: [PATCH 1/3] DSPBRIDGE: fix checkpatch error introduced with mailbox patches

2010-03-25 Thread Omar Ramirez Luna
On 3/24/2010 2:11 PM, Chitriki Rudramuni, Deepak wrote: Omar Ramirez Luna wrote: This fixes: ERROR: foo* bar should be foo *bar 218: FILE: drivers/dsp/bridge/wmd/_tiomap.h:374: +dsp_status sm_interrupt_dsp(struct wmd_dev_context* dev_context, u16 mb_val); Signed-off-by: Omar Ramirez

Re: [PATCH 2/3] DSPBRIDGE: Fix obvious wrong comment formats in mbox migration

2010-03-25 Thread Omar Ramirez Luna
On 3/24/2010 2:12 PM, Chitriki Rudramuni, Deepak wrote: Ramirez Luna, Omar wrote: Fix obvious wrong comment formats in mbox migration. Signed-off-by: Omar Ramirez Lunaomar.rami...@ti.com --- drivers/dsp/bridge/wmd/_tiomap.h|2 +- drivers/dsp/bridge/wmd/tiomap3430.c |2 +- 2

Re: [PATCH 3/3] DSPBRIDGE: auto select mailbox when compiling bridge

2010-03-25 Thread Omar Ramirez Luna
On 3/24/2010 2:12 PM, Chitriki Rudramuni, Deepak wrote: Omar Ramirez Luna wrote: Auto select mailbox when compiling bridgedriver. If selected as module, first install: arch/arm/plat-omap/mailbox.ko arch/arm/mach-omap2/mailbox_mach.ko Signed-off-by: Omar Ramirez Lunaomar.rami...@ti.com

[PATCH 0/2] DSPBRIDGE: 128 bytes alignment check

2010-03-26 Thread Omar Ramirez Luna
composed of 2 bits to distinguish if the mapped chunk is readable/writeable, so the check can be performed on w/rw chunks of memory. Omar Ramirez Luna (2): DSPBRIDGE: add checking 128 byte alignment for dsp cache line size DSPBRIDGE: Distinguish between read or write buffers arch/arm/plat-omap

[PATCH 2/2] DSPBRIDGE: Distinguish between read or write buffers

2010-03-26 Thread Omar Ramirez Luna
values otherwise (if enabled) check will reject buffers not aligned to 128 bytes (even if they fall in the input category). Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/dbdefs.h |7 ++- drivers/dsp/bridge/rmgr/proc.c| 16

[PATCH 1/2] DSPBRIDGE: add checking 128 byte alignment for dsp cache line size

2010-03-26 Thread Omar Ramirez Luna
-by: Hiroshi DOYU hiroshi.d...@nokia.com [orl: check into PROC_Map, created Kconfig option] Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/Kconfig | 14 ++ drivers/dsp/bridge/rmgr/proc.c | 11 +++ 2 files changed, 25 insertions(+), 0 deletions

Re: [PATCH v2] DSPBRIDGE: DSP recovery feature

2010-03-31 Thread Omar Ramirez Luna
On 3/28/2010 6:29 PM, Felipe Contreras wrote: On Fri, Mar 26, 2010 at 12:17 AM, Guzman Lugo, Fernandox0095...@ti.com wrote: Patch updated with new O_NONBLOCK option in bridge_open function. From aa1b238e4bd30eb52a96a7000998cd7d32e37050 Mon Sep 17 00:00:00 2001 From: Fernando Guzman

Re: [PATCH 0/4] DSPBRIDGE: Simplify and optimize sync module

2010-04-05 Thread Omar Ramirez Luna
On 3/23/2010 8:56 PM, Guzman Lugo, Fernando wrote: From 16f7a1a33d7f76ea3e2962421fea8d5b5f15e4e1 Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugox0095...@ti.com Date: Tue, 23 Mar 2010 20:04:33 -0600 Subject: [PATCH] DSPBRIDGE: Simplify and optimize sync module This set of patches simplifies

Re: [PATCH 0/3] DSPBRIDGE: simplify ntfy module

2010-04-05 Thread Omar Ramirez Luna
On 3/24/2010 10:52 PM, Guzman Lugo, Fernando wrote: From 87f5751e8838fae3b3eed189eaa9a94a6d8e1ebd Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugox0095...@ti.com Date: Wed, 24 Mar 2010 21:53:02 -0600 Subject: [PATCH] DSPBRIDGE: simplify ntfy module This set of patches simplifies the ntfy

Re: [PATCH 0/2] DSPBRIDGE: 128 bytes alignment check

2010-04-05 Thread Omar Ramirez Luna
of memory. The second patch uses a field composed of 2 bits to distinguish if the mapped chunk is readable/writeable, so the check can be performed on w/rw chunks of memory. Omar Ramirez Luna (2): DSPBRIDGE: add checking 128 byte alignment for dsp cache line size DSPBRIDGE: Distinguish

dspbridge: rebasing missing patches from dspbridge-pm

2010-04-05 Thread Omar Ramirez Luna
Hi, The following patches were rebased from dspbridge-pm to dspbridge branch: DSPBRIDGE: Use dspbridge to initialize platform data DSPBRIDGE: change to cpufreq_register_notifier for OPP changes Now there is no need to keep dspbridge-pm so it has been removed. Regards, Omar -- To unsubscribe

[PATCH 01/19] DSPBRIDGE: rename generic clk_handle for iva2_clk

2010-04-08 Thread Omar Ramirez Luna
In the contexts is being used clk_handle refers to iva2_clk handle only. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c

[PATCH 00/19] generic clk module removal

2010-04-08 Thread Omar Ramirez Luna
/disabling its sst, ssr and ick clocks. Omar Ramirez Luna (19): DSPBRIDGE: rename generic clk_handle for iva2_clk DSPBRIDGE: remove iva2 clk control from custom framework DSPBRIDGE: fail if clk handle is NULL DSPBRIDGE: Now actually fail if a clk handle is wrong DSPBRIDGE: Rename

[PATCH 05/19] DSPBRIDGE: Rename services_clk_* to dsp_clk_*

2010-04-08 Thread Omar Ramirez Luna
Rename services_clk_* to dsp_clk_* Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 72 drivers/dsp/bridge/services/clk.c | 82 ++-- drivers/dsp/bridge/services/services.c

[PATCH 03/19] DSPBRIDGE: fail if clk handle is NULL

2010-04-08 Thread Omar Ramirez Luna
If we fail if a clk handle is NULL during initialization then there is no need to keep checking every time if the handle is NULL for enable/disable/set_32k/get_use_cnt. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 54

[PATCH 11/19] DSPBRIDGE: use dm timer framework for gpt timers

2010-04-08 Thread Omar Ramirez Luna
This patch switches to use DM timer framework instead of a custom one for GPT timers, currently dsp can make use of gpt 5, 6, 7 or 8. Signed-off-by: Omar Ramirez Luna omar.rami...@hotmail.com --- drivers/dsp/bridge/services/clk.c | 28 ++ drivers/dsp/bridge/wmd

[PATCH 13/19] DSPBRIDGE: remove wdt3 from dsp control

2010-04-08 Thread Omar Ramirez Luna
WDT3 is used as a way to detect dsp hangs, as of now its control is left to arm side driver, so, no requests should be received by the dsp to enable/disable this clock. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c |6 -- 1 files changed, 4

[PATCH 19/19] DSPBRIDGE: reorganize the code to handle peripheral clocks

2010-04-08 Thread Omar Ramirez Luna
This patch moves and simplifies the code used to enable/disable all the requested peripheral clocks. Signed-off-by: Omar Ramirez Luna omar.rami...@hotmail.com --- arch/arm/plat-omap/include/dspbridge/clk.h |4 ++ drivers/dsp/bridge/wmd/_tiomap_pwr.h | 17 --- drivers/dsp

[PATCH 17/19] DSPBRIDGE: Balance the number of enable/disable

2010-04-08 Thread Omar Ramirez Luna
This patch ensure a balanced number of enable/disable calls is made. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/drivers/dsp/bridge

[PATCH 18/19] DSPBRIDGE: move clk to dsp-clock

2010-04-08 Thread Omar Ramirez Luna
Rename file and move it outside services layer. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/Makefile|4 +- drivers/dsp/bridge/services/clk.c | 289 drivers/dsp/bridge/wmd/dsp-clock.c | 289

[PATCH 14/19] DSPBRIDGE: ssi clock fixes

2010-04-08 Thread Omar Ramirez Luna
- Fixing wrong name for ssi clock, split into ssr and sst for fck. - Handle ick/ssr_fck/sst_fck clocks with one call to disable/enable. - Since clk_init only initializes ssi clk changed its name and body. - Remove ssi prepare from header file. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com

[PATCH 06/19] DSPBRIDGE: remove unused clock sys_ck

2010-04-08 Thread Omar Ramirez Luna
Remove unused clock sys_ck Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h |1 - drivers/dsp/bridge/services/clk.c |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge/clk.h

[PATCH 12/19] DSPBRIDGE: use omap mcbsp to enable mcbsp clocks

2010-04-08 Thread Omar Ramirez Luna
Use omap mcbsp to enable mcbsp clocks Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 24 ++-- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git a/drivers/dsp/bridge/services/clk.c b/drivers/dsp/bridge/services

[PATCH 08/19] DSPBRIDGE: remove clk_get_use_cnt

2010-04-08 Thread Omar Ramirez Luna
Instead of querying the use count, balanced number of enable/disable should be enforced across the system. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 13 - drivers/dsp/bridge/services/clk.c | 23

[PATCH 16/19] DSPBRIDGE: Move MCBSP_CLOCKS code to a common place

2010-04-08 Thread Omar Ramirez Luna
to be called only when dsp is requesting a MCBSP clock. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 40 + drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 73 --- 2 files changed, 40 insertions(+), 73

[PATCH 04/19] DSPBRIDGE: Now actually fail if a clk handle is wrong

2010-04-08 Thread Omar Ramirez Luna
The value returned by clk_get on error is not NULL. This checks if the value returned is an error or not. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge

[PATCH 09/19] DSPBRIDGE: trivial clock cleanup for unused code

2010-04-08 Thread Omar Ramirez Luna
Remove unusued struct and typedef. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h |2 -- drivers/dsp/bridge/services/clk.c |7 --- 2 files changed, 0 insertions(+), 9 deletions(-) diff --git a/arch/arm/plat-omap/include

[PATCH 02/19] DSPBRIDGE: remove iva2 clk control from custom framework

2010-04-08 Thread Omar Ramirez Luna
of time. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 16 +--- drivers/dsp/bridge/rmgr/drv_interface.c| 33 +-- drivers/dsp/bridge/services/clk.c | 32 --- drivers/dsp

[PATCH 10/19] DSPBRIDGE: function to get the type of clock requested by dsp

2010-04-08 Thread Omar Ramirez Luna
DSP can request between 4 types of clocks: GPT (5-8), WDT (3), MCBSP (1-5) or SSI clock. This function will be useful in case a specific clock framework is associated with the clock. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 80

[PATCH 15/19] DSPBRIDGE: use one call for both ick and fck clocks

2010-04-08 Thread Omar Ramirez Luna
Instead of two calls to enable/disable for ick and fck use one call to enable/disable both. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 33 - drivers/dsp/bridge/services/clk.c | 12 drivers

[PATCH 07/19] DSPBRIDGE: remove function clk_set32k_hz

2010-04-08 Thread Omar Ramirez Luna
This is only used for GPTs and should be addressed once those clocks are requested using DM timer framework. This patch might break functionality. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 13 - drivers/dsp/bridge

Re: [PATCH 00/10] dsp-bridge: deh: general cleanups

2010-04-19 Thread Omar Ramirez Luna
On 4/15/2010 7:12 AM, Felipe Contreras wrote: On Wed, Mar 24, 2010 at 12:25 AM, Felipe Contreras felipe.contre...@gmail.com wrote: While trying to fix the recovery feature I stumbled many areas of improvments in 'deh' (whatever that means). I quickly tested tesed these changes in Nokia hw,

Re: [PATCH 2/5v2] DSPBRIDGE: Remove checkpatch warnings: 80 char lines

2010-04-19 Thread Omar Ramirez Luna
On 4/19/2010 5:26 PM, Uribe de Leon, Armando wrote: [...] --- a/drivers/dsp/bridge/rmgr/node.c +++ b/drivers/dsp/bridge/rmgr/node.c @@ -2450,45 +2450,34 @@ dsp_status node_terminate(struct node_object *hnode, OUT dsp_status *pstatus) status = (*intf_fxns-pfn_msg_put)

[PATCH 7/7] DSPBRIDGE: Change imode type to u8

2010-04-21 Thread Omar Ramirez Luna
From: Shivananda Hebbar x0heb...@ti.com imode is used to represent channel input or output mode. It can take value either 0, 1 or 2. Hence changing it to u8. Signed-off-by: Shivananda Hebbar x0heb...@ti.com --- arch/arm/plat-omap/include/dspbridge/io_sm.h |2 +-

Re: [PATCH 1/5] DSPBRIDGE: Remove DSP resources from registry

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:30 PM, Ramos Falcon, Ernesto wrote: From 9ac5e14af1471b79a64076aec6b866abe87b3365 Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Wed, 31 Mar 2010 21:10:16 -0600 Subject: [PATCH 1/5] DSPBRIDGE: Remove DSP resources from registry Remove DSP resources from

Re: [PATCH 2/5] DSPBRIDGE: Remove host resources from registry

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:32 PM, Ramos Falcon, Ernesto wrote: From 805fb981c83356788e0a3eaefb35d9eb74ced10c Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Fri, 16 Apr 2010 20:47:06 -0500 Subject: [PATCH 2/5] DSPBRIDGE: Remove host resources from registry Remove host resources from

Re: [PATCH 3/5] DSPBRIDGE: Remove DSP resources from registry

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:33 PM, Ramos Falcon, Ernesto wrote: From 10010c14048a946190356cc682089d35b1bf7f48 Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Fri, 16 Apr 2010 21:40:57 -0500 Subject: [PATCH 3/5] DSPBRIDGE: Remove DSP resources from registry Remove DSP resources from

Re: [PATCH 4/5] DSPBRIDGE: Remove handles from registry

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:34 PM, Ramos Falcon, Ernesto wrote: From 874bc262b47319b311d14ca32a7c1afb9eb388e8 Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Thu, 1 Apr 2010 00:17:24 -0600 Subject: [PATCH 4/5] DSPBRIDGE: Remove handles from registry Remove handles from registry.

Re: [PATCH 5/5] DSPBRIDGE: Remove Reg module

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:35 PM, Ramos Falcon, Ernesto wrote: From 1046e5fabff98074f706ed257c040ca3dd0decdb Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Fri, 16 Apr 2010 21:46:50 -0500 Subject: [PATCH 5/5] DSPBRIDGE: Remove Reg module Remove Reg module from services. Signed-off-by:

Re: [PATCH 01/13] DSPBRIDGE: Replace mem_calloc() by kzalloc() or __vmalloc()

2010-04-27 Thread Omar Ramirez Luna
On 4/8/2010 6:43 PM, Gomez Castellanos, Ivan wrote: From 0306e1ff7c9160dbc5eb9fffcd789a40bea0debb Mon Sep 17 00:00:00 2001 From: Ivan Gomez Castellanosivan.go...@ti.com Date: Fri, 19 Mar 2010 16:43:26 -0600 Subject: [PATCH 01/13] DSPBRIDGE: Replace mem_calloc() by kzalloc() or __vmalloc()

[PATCH v2] DSPBRIDGE: remove clk_handle from drv interface

2010-04-27 Thread Omar Ramirez Luna
Since it is not used, remove. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c |9 - 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index

[PATCH v2] DSPBRIDGE: fail if clk handle is NULL

2010-04-27 Thread Omar Ramirez Luna
If we fail if a clk handle is NULL during initialization then there is no need to keep checking every time if the handle is NULL for enable/disable/set_32k/get_use_cnt. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 68

[PATCH v2] DSPBRIDGE: Rename services_clk_* to dsp_clk_*

2010-04-27 Thread Omar Ramirez Luna
Rename services_clk_* to dsp_clk_* Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 78 drivers/dsp/bridge/services/clk.c | 88 ++-- drivers/dsp/bridge/services/services.c

[PATCH v2] DSPBRIDGE: iva2 clock handling

2010-04-27 Thread Omar Ramirez Luna
Change the way iva2 clock is handled and since the rate is needed for this clock only, make the function get_rate to be specific for iva clock. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 16 +-- drivers/dsp/bridge/services/clk.c

[PATCH v2] DSPBRIDGE: remove function clk_set32k_hz

2010-04-27 Thread Omar Ramirez Luna
This is only used for GPTs and should be addressed once those clocks are requested using DM timer framework. This patch might break functionality. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 14 +- drivers/dsp/bridge

[PATCH v2] DSPBRIDGE: Now actually fail if a clk handle is wrong

2010-04-27 Thread Omar Ramirez Luna
The value returned by clk_get on error is not NULL. This checks if the value returned is an error or not. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge

[PATCH v2] DSPBRIDGE: remove unused clock sys_ck

2010-04-27 Thread Omar Ramirez Luna
Remove unused clock sys_ck Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h |1 - drivers/dsp/bridge/services/clk.c |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge/clk.h

[PATCH v2] generic clk module removal

2010-04-27 Thread Omar Ramirez Luna
/disabling its sst, ssr and ick clocks. v2: - rebased - keep iva2 handling as it is advised to turn off the clocks for iva reset sources. - release all the clocks (disable free) if driver is uninstalled. Omar Ramirez Luna (5): DSPBRIDGE: iva2 clock handling DSPBRIDGE: dsp interface to enable

[PATCH v2] DSPBRIDGE: dsp interface to enable ssi clocks

2010-04-27 Thread Omar Ramirez Luna
This patch fixes the wrong name for ssi clock, now it has been split into ssr and sst for fck. It handle ick/ssr_fck/sst_fck clocks with one call to disable/enable. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 56

[PATCH v2] DSPBRIDGE: move clk to dsp-clock

2010-04-27 Thread Omar Ramirez Luna
Rename file and move it outside services layer. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/Makefile |4 +- drivers/dsp/bridge/rmgr/drv_interface.c |2 + drivers/dsp/bridge/services/clk.c | 334 --- drivers

[PATCH v2] DSPBRIDGE: Move MCBSP_CLOCKS code to a common place

2010-04-27 Thread Omar Ramirez Luna
to be called only when dsp is requesting a MCBSP clock. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 52 + drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 77 --- 2 files changed, 52 insertions(+), 77

[PATCH v2] DSPBRIDGE: use omap mcbsp to enable mcbsp clocks

2010-04-27 Thread Omar Ramirez Luna
Use omap mcbsp to enable mcbsp clocks Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 24 ++-- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git a/drivers/dsp/bridge/services/clk.c b/drivers/dsp/bridge/services

[PATCH v2] DSPBRIDGE: use one call for both ick and fck clocks

2010-04-27 Thread Omar Ramirez Luna
Instead of two calls to enable/disable for ick and fck use one call to enable/disable both. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 35 +-- drivers/dsp/bridge/services/clk.c | 14

[PATCH v2] DSPBRIDGE: use dm timer framework for gpt timers

2010-04-27 Thread Omar Ramirez Luna
This patch switches to use DM timer framework instead of a custom one for GPT timers, currently dsp can make use of gpt 5, 6, 7 or 8. Signed-off-by: Omar Ramirez Luna omar.rami...@hotmail.com --- drivers/dsp/bridge/services/clk.c | 25 --- drivers/dsp/bridge/wmd

[PATCH v2] DSPBRIDGE: trivial clock cleanup for unused code

2010-04-27 Thread Omar Ramirez Luna
Remove unusued struct and typedef. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h |2 -- drivers/dsp/bridge/services/clk.c |7 --- 2 files changed, 0 insertions(+), 9 deletions(-) diff --git a/arch/arm/plat-omap/include

[PATCH v2] DSPBRIDGE: Balance the number of enable/disable

2010-04-27 Thread Omar Ramirez Luna
This patch ensure a balanced number of enable/disable calls is made. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/drivers/dsp/bridge

[PATCH v2] DSPBRIDGE: remove clk_get_use_cnt

2010-04-27 Thread Omar Ramirez Luna
Instead of querying the use count, balanced number of enable/disable should be enforced across the system. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 13 - drivers/dsp/bridge/services/clk.c | 23

<    1   2   3   4   5   6   7   >