From: Grant Grundler <grundler@cup.hp.com>
To: hppa-linux@thepuffingroup.com
Subject: Re: [hppa-linux] Qn on PA-RISC Page tables and TLB
Date: Thu, 25 Mar 1999 09:18:51 -0800 [thread overview]
Message-ID: <199903251718.JAA18711@milano.cup.hp.com> (raw)
In-Reply-To: Your message of "Wed, 24 Mar 1999 23:10:36 PST." <Pine.LNX.3.96.990324225944.502B-100000@quark.ix.netcom.com>
Kumar wrote:
...
> Other interesting point to note is that PA-RISC does not
> define how many entries in the table etc. Very much unlike
> x86.
The CPU pdir can vary in size. For a HW walker, it must be allocated
in physically configuous memory, this pretty much fixes the size
once it's setup.
The size of the CPU PDIR is determined mostly by memory size, amount
of I/O space required (Legacy PA requires memory mapped I/O), and
some fudge factor. Sizing it to allow a HW walker find all physical
mappings is good for performance. I assume this also helps SW TLB
handlers by reducing hash collisions. However, I'm not the expert
on CPU pdir.
K, C-class, and T600 also have an I/O pdir. This is only useful for
systems with more than 4GB (3.75GB?) of physical memory since PA
(and current PCI devices) can only use 32-bits of addressing.
The I/O pdir size depends on how much I/O one wants to allow mapped
at any given time and it too must be physically contigous.
16/th to 8th of physical memory seems to be a pretty good rule of thumb.
For now, I would say ignore the I/O pdir until hppa-linux has a
login prompt. If the OS doesn't use the I/O pdir, it just implies
the DMA is not coherent with Processor activity - just like on
an x86 box. I haven't studied Linux I/O subsytem enough to know
where/how to integrate support for an I/O pdir. I hope the HP-UX
docs released help explain this - search for keyword "CDIO".
grant
next prev parent reply other threads:[~1999-03-25 17:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-25 7:10 [hppa-linux] Qn on PA-RISC Page tables and TLB Kumar
1999-03-25 17:18 ` Grant Grundler [this message]
1999-03-25 20:31 ` Craig Hada
1999-03-28 20:37 ` Kumar
1999-03-28 22:52 ` Michael Shalayeff
1999-03-29 16:01 ` Craig Hada
-- strict thread matches above, loose matches on Subject: below --
1999-03-25 15:59 Bjorn Helgaas
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=199903251718.JAA18711@milano.cup.hp.com \
--to=grundler@cup.hp.com \
--cc=hppa-linux@thepuffingroup.com \
/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.