Linux PARISC architecture development
 help / color / mirror / Atom feed
* [hppa-linux] Qn on PA-RISC Page tables and TLB
@ 1999-03-25  7:10 Kumar
  1999-03-25 17:18 ` Grant Grundler
  1999-03-25 20:31 ` Craig Hada
  0 siblings, 2 replies; 7+ messages in thread
From: Kumar @ 1999-03-25  7:10 UTC (permalink / raw)
  To: hppa-linux; +Cc: kumar



PA-RISC Arch 1.1 book says:
On page 3-14:

	Exact form of these tables is s/w convention. 

Q.	If the format is software convention, does that mean
	the fields within TLB slots are not defined by Hardware ?
	Though  the book does seem to indicate what fields are needed
	in a pdir entry. Without knowing exact positions of various
	fields how would TLB entries be updated from pdir entries in
	memory ?

	Other interesting point to note is that PA-RISC does not
	define how many entries in the table etc. Very much unlike
	x86.

-pkd
	

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [hppa-linux] Qn on PA-RISC Page tables and TLB
@ 1999-03-25 15:59 Bjorn Helgaas
  0 siblings, 0 replies; 7+ messages in thread
From: Bjorn Helgaas @ 1999-03-25 15:59 UTC (permalink / raw)
  To: hppa-linux

>	Exact form of these tables is s/w convention. 
>
>Q.	If the format is software convention, does that mean
>	the fields within TLB slots are not defined by Hardware ?

There is no architectural definition of hardware TLB miss handling,
and most PA-RISC processors do not implement it.

On the ones that do support hardware TLB miss handling, the hardware
expects a certain format, and it is essentially the one given in the
examples in the architecture books.  The hardware TLB walker expects
a hash table of PDIR entries (indexed by a function of the space and
offset), and it only looks at the entries in the table.  Hash collisions
are resolved by a linked list, and the hardware does not walk the list;
this is left for the software miss handler.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-03-29 16:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-25  7:10 [hppa-linux] Qn on PA-RISC Page tables and TLB Kumar
1999-03-25 17:18 ` Grant Grundler
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox