linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "tiejun.chen" <tiejun.chen@windriver.com>
To: hellohello <hellohello008@163.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: How to make a memory region to be cache disabled ? Cpu is mpc82XX or mpc83XX.
Date: Wed, 14 Mar 2012 13:09:54 +0800	[thread overview]
Message-ID: <4F602822.1090503@windriver.com> (raw)
In-Reply-To: <EF9AEBBC0B9942B48CE5D29FF5CE814B@sfdomain.com>

hellohello wrote:
> How to make a memory region  to be cache disabled in linux?
> I'm porting mpc83XX from vxworks to linux. Now meet a question: Cpu use a memory region (GPCM mode of bus)  to access peripherals, we need this memory to be cache disabled.
> Linux Kernel is 2.6.25.
> Thanks very much for any hint! 

ioremap() is fine enough since it always set I|G as TLB entry attribute.

Tiejun

      parent reply	other threads:[~2012-03-14  5:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14  2:37 How to make a memory region to be cache disabled ? Cpu is mpc82XX or mpc83XX hellohello
2012-03-14  4:34 ` Vineeth
2012-03-14  5:09 ` tiejun.chen [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=4F602822.1090503@windriver.com \
    --to=tiejun.chen@windriver.com \
    --cc=hellohello008@163.com \
    --cc=linuxppc-dev@lists.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).