From: Timur Tabi <ttabi@interactivesi.com>
To: Linux MM mailing list <linux-mm@kvack.org>
Subject: Re: pgd/pmd/pte and x86 kernel virtual addresses
Date: Fri, 25 Aug 2000 11:40:38 -0500 [thread overview]
Message-ID: <20000825165116Z131177-250+7@kanga.kvack.org> (raw)
In-Reply-To: <Pine.LNX.3.96.1000825124300.23502A-100000@kanga.kvack.org>
** Reply to message from "Benjamin C.R. LaHaise" <blah@kvack.org> on Fri, 25
Aug 2000 12:45:18 -0400 (EDT)
> > What I'm trying to do is allocate some memory via get_free_pages, and then mark
> > that memory as uncacheable.
>
> ioremap_nocache should be able to do what you want.
Well, that's what I tried to explain in my previous email which people seem to
be ignoring.
I tried ioremap_nocache, and it doesn't appear to be working. There are a
number of problems:
1) I'm trying to mark regular RAM as uncacheable, and ioremap_nocache()
requires me to munge the PG_Reservered bit for each page before I can do that.
Ugly.
2) ioremap_nocache() allocates virtual RAM. I already have a virtual address,
I don't need another one.
3) The unmap function for ioremap_nocache() is a no-op. So after I remap and
mark the page as uncacheable, there's no way to restore it after I'm done!
4) Even with all this, it appears that the function isn't working. I've
attached a logical analyzer to the memory bus, and writes are not being sent
out, leading me to believe the memory is still being cached.
--
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com
When replying to a mailing-list message, please don't cc: me, because then I'll just get two copies of the same message.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-08-25 16:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-24 23:21 Timur Tabi
2000-08-24 23:43 ` Benjamin C.R. LaHaise
2000-08-25 15:25 ` Timur Tabi
2000-08-25 16:45 ` Benjamin C.R. LaHaise
2000-08-25 16:40 ` Timur Tabi [this message]
2000-08-25 16:59 ` Benjamin C.R. LaHaise
2000-08-25 18:46 ` Timur Tabi
2000-08-26 3:59 ` Benjamin C.R. LaHaise
2000-08-28 23:09 ` Stephen C. Tweedie
2000-08-29 15:31 ` Timur Tabi
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=20000825165116Z131177-250+7@kanga.kvack.org \
--to=ttabi@interactivesi.com \
--cc=linux-mm@kvack.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