RE: HELP: Is writeq an atomic operation??

From: Moore, Eric
Date: Fri May 02 2008 - 18:50:25 EST


> >
> > The answer to this question this is platform dependent.
> >
> > On most 64-bit platforms, it is. On some 32-bit ones, it is not.
>
> Are there any 32-bit platforms with writeq()? A quick grep
> suggests not.

I think writeq defined in include/asm-x86/io_64.h

>
> Are there any 64-bit platforms where writeq() allows the MMIO to be
> split into multiple cycles from the target device's view? I've been
> coding assuming that at least no other MMIO writes will reach
> the device
> in the middle of a writeq().
>

I hope that is the case.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/