[parisc-linux] Dino PCI and I/O spaces
Alan Cox
alan@lxorguk.ukuu.org.uk
Mon, 14 Jun 1999 17:10:28 +0100 (BST)
> > On a uniprocessor we might take an interrupt between the two cycles. So we
> > have to suffer anyway
>
> Then we ought to disable interrupts, surely? Otherwise we can have:
>
> Grab lock
> interrupt taken
> driver attempts to perform IO, tries to take lock, machine hangs solid.
>
> Or what sort of locking scheme did you have in mind?
Im already using spinlock_irqsave, for the obvious reason you enumerate above