Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-23 Thread Tim Small
I've been using Antti's fix for a while, it seems to be working fine. Any chance of getting it pushed into the main repository? Cheers, Tim. Removing of unnecessary spinlock Based on the discussion on linux-dvb it seems that ISR:s are already serialized by the linux kernel and thus

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-08 Thread Antti Seppälä
mp3geek wrote: safe to use this directly on the 2.6.20.x source? The fix is valid but the patch I posted won't apply to 2.6.20. Use this one instead. -- Antti Seppälä --- linux-2.6.20/drivers/media/dvb/b2c2/flexcop-pci.c~ 2007-02-04 20:44:54.0 +0200 +++

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-08 Thread Tim Small
Antti Seppälä wrote: Removing of unnecessary spinlock Based on the discussion on linux-dvb it seems that ISR:s are already serialized by the linux kernel and thus drivers won't have to specify their own facilities for ISR serialization. There is a good summary of concurrency and ISRs on page

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-08 Thread Tim Small
Tim Small wrote: There is a good summary of concurrency and ISRs on page 268 Linux Device Drivers 3rd Edition: http://lwn.net/images/pdf/LDD3/ch10.pdf Sorry, I should also have referenced this: http://lwn.net/Kernel/LDD3/ Cheers, Tim. ___

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-07 Thread Antti Seppälä
Patrick Boettcher wrote: On Fri, 6 Apr 2007, Antti Seppälä wrote: Patrick Boettcher wrote: Someone outthere with a SMP-system and a flexcop who could see if e.g. dvbscan or dvbtraffic is killing the system/flexcop when removing the irq_lock? Patrick. I've now been torturing my SMP box for

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-07 Thread mp3geek
safe to use this directly on the 2.6.20.x source? I've created a patch for removing the spinlock from latest v4l-dvb -tree: Removing of unnecessary spinlock Based on the discussion on linux-dvb it seems that ISR:s are already serialized by the linux kernel and thus drivers won't have to

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-06 Thread Patrick Boettcher
On Thu, 5 Apr 2007, Trent Piepho wrote: On Thu, 5 Apr 2007, Patrick Boettcher wrote: On Thu, 5 Apr 2007, Borgi2008 wrote: Am Mittwoch, den 04.04.2007, 23:29 +0300 schrieb Antti Sepp?l?: Actually, looking at the code I cannot figure out why there has to be a spinlock in the first

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-06 Thread Antti Seppälä
Patrick Boettcher wrote: Someone outthere with a SMP-system and a flexcop who could see if e.g. dvbscan or dvbtraffic is killing the system/flexcop when removing the irq_lock? Patrick. I've now been torturing my SMP box for over three hours with various dvb -related activities

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-06 Thread Patrick Boettcher
On Fri, 6 Apr 2007, Antti Seppälä wrote: Patrick Boettcher wrote: Someone outthere with a SMP-system and a flexcop who could see if e.g. dvbscan or dvbtraffic is killing the system/flexcop when removing the irq_lock? Patrick. I've now been torturing my SMP box for over three

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-06 Thread Trent Piepho
On Fri, 6 Apr 2007, Patrick Boettcher wrote: On Thu, 5 Apr 2007, Trent Piepho wrote: On Thu, 5 Apr 2007, Patrick Boettcher wrote: On Thu, 5 Apr 2007, Borgi2008 wrote: Am Mittwoch, den 04.04.2007, 23:29 +0300 schrieb Antti Sepp?l?: Actually, looking at the code I cannot figure

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-05 Thread Borgi2008
Am Mittwoch, den 04.04.2007, 23:29 +0300 schrieb Antti Seppälä: Borgi2008 wrote: Hello, i've created a bugfixes. Hope it could helps you. Hendrik Borghorst Actually, looking at the code I cannot figure out why there has to be a spinlock in the first place. The lock is

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-05 Thread Patrick Boettcher
On Thu, 5 Apr 2007, Borgi2008 wrote: Am Mittwoch, den 04.04.2007, 23:29 +0300 schrieb Antti Seppälä: Borgi2008 wrote: Hello, i've created a bugfixes. Hope it could helps you. Hendrik Borghorst Actually, looking at the code I cannot figure out why there has to be a

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-05 Thread Michael Krufky
Patrick Boettcher wrote: On Thu, 5 Apr 2007, Borgi2008 wrote: Am Mittwoch, den 04.04.2007, 23:29 +0300 schrieb Antti Seppälä: Borgi2008 wrote: Hello, i've created a bugfixes. Hope it could helps you. Hendrik Borghorst Actually, looking at the code I cannot figure out why there has to

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-05 Thread Michael Krufky
Michael Krufky wrote: Patrick Boettcher wrote: On Thu, 5 Apr 2007, Borgi2008 wrote: Am Mittwoch, den 04.04.2007, 23:29 +0300 schrieb Antti Seppälä: Borgi2008 wrote: Hello, i've created a bugfixes. Hope it could helps you. Hendrik Borghorst Actually, looking at the code I cannot figure

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-05 Thread Mauro Carvalho Chehab
Em Qua, 2007-04-04 às 15:28 +0200, P. van Gaans escreveu: I've got a Technisat Airstar USB that doesn't lock, so I'd like to try the patch whatever it's for. How do I apply it? I've just commited Hendrik's patch at v4l-dvb tree. So, you can just do: hg clone

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-05 Thread Antti Seppälä
Patrick Boettcher wrote: On Thu, 5 Apr 2007, Borgi2008 wrote: Am Mittwoch, den 04.04.2007, 23:29 +0300 schrieb Antti Seppälä: Borgi2008 wrote: Hello, i've created a bugfixes. Hope it could helps you. Hendrik Borghorst Actually, looking at the code I cannot figure out why there has to be

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-05 Thread Trent Piepho
On Thu, 5 Apr 2007, Patrick Boettcher wrote: On Thu, 5 Apr 2007, Borgi2008 wrote: Am Mittwoch, den 04.04.2007, 23:29 +0300 schrieb Antti Sepp?l?: Actually, looking at the code I cannot figure out why there has to be a spinlock in the first place. The lock is only taken in the

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-04 Thread Borgi2008
Hello, i've created a bugfixes. Hope it could helps you. Hendrik Borghorst flexcop-lockdep.patch Description: application/mbox ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-04 Thread P. van Gaans
I've got a Technisat Airstar USB that doesn't lock, so I'd like to try the patch whatever it's for. How do I apply it? Borgi2008 wrote: Hello, i've created a bugfixes. Hope it could helps you. Hendrik Borghorst

