Re: HELP: Is writeq an atomic operation??

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <Eric.Moore@...>, <linux-scsi@...>, <linux-kernel@...>
Date: Friday, May 2, 2008 - 6:43 pm

> > Is a 64bit write to MMIO registers an atomic operation when using the
 > > writeq API?  
 > 
 > 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.

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().

 - R.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: HELP: Is writeq an atomic operation??, David Miller, (Fri May 2, 6:32 pm)
Re: HELP: Is writeq an atomic operation??, Roland Dreier, (Fri May 2, 6:43 pm)
RE: HELP: Is writeq an atomic operation??, Moore, Eric, (Fri May 2, 6:49 pm)
Re: HELP: Is writeq an atomic operation??, Roland Dreier, (Fri May 2, 6:53 pm)
RE: HELP: Is writeq an atomic operation??, Moore, Eric, (Fri May 2, 7:13 pm)
Re: HELP: Is writeq an atomic operation??, Roland Dreier, (Fri May 2, 7:21 pm)
RE: HELP: Is writeq an atomic operation??, Moore, Eric, (Fri May 2, 7:31 pm)
Re: HELP: Is writeq an atomic operation??, David Miller, (Fri May 2, 6:49 pm)