mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "arun4linux" <arun4linux@indiatimes.com>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Subject: cache flushing and invalidation in driver
Date: Fri, 18 Oct 2002 00:03:26 +0530	[thread overview]
Message-ID: <200210171839.AAA21371@WS0005.indiatimes.com> (raw)

Hello,

I'm writing a driver for a PCI based application specific controller. Infact porting from OS/2.

I have couple of questions on caching problem ( i faced this when I worked on vxworks, PPC machine).


Our card has its own RAM and we are mapping and using that in the driver. Ours is a pentium target machine.

I'd like to know how to do cache flushing and cache invalidation in linux? 

Do we need to do it explicitly on a pentium/linux machine?

The other question is existing OS/2 implementation exports the hardware personalities (PCI I/O and memory base addresses) to the application and application takes control after that.

We need to use mmap to acheive the same as per requirement. 

Will there be any cache or any other issues on this regard?


Your answers would be helpful for us as we are in the design phase.

Warm Regards

Arun




Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in

Change the way you talk. Indiatimes presents Valufon, Your PC to Phone service with clear voice at rates far less than the normal ISD rates. Go to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW.


             reply	other threads:[~2002-10-17 18:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-17 18:33 arun4linux [this message]
2002-10-17 19:38 ` Richard B. Johnson

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=200210171839.AAA21371@WS0005.indiatimes.com \
    --to=arun4linux@indiatimes.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®