All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randolph Chung <tausq@debian.org>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: carlos@baldric.uwo.ca, parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Re: Trap handler
Date: Sun, 8 Dec 2002 22:19:13 -0800	[thread overview]
Message-ID: <20021209061913.GM21187@tausq.org> (raw)
In-Reply-To: <20021209051214.GK21187@tausq.org>

> > Here it is.
> 
> well, something is just very broken, even this simple code triggers the
> bug:

and with Grant's help, it's fixed in 2.4.20-pa12 :)

question for willy/jsm, etc though:
the fix has to do with where we should return to after handling an
interruption. in pre-2.4.20 code we used to return to intr_return. Grant
thinks that is incorrect and changed it to intr_restore (basically just
doing the rfi). the -pa12 patch changes it back so it will handle
pending signals. The items that remain not handled are restoring I-bit,
softirqs (and irqstats) and rescheduling. We are not sure if those bits
are needed for interruptions....  can you guys shed some light on this?

thanks,
randolph

  reply	other threads:[~2002-12-09  6:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021208232601.GH21187@tausq.org>
2002-12-08 23:55 ` [parisc-linux] Re: Trap handler John David Anglin
2002-12-09  5:12   ` Randolph Chung
2002-12-09  6:19     ` Randolph Chung [this message]
2002-12-09 12:54       ` Matthew Wilcox
2002-12-09 18:03         ` Grant Grundler
2002-12-09 18:20           ` Matthew Wilcox
2002-12-09 18:41             ` Grant Grundler
2002-12-09 18:55               ` Matthew Wilcox
2002-12-09 16:18       ` John David Anglin
2002-12-09 16:31         ` John David Anglin

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=20021209061913.GM21187@tausq.org \
    --to=tausq@debian.org \
    --cc=carlos@baldric.uwo.ca \
    --cc=dave@hiauly1.hia.nrc.ca \
    --cc=parisc-linux@lists.parisc-linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.