Re: [linux-dvb] [BUG] flexcop lockdep

2007-04-04 Thread Antti Seppälä
Borgi2008 wrote: Hello, i've created a bugfixes. Hope it could helps you. Hendrik Borghorst Actually, looking at the code I cannot figure out why there has to be a spinlock in the first place. The lock is only taken in the interrupt handler which already runs in atomic context so there is

Re: [linux-dvb] [BUG] flexcop lockdep

2007-03-22 Thread Tim Small
Using hg from last night, with 2.6.21-rc4, I get: Mar 22 08:34:46 192.168.222.2 b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully Mar 22 08:34:52 192.168.222.2 flexcop-pci: will use the HW PID filter. Mar 22 08:34:52 192.168.222.2 flexcop-pci: card revision 2

Re: [linux-dvb] [BUG] flexcop lockdep

2007-03-22 Thread Tim Small
BTW, the non-static key message is from linux-2.6.21-rc4/kernel/lockdep.c. Tim. ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[linux-dvb] [BUG] flexcop lockdep

2007-03-07 Thread Nico Sabbi
Hi, using a very recent hg pull I can see in the logs the following message (tuning and receiving work fine) BUG: at kernel/lockdep.c:1860 trace_hardirqs_on() [c010318c] show_trace_log_lvl+0x19/0x2e [c0103285] show_trace+0x12/0x14 [c010329b] dump_stack+0x14/0x16 [c012c573]