All of lore.kernel.org
 help / color / mirror / Atom feed
* some question about wmb in mips
@ 2010-06-27 16:16 loody
  2010-06-27 17:47 ` Maciej W. Rozycki
  2010-06-27 20:39 ` Ralf Baechle
  0 siblings, 2 replies; 7+ messages in thread
From: loody @ 2010-06-27 16:16 UTC (permalink / raw)
  To: Linux MIPS Mailing List

Dear all:
AFAIK, wmb in mips is implemented by calling sync,
wmb->fast_wmb->__sync, which makes sure Loads and stores executed
before the SYNC are completed before loads
and stores after the SYNC can start
But will this instruction write the cache back too?
take usb example, it will call this maco before it let host processing
the commands on dram, so I wondering whether sync will write the cache
back to memory.
appreciate your help,
miloody

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-31 15:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-27 16:16 some question about wmb in mips loody
2010-06-27 17:47 ` Maciej W. Rozycki
2010-06-27 20:52   ` Ralf Baechle
     [not found]     ` <AANLkTim53N4t7PXiRPNqtP0G9cEjMdQY77m73MVkApH5@mail.gmail.com>
2010-08-30 13:58       ` loody
2010-08-31 14:33         ` Ralf Baechle
2010-08-31 15:59           ` David Daney
2010-06-27 20:39 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.