lkml.org 
[lkml]   [2000]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
** Reply to message from Alan Cox <alan@lxorguk.ukuu.org.uk> on Sat, 30 Sep
2000 00:24:43 +0100 (BST)


> > Unfortunately, this mapping is a requirement for our product. I'd hate to have
> > to create my own pte's and do it all manually.
>
> If you are doing it at boot time as Id expect then you may need to - the SMP
> code for bootstrapping has to do pte stuff itself for the same reason

No, I'm not doing it at boot time, I'm doing it when my driver loads. Granted,
the driver will usually by loaded once when the system boots, but it can be
loaded at any time. I'm trying to make my driver as independent of the kernel
as possible, and I'm 99% there.

Anyway, my original question has not yet been answered: why is it that I can
ioremap() any physical page by simply setting one bit, but I cannot always
iounmap() it? Why can't iounmap() simply undo what ioremap() did?


--
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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.735 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site