From: John Marvin <jsm@udlkern.fc.hp.com>
To: parisc-linux@thepuffingroup.com
Subject: [parisc-linux] Boot error on C200+
Date: Sat, 2 Sep 2000 21:29:57 -0600 (MDT) [thread overview]
Message-ID: <200009030329.VAA17641@udlkern.fc.hp.com> (raw)
Bob Pflederer wrote:
> I see this on C180. It goes away if you modify entry.S to use
> PA2.0-style tlb inserts instead of the PA1.1-style tlb inserts.
> Try the attached patch. It modifies the tlb miss handlers at startup to
> use PA2.0 tlb inserts if you have a PA2.0 cpu. PA-8000 docs claim
> that PA1.1 tlb inserts are not supported, so I suspect we're hitting
> a case that doesn't work.
>
> Would someone who has CVS write access be willing to commit this
> patch? It's the last thing I need to make C180 work.
Please don't anyone do this. I've got another fix in progress. Bob is
correct that we shouldn't be using the PA1.1 inserts. But he was fooled
by redundant code in trap_init(), thinking that we haven't gone virtual
yet. Code in trap_init() sets the iva, but it should be removed (which I
will do). We actually set the iva (and install a small set of mappings)
very early in real/head.S and go virtual before calling start_parisc().
We never run any C code in real mode. Bob's patch means that we would
still run 1.1 inserts for a while, and then it would be patching the tlb
miss handlers WHILE THEY ARE POTENTIALLY BEING USED!
My fix will do a simple 3-4 assembly instruction test for PA2.0 in
head.S, and then install the appropriate iva. This wastes 2K of memory
having two iva's, but is a lot simpler to do in assembly very early
in the boot process. I'll try to get this done by Tuesday morning
(I work throughout the night Monday).
John Marvin
jsm@fc.hp.com
next reply other threads:[~2000-09-03 3:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-03 3:29 John Marvin [this message]
2000-09-05 17:02 ` [parisc-linux] Boot error on C200+ Bob Pflederer
2000-09-06 1:45 ` Ryan Bradetich
-- strict thread matches above, loose matches on Subject: below --
2000-09-02 22:41 Ryan Bradetich
2000-09-03 1:00 ` David Huggins-Daines
2000-09-03 2:26 ` Ryan Bradetich
2000-09-03 5:16 ` David Huggins-Daines
2000-09-03 16:57 ` bame
2000-09-03 2:07 ` Bob Pflederer
2000-09-03 2:29 ` Ryan Bradetich
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=200009030329.VAA17641@udlkern.fc.hp.com \
--to=jsm@udlkern.fc.hp.com \
--cc=parisc-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox