* Re: [parisc-linux] booting on PA2.0 machines
1999-10-29 4:57 [parisc-linux] booting on PA2.0 machines Alex deVries
@ 1999-10-29 17:36 ` Frank Rowand
0 siblings, 0 replies; 2+ messages in thread
From: Frank Rowand @ 1999-10-29 17:36 UTC (permalink / raw)
To: Alex deVries; +Cc: parisc-linux
Alex deVries wrote:
>
> So I think we've determined that PA2.0 booting problems are related to the
> PDC_BTLB call which isn't implemented in 2.0 processors.
>
> My thought would be to try such a call, and if it fails, then configure
> cache lines in a way specific to 2.0 processors. Am I right?
If the system is a PA 1.1 system then PDC_BLOCK_TLB() should be used.
(PDC_MODEL(Return info), arch_rev reports 1.0, 1.1, or 2.0.) If the
system is a PA 2.0 system then large pages should be specified in the
TLB entries.
> How should we be configuring this?
Just wait for a TLB miss and insert an entry for a very large number of pages
(architected sizes include 4, 16, 64, 256 Kbyte, 1, 4, 16, 64 Mbyte). See
the PA-RISC 2.0 Architecture book by Kane, pp. 3-9 thru 3-14, F-1 thru F-5.
Just as a side note, you can't just insert a block TLB entry and expect it to
exist forever; you have to be able to handle a TLB fault for the address
range and re-insert the entry (or switch to normal entries). See the last
page of the PDC_BLOCK_TLB() description for the explanation of this.
> We've now got some puffins and HP people with 2.0 boxes, so it'd be really
> nice to get these boxes booting.
>
> - Alex
You've just hit the first layer of the onion.
-Frank
^ permalink raw reply [flat|nested] 2+ messages in thread