[PATCH] omap: mailbox - Enable IRQ after allocating queues

2010-11-08 Thread Deepak Chitriki
on the analysis of Fernando Guzman Lugo. Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com --- arch/arm/plat-omap/mailbox.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c index c59c9c3

Re: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-07 Thread Deepak Chitriki
Ohad Ben-Cohen wrote: The underlying buffering implementation of mailbox is converted from block API to kfifo due to the simplicity and speed of kfifo. The default size of the kfifo buffer is set to 256 bytes. This value is configurable at compile time (via CONFIG_OMAP_MBOX_KFIFO_SIZE), and can

Re: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-07 Thread Deepak Chitriki
Ohad Ben-Cohen wrote: Hi Deepak, On Mon, Jun 7, 2010 at 1:52 PM, Deepak Chitriki deepak.chitr...@ti.com wrote: With this patch I observed inconsistent lock state warning. Thanks for the report! Kfifo is acccessed in omap_mbox_msg_send() and mbox_tx_tasklet() functions.In order

Re: [PATCH] DSPBRIDGE: fix incorrect reset in bridge_brd_start function

2010-05-20 Thread Deepak Chitriki
Guzman Lugo, Fernando wrote: From 595a54c6a886d8e707e04cbf5d0d9b6d6de7c6ec Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugo x0095...@ti.com Date: Tue, 18 May 2010 20:14:20 -0500 Subject: [PATCH] DSPBRIDGE: fix incorrect reset in bridge_brd_start function IVA mmu reset was not being done

Re: [PATCH] DSPBRIDGE: Fix declaration and initialization of sync objects.

2010-04-19 Thread Deepak Chitriki
-sync_done_ack); else status = DSP_EMEMORY; Acked-by: Deepak Chitriki deepak.chitr...@ti.com Deepak -- 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 http

[PATCH] DSPBRIDGE:Fix Kernel memory poison overwritten after DSP_MMUFAULT

2010-04-13 Thread Deepak Chitriki
-off-by: Deepak Chitriki deepak.chitr...@ti.com --- drivers/dsp/bridge/wmd/ue_deh.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/bridge/wmd/ue_deh.c b/drivers/dsp/bridge/wmd/ue_deh.c index 14dd8ae..7ed5f60 100644 --- a/drivers/dsp/bridge/wmd/ue_deh.c +++ b

Re: [PATCH] DSPBRIDGE:Fix Kernel memory poison overwritten after DSP_MMUFAULT

2010-04-13 Thread Deepak Chitriki
Please ignore this patch. Thanks, Deepak Chitriki Rudramuni, Deepak wrote: kmalloc() does not guarantee page aligned memory always,hence resulting in virtual addresses not getting aligned to page boundary. This patch replaces kmalloc() with __get_free_pages() which allocates kernel memory

[PATCH] DSPBRIDGE:Fix Kernel memory poison overwritten after DSP_MMUFAULT

2010-04-13 Thread Deepak Chitriki
: Ameya Palande ameya.pala...@nokia.com Cc: Felipe Contreras felipe.contre...@nokia.com Cc: Hiroshi Doyu hiroshi.d...@nokia.com Cc: Omar Ramirez Luna omar.rami...@ti.com Cc: Nishanth Menon n...@ti.com Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com --- drivers/dsp/bridge/wmd/ue_deh.c |5

Re: [PATCH] DSPBRIDGE:Fix sparse warnings

2010-03-30 Thread Deepak Chitriki
Please ignore this patch. Regards, Deepak Chitriki Rudramuni, Deepak wrote: This patch fixes sparse warning cast removes address space of expression in drivers/dsp/bridge/wmd/tiomap_io.c Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com --- drivers/dsp/bridge/wmd/tiomap_io.c | 10

[PATCH] DSPBRIDGE:Fix sparse warnings

2010-03-26 Thread Deepak Chitriki
This patch fixes sparse warning cast removes address space of expression in drivers/dsp/bridge/wmd/tiomap_io.c Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com --- drivers/dsp/bridge/wmd/tiomap_io.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

Re: PATCH] OMAP3: add mailbox initialization for 3630

