All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Imran Badr" <imran.badr@cavium.com>
To: "'Rik van Riel'" <riel@conectiva.com.br>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Cache coherency and snooping
Date: Tue, 13 Aug 2002 18:56:38 -0700	[thread overview]
Message-ID: <0aa601c24335$d4c6a0f0$9e10a8c0@IMRANPC> (raw)
In-Reply-To: <Pine.LNX.4.44L.0208132237390.23404-100000@imladris.surriel.com>

I am looking at the linux kernel code. The driver in /drivers/char/agp uses
this same seqeuence to allocate non-cacheable memory page ( look at the
function static int agp_generic_create_gatt_table(void)).

I will give it a try on my mips based platform and let you guys know the
outcome.

Thanks to everyone for all the responses and guidance.
Imran.



-----Original Message-----
From: Rik van Riel [mailto:riel@conectiva.com.br]
Sent: Tuesday, August 13, 2002 6:38 PM
To: Imran Badr
Cc: 'Ralf Baechle'; 'Alan Cox'; linux-kernel@vger.kernel.org
Subject: RE: Cache coherency and snooping


On Tue, 13 Aug 2002, Imran Badr wrote:

> Please advise if following sequence of operations are going to help:
>
> alloc memory
> reserve the page
> flush every cache
> call ioremap_nocache

Won't work around hardware limitations.  If the hardware
cannot turn off caching, all you could do is flush the
page to ram before every explicit IO request...

regards,

Rik
--
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/		http://distro.conectiva.com/



  reply	other threads:[~2002-08-14  1:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-13 22:57 patch 04/38: SUNRPC: support for GSSD client Kendrick M. Smith
2002-08-13 22:57 ` Kendrick M. Smith
2002-08-13 23:22 ` Cache coherency and snooping Imran Badr
2002-08-13 23:38   ` Alan Cox
2002-08-14  0:08   ` Ralf Baechle
2002-08-14  0:19     ` Imran Badr
2002-08-14  0:29       ` Ralf Baechle
2002-08-14  1:00         ` Imran Badr
2002-08-14  1:38           ` Rik van Riel
2002-08-14  1:56             ` Imran Badr [this message]
2002-08-14  8:16           ` Ralf Baechle
2002-08-14  9:00             ` David S. Miller

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='0aa601c24335$d4c6a0f0$9e10a8c0@IMRANPC' \
    --to=imran.badr@cavium.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@conectiva.com.br \
    /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.