lkml.org 
[lkml]   [2008]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: HELP: Is writeq an atomic operation??
Date
 > > 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.


\
 
 \ /
  Last update: 2008-05-03 00:47    [W:2.263 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site