From: Christian Hildner <christian.hildner@hob.de>
To: linux-ia64@vger.kernel.org
Subject: Re: INIT dumps broken?
Date: Thu, 16 Sep 2004 06:49:29 +0000 [thread overview]
Message-ID: <41493779.8060202@hob.de> (raw)
In-Reply-To: <200409141450.i8EEotfk029379@napali.hpl.hp.com>
Russ Anderson schrieb:
>Correctly understanding the proper way to translate addresses for
>the various regions would be the first step.
>
>The top 3 bits of the virtual address is the virtual region number.
>
>If it is a region 7 (0xe) address, then masking off the top 3 bits
>yields the correct physical address.
>
>If it is a region 5 (0xa) address, then a "tpa" instruction (using
>the TLB) should yield the correct physical address (assuming there is
>a valid TLB entry for that virtual address).
>
>Would that be the correct way to translate the addresses?
>
If you can rely on a working ivt and uncorrupted page tables, yes.
>Are there exceptions, such as region 7 addresses where masking off
>the top 3 bits would not yield the correct physical address?
>
No. Region 7 is per definition one to one mapped. Because of that the
kernel went from region 7 (2.4.x) to region 5 (2.6.x) to allow having a
relocatable kernel at a fixed virtual address.
>How should region 5 addresses without a valid TLB mapping be handled?
>
If you don't accept tlb misses thrown by tpa then you have to first make
sure that the address is in the page table mapped segment and second
walk the page tables in physical mode (see ivt.S nested TLB handler).
>Are there any other regions that need handling, and if so, how?
>
There shouldn't be other regions needed. Nevertheless you could also
walk the page tables for them.
Christian
next prev parent reply other threads:[~2004-09-16 6:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-14 14:50 INIT dumps broken? David Mosberger
2004-09-14 18:42 ` Luck, Tony
2004-09-15 7:16 ` Keith Owens
2004-09-15 7:56 ` David Mosberger
2004-09-15 14:14 ` Keith Owens
2004-09-15 15:35 ` Luck, Tony
2004-09-15 16:00 ` Kazuto Miyoshi
2004-09-15 17:35 ` Luck, Tony
2004-09-15 21:38 ` Russ Anderson
2004-09-15 22:23 ` Luck, Tony
2004-09-16 6:49 ` Christian Hildner [this message]
2004-09-16 13:51 ` Kazuto Miyoshi
2004-09-27 13:34 ` Takao Indoh
2004-09-27 23:03 ` Keith Owens
2004-09-28 0:03 ` Takao Indoh
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=41493779.8060202@hob.de \
--to=christian.hildner@hob.de \
--cc=linux-ia64@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