All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
To: ultralinux@vger.kernel.org
Subject: Re: openboot question
Date: Mon, 06 Jul 1998 20:56:34 +0000	[thread overview]
Message-ID: <marc-linux-ultrasparc-90222358531000@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-90222358530997@msgid-missing>

> >Is the `map?' command using dTLB entries ? How can I see which
> >Physical Addr does the vaddr 404000 map to in the iTLB ?
> 
> I haven't used 'map?' myself, but I believe map? reads the translation
> table in main memory, not TLBs.  If you really need the contents of
> TLBs, you can use ASI's (spacex@ etc).
> But anyway, I think VA:404000 should map to PA:404000.

map? reads translations PROM knows about, and as we don't know exactly how
to tell PROM about our translations, map? simply does not work after head.S
code relocates the kernel and even more after we install our own trap table
with VPTE tricks etc.
VA 404000 should probably map to 4000 PA (if you fill your memory banks
from 0) or at the lowest physical address + 4000 in your system.
The nucleus virtual space looks like this:

0-4M: unmapped
4M-8M: kernel code+data
then modules, below 4G PROM mappings
then DVMA
fffff80000000000-fffffffc00000000 VA=PA+fffff80000000000
fffffffc00000000-ffffffffffffffff nucleus VPTE

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.107 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________

      parent reply	other threads:[~1998-07-06 20:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-05  6:20 openboot question Kapil Chowksey
1998-07-06 18:38 ` Eiki Ito
1998-07-06 20:56 ` Jakub Jelinek [this message]

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-ultrasparc-90222358531000@msgid-missing \
    --to=jj@sunsite.ms.mff.cuni.cz \
    --cc=ultralinux@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 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.