Re: [PATCH][ATM] assorted he driver cleanup
Arnaldo Carvalho de Melo (firstname.lastname@example.org)
Sun, 1 Jun 2003 22:47:24 -0300
Em Sun, Jun 01, 2003 at 06:42:54PM -0700, David S. Miller escreveu:
> From: chas williams <email@example.com>
> Date: Sun, 01 Jun 2003 18:58:26 -0400
> In message <firstname.lastname@example.org>,Alan Cox writes:
> >Then why are you using spin_lock_irqsave ?
> meaning just use spin_lock() or what?
> Alan/Chas, there are two different issues here:
> 1) Aparently the bug only needs to be worked around when
> multiple cpus can access the card at the same time.
> Therefore on uniprocessor the bug isn't relevant.
> 2) Therefore, the lock needs to protect register accesses
> from all contexts. Therefore he needs an IRQ protecting
> Therefore it isn't legal for him to use a non-IRQ protecting
> I personally don't think it's worth all the maintainence cost
> to special case all of this junk for uniprocessor.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/