From: Jim Brooks <jbrooks3d@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Re: how to use TLB to prevent Linux accessing a particular memory region
Date: Fri, 19 Oct 2007 17:27:37 -0700 (PDT) [thread overview]
Message-ID: <754003.20445.qm@web35709.mail.mud.yahoo.com> (raw)
> Out of 32MB of DDR 8MB is reserved for use by DSP
> processor. But the MIPS processor downloads firmware
> into this reserved memory for the DSP.
>
> Now, is it possible to use the TLB to prevent Linux
> from accessing the reserved memory after the
firmware
> has been downloaded?
Well, even if you did remap PTEs (TLBs are N/A),
or claimed that special memory, that may be too late.
The kernel might've already allocated
and stomped over it.
A reliable way is to redefine the kernel's "memory
map"
which takes effect during boot.
Look for the memory map as a .h in arch/ (IIRC).
--
Jim Brooks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next reply other threads:[~2007-10-20 0:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-20 0:27 Jim Brooks [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-10-16 13:36 veerasena reddy
2007-10-16 14:13 ` J. Scott Kasten
2007-10-16 14:53 ` linux-os (Dick 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=754003.20445.qm@web35709.mail.mud.yahoo.com \
--to=jbrooks3d@yahoo.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®