linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: linuxppc-dev@ozlabs.org
Subject: APUS and IOs question
Date: Mon, 06 Nov 2006 09:55:33 +1100	[thread overview]
Message-ID: <1162767333.28571.254.camel@localhost.localdomain> (raw)

Somebody who understands APUS around ?

In include/asm-ppc/io.h, we have a special definition of the PCI IO
accessors readw,writew,readl and writel for APUS that don't do byteswap
and also don't do barriers.

This seems very bogus to me. Can somebody explain me why it's done that
way so I can then explain why it's broken ? :-)

I will remove those definitions soon, so unless I get a very convincing
argument of why it has to be done that way on APUS, things might break
(APUS-specific drivers relying on those not swapping will have to be
fixed).

Ben.

             reply	other threads:[~2006-11-05 22:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-05 22:55 Benjamin Herrenschmidt [this message]
2006-11-06 15:18 ` APUS and IOs question Simon Richter
2006-11-06 16:45   ` Segher Boessenkool
2006-11-06 20:14   ` Benjamin Herrenschmidt
     [not found]   ` <454F5E44.4040301@genesi-usa.com>
     [not found]     ` <1162844529.28571.327.camel@localhost.localdomain>
     [not found]       ` <455081AC.3010301@hogyros.de>
     [not found]         ` <1162931605.28571.491.camel@localhost.localdomain>
2006-11-09 14:34           ` Simon Richter
2006-11-09 22:48             ` Benjamin Herrenschmidt
2006-11-10  1:39               ` Geert Uytterhoeven
2006-11-10  2:02                 ` Roman Zippel

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=1162767333.28571.254.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).