Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@dsl2.external.hp.com>
To: Matthew Wilcox <willy@debian.org>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] rp2470 hang...getting closer
Date: Mon, 21 Oct 2002 15:58:17 -0600	[thread overview]
Message-ID: <20021021215818.EBA7D4829@dsl2.external.hp.com> (raw)
In-Reply-To: Message from Matthew Wilcox <willy@debian.org> of "Mon, 21 Oct 2002 16:26:26 BST." <20021021162626.A1356@parcelfarce.linux.theplanet.co.uk>

Matthew Wilcox wrote:
> So I think we want to change the sti() call to local_irq_enable().

I think we want to remove it all together. Since I don't have a PA2.0
book handy, PA1.1 Arch and Instruction Set Manual, page 5-141 says:
	"... Execution of an RFIR instruction when any of the
	PSW Q, I, or R bits are ones is an undefined operation."

When "handle_interrupts()" is done, execution will return to entry.S
and execute "rfir".  I expect RFIR to put I-bit back the way it was.

And anyone decoding state/insns in the trap/fault handler should read
the next page (5-142):
	"Because this sequence restores the state of the execution pipeline,
	it is possible for software to place the processor in states which
	could not result from the execution of any sequence of insns
	not involving interrupts."

Anyway,  I tried both current CVS and removing local_irq_enable().
Both "hung" in sym2 disk search. :^(
Still looking.

thanks,
grant

  reply	other threads:[~2002-10-21 21:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-13  4:40 [parisc-linux] rp2470 hang...getting closer Grant Grundler
2002-10-13 13:56 ` Thibaut VARENE
2002-10-21  0:57 ` Grant Grundler
2002-10-21  2:21   ` Matthew Wilcox
2002-10-21  3:33     ` Grant Grundler
2002-10-21 14:59 ` Matthew Wilcox
2002-10-21 15:26   ` Matthew Wilcox
2002-10-21 21:58     ` Grant Grundler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-22  0:41 John Marvin
2002-10-23  1:19 ` Grant Grundler

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=20021021215818.EBA7D4829@dsl2.external.hp.com \
    --to=grundler@dsl2.external.hp.com \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=willy@debian.org \
    /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