public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Zoltan Menyhart <Zoltan.Menyhart@bull.net>
To: linux-ia64@vger.kernel.org
Subject: Re: I/O read, write implementation questions
Date: Tue, 25 Apr 2006 15:20:49 +0000	[thread overview]
Message-ID: <444E3E51.9040403@bull.net> (raw)
In-Reply-To: <444E2EA6.8000604@bull.net>

David Mosberger-Tang wrote:

>>Why do not "readb()" ... "writeb()" include "mf.a"-s?
> 
> Again, acceptance is not normally needed by readX/writeX and mf.a is
> extremely expensive (on the order of 1,000 cycles).  If you want
> ordering, you need to use explicit barriers (or rely on the effect of
> "volatile" in ia64-specific code).

Assuming a device driver uses memory mapped I/O, what is the architecture
independent way to make sure that the I/O reads - writes are accepted ?
(I cannot use "__ia64_mf_a()".)

What is the difference between "readb_relaxed()" and "readb()"?
Were not they defined to provide both strict and weak (relaxed)
I/O ordering?


Thanks,

Zoltan

  parent reply	other threads:[~2006-04-25 15:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-25 14:13 I/O read, write implementation questions Zoltan Menyhart
2006-04-25 14:46 ` David Mosberger-Tang
2006-04-25 15:20 ` Zoltan Menyhart [this message]
2006-04-25 23:20 ` Grant Grundler
2006-04-26 15:48 ` Brent Casavant
2006-04-26 15:53 ` Brent Casavant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=444E3E51.9040403@bull.net \
    --to=zoltan.menyhart@bull.net \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox