Re: [PATCH] uio/gen-pci: don't enable interrupts in ISR

Sebastian Andrzej Siewior
2011-08-10T08:33:32Z

Michael S. Tsirkin wrote:
> Let's assume we start with e.g. io enable bit cleared.
>
>
> user kernel
> read config |
> set io enable |
> | interrupt
> | read + set interrupt mask
> write config back |
> write
>
>
>
> We end up with io enable bit cleared. Locking around rmw
> that we have fixes this race.

Okay, forgot about the SMP case, sorry.

Sebastian