All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@parisc-linux.org>
To: Matthew Wilcox <matthew@wil.cx>
Cc: parisc-linux@parisc-linux.org
Subject: Re: [parisc-linux] readb/__raw_readb/gsc_readb and ioremap
Date: Sat, 30 Oct 2004 22:37:16 -0600	[thread overview]
Message-ID: <20041031043716.GD5050@colo.lackof.org> (raw)
In-Reply-To: <20041031033950.GN8958@parcelfarce.linux.theplanet.co.uk>

On Sun, Oct 31, 2004 at 03:39:50AM +0000, Matthew Wilcox wrote:
> __raw_read/writeX:
>  - Don't byteswap
>  - Should be used on ioremap'ed address
> read/writeX:
>  - Byteswap
>  - Should be used on ioremap'ed address

Willy confirmed there is another subtle difference between the
two sets of functions:
	__raw_read/writeX relax PCI ordering requirements.
	read/writeX enforce PCI Ordering requirements.

Willy correctly ignored this topic since parisc machines are strongly
ordered for IO as well (so far at least).
But I didn't want folks to think byte swapping was the only difference.

Be VERY careful of using __raw_XXX forms outside of parisc specific code.

grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

      reply	other threads:[~2004-10-31  4:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-31  3:39 [parisc-linux] readb/__raw_readb/gsc_readb and ioremap Matthew Wilcox
2004-10-31  4:37 ` Grant Grundler [this message]

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=20041031043716.GD5050@colo.lackof.org \
    --to=grundler@parisc-linux.org \
    --cc=matthew@wil.cx \
    --cc=parisc-linux@parisc-linux.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 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.