Skip to contentSkip to conversation

Threaded IRQ handlers for b43

RFT Michael Buesch 1 participant 2 messages Aug 16, 2009 – Aug 17, 2009

lore
Share & tools
lore
#0 lore raw

This request-for-test patch converts the b43 driver to use threaded interrupt handlers. This is needed to support b43 on SDIO. But it also simplifies the locking by removal of the wl->irq_lock spinlock.

http://bu3sch.de/patches/wireless-testing/20090816-1535/patches/002-b43-threaded-irq-handler.patch

A known regression is a new race between the interrupt handler and the beacon update handler. But as long as you don't run AP mode, it won't hurt. I'm working on a solution...

Please test this patch whether it creates other regressions (performance and crashes).

The patch also needs the following hack to the threaded IRQ code:
http://bu3sch.de/patches/wireless-testing/20090816-1535/patches/001-hack-threaded-irqs.patch

Signature · 1 line
Greetings, Michael.
#1 lore raw
Quoted 6 lines · On Sunday 16 August 2009 15:39:57 Michael Buesch wrote:

This request-for-test patch converts the b43 driver to use threaded interrupt handlers. This is needed to support b43 on SDIO. But it also simplifies the locking by removal of the wl->irq_lock spinlock.

http://bu3sch.de/patches/wireless-testing/20090816-1535/patches/002-b43-threaded-irq-handler.patch

Quoted 9 lines

A known regression is a new race between the interrupt handler and the beacon update handler. But as long as you don't run AP mode, it won't hurt. I'm working on a solution...

Please test this patch whether it creates other regressions (performance and crashes).

The patch also needs the following hack to the threaded IRQ code:
http://bu3sch.de/patches/wireless-testing/20090816-1535/patches/001-hack-threaded-irqs.patch

This is the correct fix for the threaded IRQ code. Apply this instead of the hack:
http://bu3sch.de/patches/wireless-testing/20090817-1347/patches/001-fix-irq-thread-wakeup.patch

Signature · 1 line
Greetings, Michael.