From: Felipe Contreras <felipe.contreras@gmail.com>
To: Omar Ramirez Luna <omar.ramirez@ti.com>
Cc: Ohad Ben-Cohen <ohad@wizery.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"Kanigeri, Hari" <h-kanigeri2@ti.com>,
"Guzman Lugo, Fernando" <fernando.lugo@ti.com>,
"Menon, Nishanth" <nm@ti.com>,
Hiroshi Doyu <Hiroshi.DOYU@nokia.com>
Subject: Re: [RFC/PATCH 0/6] DSPBRIDGE: fix mem+cache API issues
Date: Sat, 15 May 2010 11:26:57 +0300 [thread overview]
Message-ID: <AANLkTilNtSBBIMATnZdmiCQrhLXoD8hcOk43kxFbAqrp@mail.gmail.com> (raw)
In-Reply-To: <4BEDA964.9070704@ti.com>
On Fri, May 14, 2010 at 10:49 PM, Omar Ramirez Luna <omar.ramirez@ti.com> wrote:
> On 5/14/2010 2:27 PM, Felipe Contreras wrote:
> [...]
>>
>> So, I tried your patches, and a simple test app worked fine without
>> modification, but a real video decoding hanged the device
>> completely... some spinlock was stuck. I don't know if it's because of
>> your patches, or because of the state of the bridge at that point.
>> I'll try first to rebase to the latest to have a better idea of what's
>> happening.
>
> You may want to check if you have this patch "DSPBRIDGE: Fix declaration and
> initialization of sync objects"[1]
I used what Ohad suggested: 13e2573. So no, that patch is not there.
> This is the one I know fixes a spinlock issue and which description is not
> clear enough to state that.
>
> File fixed was: drivers/dsp/bridge/wmd/msg_sm.c
>
> [1]http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=b3900e6df1f4e16b59d506a299cd5084c67a6ede
I tried to cherry-pick that commit... didn't help:
BUG: spinlock lockup on CPU#0, gst-launch-0.10/534, c6404304
Backtrace:
[<c0040984>] (dump_backtrace+0x0/0xf8) from [<c036d204>] (dump_stack+0x18/0x1c)
r6:00000000 r5:c644a000 r4:c6404304 r3:00000000
[<c036d1ec>] (dump_stack+0x0/0x1c) from [<c0213a08>]
(__spin_lock_debug+0xbc/0xd0)
[<c021394c>] (__spin_lock_debug+0x0/0xd0) from [<c0213aa0>]
(do_raw_spin_lock+0x84/0xb4)
r8:c644be54 r7:00000064 r6:c005f178 r5:80000013 r4:c6404304
[<c0213a1c>] (do_raw_spin_lock+0x0/0xb4) from [<c036ff6c>]
(_raw_spin_lock_irqsave+0x5c/0x68)
r4:c6404304 r3:c7865a00
[<c036ff10>] (_raw_spin_lock_irqsave+0x0/0x68) from [<c005f178>]
(completion_done+0x1c/0x38)
r6:00000001 r5:c6404304 r4:c6404300
[<c005f15c>] (completion_done+0x0/0x38) from [<bf00eb10>]
(sync_wait_on_multiple_events+0x58/0x14c [bridgedriver])
r5:00000002 r4:c644be4c
[<bf00eab8>] (sync_wait_on_multiple_events+0x0/0x14c [bridgedriver])
from [<bf01158c>] (bridge_msg_get+0x154/0x240 [bridgedriver])
[<bf011438>] (bridge_msg_get+0x0/0x240 [bridgedriver]) from
[<bf02220c>] (node_get_message+0x94/0x128 [bridgedriver])
[<bf022178>] (node_get_message+0x0/0x128 [bridgedriver]) from
[<bf019968>] (nodewrap_get_message+0x28/0x8c [bridgedriver])
r7:c004db48 r6:bf02e7d6 r5:c644bebc r4:c644bf04
[<bf019940>] (nodewrap_get_message+0x0/0x8c [bridgedriver]) from
[<bf018d94>] (wcd_call_dev_io_ctl+0xf8/0x120 [bridgedriver])
r5:00000040 r4:c644bf1c
[<bf018c9c>] (wcd_call_dev_io_ctl+0x0/0x120 [bridgedriver]) from
[<bf02a058>] (bridge_ioctl+0xac/0xcc [bridgedriver])
r6:421e7d64 r5:c004db48 r4:c6419f00 r3:c65bb500
[<bf029fac>] (bridge_ioctl+0x0/0xcc [bridgedriver]) from [<c0113eb4>]
(vfs_ioctl+0x34/0xb4)
r6:421e7d64 r5:bf029fac r4:c6419f00
[<c0113e80>] (vfs_ioctl+0x0/0xb4) from [<c01142b8>] (do_vfs_ioctl+0x1c4/0x1e0)
r7:00000005 r6:c004db48 r5:421e7d64 r4:421e7d64
[<c01140f4>] (do_vfs_ioctl+0x0/0x1e0) from [<c0114314>] (sys_ioctl+0x40/0x64)
r4:c6419f00
[<c01142d4>] (sys_ioctl+0x0/0x64) from [<c003cfc0>] (ret_fast_syscall+0x0/0x38)
r7:00000036 r6:0006ef10 r5:4055d860 r4:0006a000
I'll try to rebase the patches to the latest head.
Cheer.s
--
Felipe Contreras
next prev parent reply other threads:[~2010-05-15 8:26 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-01 20:44 [RFC/PATCH 0/6] DSPBRIDGE: fix mem+cache API issues Ohad Ben-Cohen
2010-05-01 20:44 ` [RFC/PATCH 1/6] DSPBRIDGE: add memory_map_info to PROC Ohad Ben-Cohen
2010-05-01 20:44 ` [RFC/PATCH 2/6] DSPBRIDGE: remember mapping and page info in proc_map Ohad Ben-Cohen
2010-05-15 8:34 ` Felipe Contreras
2010-05-16 23:00 ` Ohad Ben-Cohen
2010-05-01 20:44 ` [RFC/PATCH 3/6] DSPBRIDGE: remove mapping information in proc_unmap Ohad Ben-Cohen
2010-05-15 8:38 ` Felipe Contreras
2010-05-16 23:02 ` Ohad Ben-Cohen
2010-05-01 20:44 ` [RFC/PATCH 4/6] DSPBRIDGE: do not call follow_page Ohad Ben-Cohen
2010-05-01 20:44 ` [RFC/PATCH 5/6] DSPBRIDGE: do not use low level cache manipulation API Ohad Ben-Cohen
2010-05-02 11:56 ` Ohad Ben-Cohen
2010-05-01 20:44 ` [RFC/PATCH 6/6] DSPBRIDGE: add dspbridge API to mark end of DMA Ohad Ben-Cohen
2010-05-02 13:17 ` [RFC/PATCH 0/6] DSPBRIDGE: fix mem+cache API issues Felipe Contreras
2010-05-02 17:47 ` Ohad Ben-Cohen
2010-05-14 19:27 ` Felipe Contreras
2010-05-14 19:49 ` Omar Ramirez Luna
2010-05-15 8:26 ` Felipe Contreras [this message]
2010-05-15 9:08 ` Felipe Contreras
2010-05-16 16:08 ` Felipe Contreras
2010-05-16 17:35 ` Felipe Contreras
2010-05-16 22:57 ` Ohad Ben-Cohen
2010-05-16 23:51 ` Felipe Contreras
2010-05-18 8:05 ` Ohad Ben-Cohen
2010-05-18 11:02 ` Felipe Contreras
2010-05-18 11:14 ` Ohad Ben-Cohen
2010-05-18 11:43 ` Felipe Contreras
2010-05-18 11:57 ` Ohad Ben-Cohen
2010-05-18 12:24 ` Felipe Contreras
2010-05-18 12:53 ` Ohad Ben-Cohen
2010-05-19 16:50 ` Felipe Contreras
2010-05-20 21:22 ` Ohad Ben-Cohen
2010-05-20 21:23 ` Ohad Ben-Cohen
2010-05-21 6:14 ` Felipe Contreras
2010-05-21 8:22 ` Ohad Ben-Cohen
2010-05-21 9:42 ` Felipe Contreras
2010-05-24 16:19 ` Ohad Ben-Cohen
2010-05-24 19:21 ` Felipe Contreras
2010-05-24 19:49 ` Ohad Ben-Cohen
2010-05-16 22:35 ` Ohad Ben-Cohen
2010-05-16 23:15 ` Felipe Contreras
2010-05-16 23:21 ` Ohad Ben-Cohen
2010-05-16 23:25 ` Ohad Ben-Cohen
2010-05-17 0:05 ` Felipe Contreras
2010-05-18 6:20 ` Ohad Ben-Cohen
2010-05-20 21:18 ` Ohad Ben-Cohen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTilNtSBBIMATnZdmiCQrhLXoD8hcOk43kxFbAqrp@mail.gmail.com \
--to=felipe.contreras@gmail.com \
--cc=Hiroshi.DOYU@nokia.com \
--cc=fernando.lugo@ti.com \
--cc=h-kanigeri2@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=ohad@wizery.com \
--cc=omar.ramirez@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).