2010-03-25 Thread Deepak Chitriki
Acked-by: Deepak Chitriki deepak.chitr...@ti.com Deepak Guzman Lugo, Fernando wrote: From 1fcfb230789f904de80c46b69c50879ee3f32ed8 Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugo x0095...@ti.com Date: Thu, 25 Mar 2010 16:55:46 -0600 Subject: [PATCH] OMAP3: add mailbox initialization

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

2010-03-24 Thread Deepak Chitriki
wmd_tlb_dsp_va_to_mpu_pa(struct wmd_dev_context *dev_context, * Requires: * Ensures: */ -dsp_status sm_interrupt_dsp(struct wmd_dev_context* dev_context, u16 mb_val); +dsp_status sm_interrupt_dsp(struct wmd_dev_context *dev_context, u16 mb_val); #endif /* _TIOMAP_ */ Acked-by: Deepak Chitriki

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

2010-03-24 Thread Deepak Chitriki
-by: Deepak Chitriki deepak.chitr...@ti.com Deepak -- 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 http://vger.kernel.org/majordomo-info.html

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

2010-03-24 Thread Deepak Chitriki
OMAP_MBOX_FWK help DSP/BIOS Bridge is designed for platforms that contain a GPP and one or more attached DSPs. The GPP is considered the master or Acked-by: Deepak Chitriki deepak.chitr...@ti.com Deepak -- To unsubscribe from this list: send the line unsubscribe

Re: [UPDATE] kill camel case

2010-03-08 Thread Deepak Chitriki
Omar, Missing your Signed-off-by for all the patches in dspbridge-camelcase-v2 branch. Thanks, Deepak Omar Ramirez Luna wrote: Hi, Deleted: dspbridge-next-camelcase Published dspbridge-camelcase-v2 Following patches were dropped: dspbridge: camelcase replace DSP_FAILED for dsp_failed

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

2010-02-19 Thread Deepak Chitriki
Ramirez Luna, Omar wrote: This patch introduces the check to differentiate the buffers coming to the dsp through bridgedriver. So far they can be input (read) or output (write) or rw (which are treated the same way as an output buffer), this distinctions are made from dsp perspective. Since

[PATCH v2] DSPBRIDGE: Fix to avoid possible recursive locking

2010-02-11 Thread Deepak Chitriki
Removed NTFY_Notify() in WMD_MSG_Get() to avoid locking contention as NTFY_Notify() is already invoked in InputMsg(). Cc: Ameya Palande ameya.pala...@nokia.com Cc: Omar Ramirez Luna omar.rami...@ti.com Cc: Nishanth Menon n...@ti.com Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com --- Ref

[PATCH v3] DSPBRIDGE: Fix to avoid possible recursive locking

2010-02-11 Thread Deepak Chitriki
Removed NTFY_Notify() in WMD_MSG_Get() to avoid locking contention as NTFY_Notify() is already invoked in InputMsg(). Cc: Ameya Palande ameya.pala...@nokia.com Cc: Omar Ramirez Luna omar.rami...@ti.com Cc: Nishanth Menon n...@ti.com Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com --- Ref

[PATCHv1] DSPBRIDGE: Fix to avoid possible recursive locking

2010-02-10 Thread Deepak Chitriki
Removed NTFY_Notify() in WMD_MSG_Get() to avoid locking contention as NTFY_Notify() is already invoked in InputMsg(). Cc: Ameya Palande ameya.pala...@nokia.com Cc: Omar Ramirez Luna omar.rami...@ti.com Cc: Nishanth Menon n...@ti.com Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com Ref: v0

[PATCH] DSPBRIDGE: Fix to avoid possible recursive locking

2010-02-09 Thread Deepak Chitriki
Ramirez Luna omar.rami...@ti.com Cc: Nishanth Menon n...@ti.com Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com --- drivers/dsp/bridge/wmd/msg_sm.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/dsp/bridge/wmd/msg_sm.c b/drivers/dsp/bridge/wmd/msg_sm.c

[PATCH] DSPBRIDGE: Fix BUG scheduling while atomic

2010-01-20 Thread Deepak Chitriki
Ramirez omap.rami...@ti.com Signed-off-by: Fernando Guzman Lugo x0095...@ti.com Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com --- drivers/dsp/bridge/wmd/_tiomap_pwr.h|7 +++ drivers/dsp/bridge/wmd/io_sm.c |2 +- drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 31