Search Linux Wireless

Re: [PATCH/RFC 7/7] wl12xx: add sdio support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 22 Jun 2009 08:09:31 +0200
Pierre Ossman <pierre@xxxxxxxxx> wrote:

> On Sun, 21 Jun 2009 20:05:12 -0400
> Bob Copeland <me@xxxxxxxxxxxxxxx> wrote:
> 
> > On Sun, Jun 21, 2009 at 08:38:00PM +0200, Pierre Ossman wrote:
> > > I noticed one more thing though. You call wl12xx_irq() on interrupts,
> > > and that's all you do. So I have to assume that calls back to
> > > wl12xx_sdio_read().
> > 
> > It schedules a workqueue, so it shouldn't be a problem.
> > 
> 
> Ah, I see. In that case you can add:
> 
> Acked-by: Pierre Ossman <pierre@xxxxxxxxx>
> 

And just as I hit send I realised another problem...

SDIO interrupts are level interrupts, not edge. That means that the
interrupt source needs to be handled before the interrupt routine
returns or the system will get stuck in a fairly tight loop, rehandling
the same interrupt over and over again.

Has the testing been performed on a host that has proper SDIO interrupt
support, or one that polls? If it's the latter, then you probably have
latent issues that just haven't been noticed yet.

Rgds
-- 
     -- Pierre Ossman

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux