* Re: [Linux-ia64] what about SGI IA64 io address map
@ 2002-06-24 21:29 Jesse Barnes
0 siblings, 0 replies; 2+ messages in thread
From: Jesse Barnes @ 2002-06-24 21:29 UTC (permalink / raw)
To: linux-ia64
On Mon, Jun 24, 2002 at 09:13:43PM +0800, Barry Wu wrote:
> Hi, all, I am new to Intel Itanium. I do not know
> if io address is special linux. For example, in mips
> io virtual address can be converted directly to
> physics address by K1seg. I read Itanium system
> architecture and find that all virtual address have
> to pass TLB transation. Am I right?
Right. Though region 7 for linux/ia64 is kind of like k1seg in mips,
and like mips, there's a dedicated translation register setup for it.
> I read include/asm-ia64/sn/sn2/addrs.h and find
> that SGI IA64 address is composed of
> node-id + node offset
Yes.
> If all virtual address have to convert by TLB, then
> I think SGI Itanium virtual address have to use
> TR register. But Itanium only has 48 DTR and if
> we use node-id as part of physics address, then
> each node we have to use a DTR, then SGI IA64 system
> have no too DTR to convert this address. The efficiency
> must be slow for IO address. I do not know if it is
> correct. If someone knows, please give me a reply.
Only one TR is used for mapping I/O space--the one for region 6, which
is uncached direct mapped memory. Additionaly, I/O space accesses
should only be done through the readX/writeX functions, which can do
things like make sure I/O is coherent and ordered properly.
Was there any particular code snippet that you were confused about?
It might be easier to explain things in that context.
Jesse
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Linux-ia64] what about SGI IA64 io address map
@ 2002-06-24 13:13 Barry Wu
0 siblings, 0 replies; 2+ messages in thread
From: Barry Wu @ 2002-06-24 13:13 UTC (permalink / raw)
To: linux-ia64
Hi, all, I am new to Intel Itanium. I do not know
if io address is special linux. For example, in mips
io virtual address can be converted directly to
physics address by K1seg. I read Itanium system
architecture and find that all virtual address have
to pass TLB transation. Am I right?
I read include/asm-ia64/sn/sn2/addrs.h and find
that SGI IA64 address is composed of
node-id + node offset
If all virtual address have to convert by TLB, then
I think SGI Itanium virtual address have to use
TR register. But Itanium only has 48 DTR and if
we use node-id as part of physics address, then
each node we have to use a DTR, then SGI IA64 system
have no too DTR to convert this address. The efficiency
must be slow for IO address. I do not know if it is
correct. If someone knows, please give me a reply.
Thanks in advance!
Barry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-24 21:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-24 21:29 [Linux-ia64] what about SGI IA64 io address map Jesse Barnes
-- strict thread matches above, loose matches on Subject: below --
2002-06-24 13:13 Barry Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox