From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: 2.6 mca_asm.S VA to PA mappings
Date: Tue, 30 Sep 2003 15:49:30 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106493756432380@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106490506400881@msgid-missing>
On Tue, 30 Sep 2003 08:42:10 -0700,
"Luck, Tony" <tony.luck@intel.com> wrote:
>> ia64_mca_bspstore (V=0xe000000004d5a6d0)
>> DATA_VA_TO_PA (P=0x0000013014d5a6d0)
>> DATA_PA_TO_VA (V=0xe000013014d5a6d0)
>>
>> With the 2.4 alt.dtlb handler that still works, although it is
>> confusing to C code which needs to access the RSE data in
>> ia64_mca_bspstore. I doubt that DATA_PA_TO_VA will work if the kernel
>> is in region 5.
>
>Same thing, we need LOAD_PHYSICAL there too.
Slight confusion. DATA_VA_TO_PA needs to be replaced by LOAD_PHYSICAL,
but what replaces DATA_PA_TO_VA in a non-identity mapped kernel?
bspstore needs a valid virtual address before calling the C code. If
the asm code was told the original virtual address (ia64_mca_bspstore)
then DATA_PA_TO_VA could convert ar.bspstore from P to V. Without that
hint, I see no way of mapping P to V for an arbitrary address held in a
register.
next prev parent reply other threads:[~2003-09-30 15:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-30 6:57 2.6 mca_asm.S VA to PA mappings Keith Owens
2003-09-30 15:42 ` Luck, Tony
2003-09-30 15:49 ` Keith Owens [this message]
2003-09-30 16:06 ` Luck, Tony
2003-09-30 16:20 ` Keith Owens
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=marc-linux-ia64-106493756432380@msgid-missing \
--to=kaos@sgi.com \
--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