From: llee <llee@huawei.com>
To: linuxppc-dev list <linuxppc-dev@lists.linuxppc.org>
Subject: question about 8241 again
Date: Sat, 24 Apr 2004 11:38:01 +0800 [thread overview]
Message-ID: <4089E119.40003@huawei.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GB18030; format=flowed, Size: 835 bytes --]
Hi, all,
I get confusion on linux PPC MMU management(kernel 2.6.3): It seems
linux setup an empty hashtable (in MMU_init_hw) first and do a
hash_page() when exception. But at least it should make a real mapping
for the kernel itself, shouldn't it? But I haven't found it do this
anywhere.
And also, when i add the following code in sandpoint_map_io(and I also
enable feature CPU_FTR_HPTE_TABLE for 8241):
io_block_mapping(0x70000000, 0x70000000, 0x20000000, _PAGE_IO);
io_block_mapping(0x80500000, 0x80500000, 0x00100000, _PAGE_IO);
the first call get a bat mapping and another get a page mapping, but
only the first one works find, the second one could not been access.
Could anybody tell me why?
Thanks advanced and sorry for my poor english.
Ken
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2004-04-24 3:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-24 3:38 llee [this message]
2004-04-24 5:16 ` question about 8241 again Benjamin Herrenschmidt
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=4089E119.40003@huawei.com \
--to=llee@huawei.com \
--cc=linuxppc-dev@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.