All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Blundell <pb@nexus.co.uk>
To: Alan Arolovitch <alan@gravity-cs.com>
Cc: linux-kernel@vger.rutgers.edu
Subject: Re: DMA bus-master writes & CPU cache question
Date: Mon, 12 Jul 1999 12:51:37 +0100	[thread overview]
Message-ID: <E113ecT-0006RE-00@fountain.nexus.co.uk> (raw)
In-Reply-To: Your message of "Mon, 12 Jul 1999 02:07:52 +0300." <199907112307.CAA18191@gravity-cs.com>

>Should CPU cache affect reading data from the DMA area, i.e.
>may some buffering effect or data inconherence appear? If so, 
>what are the options?

This depends on your architecture.  Intel platforms are fully DMA coherent; 
the chipset snoops on DMA cycles and flushes the cache as required to maintain 
a consistent view.  On some other machines this is not the case and you must 
deal with the caches by hand (see, for example, 
include/asm-arm/proc-armv/io.h).

p.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~1999-07-12 14:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-11 23:07 DMA bus-master writes & CPU cache question Alan Arolovitch
1999-07-12 11:51 ` Philip Blundell [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=E113ecT-0006RE-00@fountain.nexus.co.uk \
    --to=pb@nexus.co.uk \
    --cc=alan@gravity-cs.com \
    --cc=linux-kernel@vger.rutgers.edu \
    /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.