All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Malek <dan@embeddededge.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: Armin <akuster@pacbell.net>, Tom Rini <trini@kernel.crashing.org>,
	Armin Kuster <akuster@mvista.com>,
	linuxppc-embedded@lists.linuxppc.org,
	Paul Mackerras <paulus@samba.org>
Subject: Re: Another OCP enet patch
Date: Wed, 29 May 2002 10:51:21 -0400	[thread overview]
Message-ID: <3CF4EAE9.1080505@embeddededge.com> (raw)
In-Reply-To: 20020529034854.GC16537@zax


David Gibson wrote:

> Well, actually, dma_cache_wback() and friends still appear to be more
> widely used than consistent_sync().  AFAICT only PPC and ARM use
> consistent_sync().

Just for a historical note.....these functions were implemented about
the same time to support non-PCI USB controllers.  They have found other
uses since then.  Other architectures seem to assume PCI is always present,
and will call the dma_cache_* functions within the pci functions to get
the same effect.  For non-PCI devices, they still call the pci functions
with a null pointer for the pci_dev.  On PPC and ARM we had systems that
wouldn't compile properly with PCI enabled, since there wasn't any PCI
bridge support (even fake ones :-).  We just added the consistent_sync()
to be orthogonal with the other archtecture independent consistent_* functions.
The other architectures are moving this way as they are finding it more
difficult to continue to fake a PCI on systems that really don't have it.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-05-29 14:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-27  4:03 Another OCP enet patch David Gibson
2002-05-27  6:14 ` Armin Kuster
2002-05-27 16:23 ` Tom Rini
2002-05-28  0:57   ` David Gibson
2002-05-28  1:25     ` Tom Rini
2002-05-28  6:36       ` David Gibson
2002-05-28 15:08         ` Tom Rini
2002-05-28  7:02       ` Armin
2002-05-28  6:50         ` David Gibson
2002-05-28 10:51           ` Dan Malek
2002-05-29  3:48             ` David Gibson
2002-05-29 14:51               ` Dan Malek [this message]
2002-05-28 10:39     ` Dan Malek
2002-05-29  4:16       ` David Gibson
2002-05-29 15:02         ` Dan Malek
2002-05-29 16:01           ` Armin Kuster
2002-05-30  3:10             ` David Gibson
2002-05-30  3:09           ` David Gibson
2002-05-30  4:16             ` Dan Malek
2002-05-30  4:30               ` David Gibson

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=3CF4EAE9.1080505@embeddededge.com \
    --to=dan@embeddededge.com \
    --cc=akuster@mvista.com \
    --cc=akuster@pacbell.net \
    --cc=david@gibson.dropbear.id.au \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=paulus@samba.org \
    --cc=trini@kernel.crashing.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.